library: libTree #include "TTreeCloner.h" |
TTreeCloner
class description - header file - source file - inheritance tree (.pdf)
public:
TTreeCloner(TTree* from, TTree* to, Option_t* method)
TTreeCloner(const TTreeCloner&)
virtual ~TTreeCloner()
static TClass* Class()
void CloseOutWriteBaskets()
void CollectBaskets()
UInt_t CollectBranches(TBranch* from, TBranch* to)
UInt_t CollectBranches(TObjArray* from, TObjArray* to)
UInt_t CollectBranches()
void CopyMemoryBaskets()
void CopyProcessIds()
void CopyStreamerInfos()
Bool_t Exec()
virtual TClass* IsA() const
Bool_t IsValid()
virtual void ShowMembers(TMemberInspector& insp, char* parent)
void SortBaskets()
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
void WriteBaskets()
private:
Bool_t fIsValid
TTree* fFromTree
TTree* fToTree
Option_t* fMethod
TObjArray fFromBranches
TObjArray fToBranches
UInt_t fMaxBaskets
UInt_t* fBasketBranchNum [fMaxBaskets] Index of the branch(es) of the basket.
UInt_t* fBasketNum [fMaxBaskets] index of the basket within the branch.
Long64_t* fBasketSeek [fMaxBaskets] list of basket position to be read.
Int_t* fBasketIndex [fMaxBaskets] ordered list of basket indices to be written.
UShort_t fPidOffset Offset to be added to the copied key/basket.
UInt_t fCloneMethod Indicates which cloning method was selected.
Long64_t fToStartEntries Number of entries in the target tree before any addition.
public:
static const TTreeCloner::ECloneMethod kDefault
static const TTreeCloner::ECloneMethod kSortBasketsByBranch
static const TTreeCloner::ECloneMethod kSortBasketsByOffset