#ifndef ROO_GRAPH_EDGE
#define ROO_GRAPH_EDGE
#include "RooGraphNode.h"
#include "TObject.h"
class RooGraphEdge : public TObject
{
private:
RooGraphNode *fn1;
RooGraphNode *fn2;
TString fes;
TString ffirstnode;
TString fsecondnode;
public:
RooGraphEdge();
RooGraphEdge(RooGraphNode *n1, RooGraphNode *n2);
RooGraphEdge(RooGraphNode *n1, RooGraphNode *n2, TString es);
void print();
void read(ifstream &file);
void Set1stNode(RooGraphNode *n1);
void Set2ndNode(RooGraphNode *n2);
void SetType(TString es) { fes = es; }
void Connect();
void Connect(int color);
void Connect(RooGraphNode *n1, RooGraphNode *n2);
double GetInitialDistance();
TObject *GetType(TList *padlist);
const char* Get1stNode() const { return ffirstnode.Data(); }
const char* Get2ndNode() const { return fsecondnode.Data(); }
void SwitchNodes();
TString GetStyle() const { return fes; }
double GetX1();
double GetY1();
double GetX2();
double GetY2();
RooGraphNode *GetStart() { return fn1; }
RooGraphNode *GetEnd() { return fn2; }
ClassDef(RooGraphEdge,2)
};
#endif
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.