Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Internal::TBranchProxyDirector Class Reference

Definition at line 35 of file TBranchProxyDirector.h.

Public Member Functions

 TBranchProxyDirector (TTree *tree, Int_t i)
 Simple constructor.
 
 TBranchProxyDirector (TTree *tree, Long64_t i)
 Simple constructor.
 
void Attach (Detail::TBranchProxy *p)
 Attach a TBranchProxy object to this director.
 
void Attach (TFriendProxy *f)
 Attach a TFriendProxy object to this director.
 
TH1FCreateHistogram (const char *options)
 Create a temporary 1D histogram.
 
Long64_t GetReadEntry () const
 Return the current 'local' entry number; i.e.
 
TTreeGetTree () const
 
Bool_t Notify ()
 
void SetReadEntry (Long64_t entry)
 Move to a new entry to read entry is the 'local' entry number; i.e.
 
TTreeSetTree (TTree *newtree)
 Set the BranchProxy to be looking at a new tree.
 

Private Member Functions

 TBranchProxyDirector (const TBranchProxyDirector &)
 
TBranchProxyDirectoroperator= (const TBranchProxyDirector &)
 

Private Attributes

std::list< Detail::TBranchProxy * > fDirected
 
Long64_t fEntry
 Entry currently being read (in the local TTree rather than the TChain)
 
std::vector< TFriendProxy * > fFriends
 
TTreefTree
 TTree we are currently looking at.
 

#include <TBranchProxyDirector.h>

Constructor & Destructor Documentation

◆ TBranchProxyDirector() [1/3]

ROOT::Internal::TBranchProxyDirector::TBranchProxyDirector ( const TBranchProxyDirector )
inlineprivate

Definition at line 44 of file TBranchProxyDirector.h.

◆ TBranchProxyDirector() [2/3]

TBranchProxyDirector::TBranchProxyDirector ( TTree tree,
Long64_t  i 
)

Simple constructor.

Definition at line 51 of file TBranchProxyDirector.cxx.

◆ TBranchProxyDirector() [3/3]

TBranchProxyDirector::TBranchProxyDirector ( TTree tree,
Int_t  i 
)

Simple constructor.

Definition at line 60 of file TBranchProxyDirector.cxx.

Member Function Documentation

◆ Attach() [1/2]

void TBranchProxyDirector::Attach ( Detail::TBranchProxy p)

Attach a TBranchProxy object to this director.

The director just 'remembers' this BranchProxy and does not own it. It will be use to apply Tree wide operation (like reseting).

Definition at line 72 of file TBranchProxyDirector.cxx.

◆ Attach() [2/2]

void TBranchProxyDirector::Attach ( TFriendProxy p)

Attach a TFriendProxy object to this director.

The director just 'remembers' this BranchProxy and does not own it. It will be use to apply Tree wide operation (like reseting).

Definition at line 82 of file TBranchProxyDirector.cxx.

◆ CreateHistogram()

TH1F * TBranchProxyDirector::CreateHistogram ( const char *  options)

Create a temporary 1D histogram.

Definition at line 90 of file TBranchProxyDirector.cxx.

◆ GetReadEntry()

Long64_t ROOT::Internal::TBranchProxyDirector::GetReadEntry ( ) const
inline

Return the current 'local' entry number; i.e.

in the 'local' TTree rather than the TChain. This value will be passed directly to TBranch::GetEntry.

Definition at line 58 of file TBranchProxyDirector.h.

◆ GetTree()

TTree * ROOT::Internal::TBranchProxyDirector::GetTree ( ) const
inline

Definition at line 60 of file TBranchProxyDirector.h.

◆ Notify()

Bool_t TBranchProxyDirector::Notify ( )

Definition at line 152 of file TBranchProxyDirector.cxx.

◆ operator=()

TBranchProxyDirector & ROOT::Internal::TBranchProxyDirector::operator= ( const TBranchProxyDirector )
inlineprivate

Definition at line 45 of file TBranchProxyDirector.h.

◆ SetReadEntry()

void ROOT::Internal::TBranchProxyDirector::SetReadEntry ( Long64_t  entry)
inline

Move to a new entry to read entry is the 'local' entry number; i.e.

in the 'local' TTree rather than the TChain. This value will be passed directly to TBranch::GetEntry.

Definition at line 66 of file TBranchProxyDirector.h.

◆ SetTree()

TTree * TBranchProxyDirector::SetTree ( TTree newtree)

Set the BranchProxy to be looking at a new tree.

Reset all. Return the old tree.

Definition at line 142 of file TBranchProxyDirector.cxx.

Member Data Documentation

◆ fDirected

std::list<Detail::TBranchProxy*> ROOT::Internal::TBranchProxyDirector::fDirected
private

Definition at line 41 of file TBranchProxyDirector.h.

◆ fEntry

Long64_t ROOT::Internal::TBranchProxyDirector::fEntry
private

Entry currently being read (in the local TTree rather than the TChain)

Definition at line 39 of file TBranchProxyDirector.h.

◆ fFriends

std::vector<TFriendProxy*> ROOT::Internal::TBranchProxyDirector::fFriends
private

Definition at line 42 of file TBranchProxyDirector.h.

◆ fTree

TTree* ROOT::Internal::TBranchProxyDirector::fTree
private

TTree we are currently looking at.

Definition at line 38 of file TBranchProxyDirector.h.

Libraries for ROOT::Internal::TBranchProxyDirector:

The documentation for this class was generated from the following files: