11 #ifndef ROOT_TFriendElement
12 #define ROOT_TFriendElement
TTree * fTree
pointer to the parent TTree
virtual TTree * GetTree()
Return pointer to friend TTree.
friend void TFriendElement__SetTree(TTree *tree, TList *frlist)
Set the fTree member for all friend elements.
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format...
static const char * filename()
const char * Data() const
#define ClassDef(name, id)
virtual const char * GetTreeName() const
The TNamed class is the base class for all named ROOT classes.
TString fTreeName
pointer to the file containing the friend TTree
virtual TTree * GetParentTree() const
virtual TTree * Connect()
Connect file and return TTree.
TFriendElement & operator=(const TFriendElement &)
Equal operator.
The ROOT global object gROOT contains a list of all defined classes.
virtual ~TFriendElement()
Destructor. Disconnect from the owning tree if needed.
TFile * fFile
pointer to the TTree described by this element
virtual TTree * DisConnect()
DisConnect file and TTree.
virtual void ls(Option_t *option="") const
List this friend element.
virtual TFile * GetFile()
Return pointer to TFile containing this friend TTree.
A TFriendElement TF describes a TTree object TF in a file.
A TTree object has a header with a name and a title.