11 #ifndef ROOT_TFriendElement 12 #define ROOT_TFriendElement TTree * fParentTree
! pointer to the parent TTree
TTree * fTree
! pointer to the TTree described by this element
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...
virtual TTree * GetParentTree() const
#define ClassDef(name, id)
The TNamed class is the base class for all named ROOT classes.
TFriendElement & operator=(const TFriendElement &)=delete
TFriendElement()
Default constructor for a friend element.
TString fTreeName
name of the friend TTree
virtual TTree * Connect()
Connect file and return TTree.
The ROOT global object gROOT contains a list of all defined classes.
virtual const char * GetTreeName() const
virtual void ls(Option_t *option="") const
List this friend element.
virtual ~TFriendElement()
Destructor. Disconnect from the owning tree if needed.
TFile * fFile
! pointer to the file containing the friend TTree
virtual TTree * DisConnect()
DisConnect file and TTree.
virtual TFile * GetFile()
Return pointer to TFile containing this friend TTree.
Bool_t fOwnFile
true if file is managed by this class
A TFriendElement TF describes a TTree object TF in a file.
A TTree object has a header with a name and a title.
const char * Data() const