class TTreeCloner


TTreeCloner

Class implementing or helping  the various TTree cloning method


Function Members (Methods)

public:
TTreeCloner(TTree* from, TTree* to, Option_t* method)
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()
virtual TClass*IsA() const
Bool_tIsValid()
virtual voidShowMembers(TMemberInspector& insp, char* parent)
voidSortBaskets()
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
voidWriteBaskets()

Data Members

public:
enum ECloneMethod { kDefault
kSortBasketsByBranch
kSortBasketsByOffset
kSortBasketsByEntry
};
private:
UInt_t*fBasketBranchNum[fMaxBaskets] Index of the branch(es) of the basket.
Long64_t*fBasketEntry[fMaxBaskets] list of basket start entries.
Int_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.
UInt_tfCloneMethodIndicates which cloning method was selected.
TObjArrayfFromBranches
TTree*fFromTree
Bool_tfIsValid
UInt_tfMaxBaskets
Option_t*fMethod
UShort_tfPidOffsetOffset to be added to the copied key/basket.
TObjArrayfToBranches
Long64_tfToStartEntriesNumber of entries in the target tree before any addition.
TTree*fToTree

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TTreeCloner(TTree* from, TTree* to, Option_t* method)
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()
Bool_t Exec()
Bool_t IsValid()
{ return fIsValid; }
void SortBaskets()
void WriteBaskets()

Author: Philippe Canal 07/11/2005
Last update: root/tree:$Id: TTreeCloner.h 20882 2007-11-19 11:31:26Z rdm $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.