A++ » INCLUDE » TTreeCloner

class TTreeCloner


TTreeCloner

Class implementing or helping  the various TTree cloning method


Function Members (Methods)

public:
virtual~TTreeCloner()
static TClass*Class()
voidCloseOutWriteBaskets()
voidCollectBaskets()
UInt_tCollectBranches()
UInt_tCollectBranches(TBranch* from, TBranch* to)
UInt_tCollectBranches(TObjArray* from, TObjArray* to)
voidCopyMemoryBaskets()
voidCopyProcessIds()
voidCopyStreamerInfos()
Bool_tExec()
const char*GetWarning() const
virtual TClass*IsA() const
Bool_tIsValid()
Bool_tNeedConversion()
voidSetCacheSize(Int_t size)
virtual voidShowMembers(TMemberInspector& insp) const
voidSortBaskets()
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
TTreeCloner(TTree* from, TTree* to, Option_t* method, UInt_t options = kNone)
voidWriteBaskets()

Data Members

public:
static TTreeCloner::EClonerOptionskIgnoreMissingTopLevel
static TTreeCloner::EClonerOptionskNoFileCache
static TTreeCloner::EClonerOptionskNoWarnings
static TTreeCloner::EClonerOptionskNone
private:
UInt_t*fBasketBranchNum[fMaxBaskets] Index of the branch(es) of the basket.
Long64_t*fBasketEntry[fMaxBaskets] list of basket start entries.
UInt_t*fBasketIndex[fMaxBaskets] ordered list of basket indices to be written.
UInt_t*fBasketNum[fMaxBaskets] index of the basket within the branch.
Long64_t*fBasketSeek[fMaxBaskets] list of basket position to be read.
Int_tfCacheSizeRequested size of the file cache
UInt_tfCloneMethodIndicates which cloning method was selected.
TFileCacheRead*fFileCacheFile Cache used to reduce the number of individual reads
TObjArrayfFromBranches
TTree*fFromTree
Bool_tfIsValid
UInt_tfMaxBaskets
Option_t*fMethod
Bool_tfNeedConversionTrue if the fast merge is not possible but a slow merge might possible.
UInt_tfOptions
UShort_tfPidOffsetOffset to be added to the copied key/basket.
TFileCacheRead*fPrevCacheCache that set before the TTreeCloner ctor for the 'from' TTree if any.
TObjArrayfToBranches
Long64_tfToStartEntriesNumber of entries in the target tree before any addition.
TTree*fToTree
TStringfWarningMsgText of the error message lead to an 'invalid' state
static TTreeCloner::ECloneMethodkDefault
static TTreeCloner::ECloneMethodkSortBasketsByBranch
static TTreeCloner::ECloneMethodkSortBasketsByEntry
static TTreeCloner::ECloneMethodkSortBasketsByOffset

Class Charts

Inheritance Chart:
TTreeCloner

Function documentation

void ImportClusterRanges()
void CreateCache()
UInt_t FillCache(UInt_t from)
void RestoreCache()
TTreeCloner(const TTreeCloner& )
TTreeCloner & operator=(const TTreeCloner& )
TTreeCloner(TTree* from, TTree* to, Option_t* method, UInt_t options = kNone)
virtual ~TTreeCloner()
void CloseOutWriteBaskets()
UInt_t CollectBranches(TBranch* from, TBranch* to)
UInt_t CollectBranches(TObjArray* from, TObjArray* to)
UInt_t CollectBranches()
void CollectBaskets()
void CopyMemoryBaskets()
void CopyStreamerInfos()
void CopyProcessIds()
const char * GetWarning() const
{ return fWarningMsg; }
Bool_t Exec()
Bool_t IsValid()
{ return fIsValid; }
Bool_t NeedConversion()
{ return fNeedConversion; }
void SetCacheSize(Int_t size)
void SortBaskets()
void WriteBaskets()