library: libRooFit #include "RooGraphEdge.h" |
RooGraphEdge
class description - header file - source file - inheritance tree (.pdf)
public:
RooGraphEdge()
RooGraphEdge(RooGraphNode* n1, RooGraphNode* n2)
RooGraphEdge(RooGraphNode* n1, RooGraphNode* n2, TString es)
RooGraphEdge(const RooGraphEdge&)
~RooGraphEdge()
static TClass* Class()
void Connect()
void Connect(int color)
void Connect(RooGraphNode* n1, RooGraphNode* n2)
const char* Get1stNode() const
const char* Get2ndNode() const
RooGraphNode* GetEnd()
double GetInitialDistance()
RooGraphNode* GetStart()
TString GetStyle() const
TObject* GetType(TList* padlist)
double GetX1()
double GetX2()
double GetY1()
double GetY2()
virtual TClass* IsA() const
RooGraphEdge& operator=(const RooGraphEdge&)
void print()
void read(ifstream& file)
void Set1stNode(RooGraphNode* n1)
void Set2ndNode(RooGraphNode* n2)
void SetType(TString es)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
void SwitchNodes()
private:
RooGraphNode* fn1 nodes the edge
RooGraphNode* fn2 connects together
TString fes
TString ffirstnode
TString fsecondnode
RooGraphEdge:
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.
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 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
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
Last update: Tue Jul 11 11:45:43 2006
Copyright (c) 2000-2005, Regents of the University of California *
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.