Docs | All | Real | Category | PDF | DataSet | Plot | Container | Misc | Aux | User |
RooGraphEdgeclass description - source file - inheritance tree (.pdf) class RooGraphEdge : public TObject
public: Data Membersprivate: Class DescriptionRooGraphEdge: The edge class is a subset of the node class and an edge can only be made if there are two nodes to connect it to. It is used to show how the nodes depend on each other, and to help display the topology of the graph. They are also necessary for finding the graph lenght for the springs. RooGraphEdge() Default constructor for an edge RooGraphEdge(RooGraphNode *n1, RooGraphNode *n2) Edge standard constructor with default edge type RooGraphEdge(RooGraphNode *n1, RooGraphNode *n2, TString es) Edge standard constructor void print() prints the names of the nodes the edge is connected to to the screen void read(ifstream &file) gets the information needed to draw an edge from a file of a special format void Set1stNode(RooGraphNode *n1) sets the first node for the edge void Set2ndNode(RooGraphNode *n2) sets the second node for the edge void Connect() draw the edge to the canvas in the form of either a line, or arrow void Connect(int color) draws the egde to the canvas with the given color void Connect(RooGraphNode *n1, RooGraphNode *n2) draws the edge to the screen with the given imput nodes double GetInitialDistance() Returns the length of the edge TObject* GetType(TList *padlist) returns the object that represents the edge on the canvas double GetX1() returns the value for x1 double GetY1() returns the value for y1 double GetX2() returns the value for x2 double GetY2() returns the value for y2 void SwitchNodes() switches the nodes of the edge Inline Functionsvoid ~RooGraphEdge() void SetType(TString es) const char* Get1stNode() const const char* Get2ndNode() const TString GetStyle() const RooGraphNode* GetStart() RooGraphNode* GetEnd() TClass* Class() TClass* IsA() const void ShowMembers(TMemberInspector& insp, char* parent) void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) RooGraphEdge RooGraphEdge(const RooGraphEdge&) RooGraphEdge& operator=(const RooGraphEdge&)
|
Page maintained by Wouter Verkerke and David Kirkby |