ROOT » TREE » TREEPLAYER » ROOT::TBranchProxyDirector

class ROOT::TBranchProxyDirector


TBranchProxyDirector

This class is used to 'drive' and hold a serie of TBranchProxy objects
which represent and give access to the content of TTree object.
This is intended to be used as part of a generate Selector class
which will hold the directory and its associate


Function Members (Methods)

public:
~TBranchProxyDirector()
voidAttach(ROOT::TBranchProxy* p)
voidAttach(ROOT::TFriendProxy* f)
TH1F*CreateHistogram(const char* options)
Long64_tGetReadEntry() const
TTree*GetTree() const
voidSetReadEntry(Long64_t entry)
TTree*SetTree(TTree* newtree)
ROOT::TBranchProxyDirectorTBranchProxyDirector(TTree* tree, Long64_t i)
ROOT::TBranchProxyDirectorTBranchProxyDirector(TTree* tree, Int_t i)
private:
ROOT::TBranchProxyDirector&operator=(const ROOT::TBranchProxyDirector&)
ROOT::TBranchProxyDirectorTBranchProxyDirector(const ROOT::TBranchProxyDirector&)

Data Members

private:
list<ROOT::TBranchProxy*>fDirected
Long64_tfEntryEntry currently being read.
list<ROOT::TFriendProxy*>fFriends
TTree*fTreeTTree we are currently looking at.

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TBranchProxyDirector(TTree* tree, Long64_t i)
 Simple constructor
TBranchProxyDirector(TTree* tree, Int_t i)
 cint has a problem casting int to long long
 Simple constructor
void Attach(TBranchProxy* p)
void Attach(TFriendProxy* p)
TH1F* CreateHistogram(const char* options)
 Create a temporary 1D histogram.
void SetReadEntry(Long64_t entry)
TTree* SetTree(TTree* newtree)
TBranchProxyDirector(const ROOT::TBranchProxyDirector& )
{;}
TBranchProxyDirector& operator=(const ROOT::TBranchProxyDirector& )
{return *this;}
Long64_t GetReadEntry() const
{ return fEntry; }
TTree* GetTree() const
 void   Print();
{ return fTree; }