|
ROOT
Reference Guide |
|
Go to the documentation of this file.
12 #ifndef ROOT_TTreeCloner
13 #define ROOT_TTreeCloner
Bool_t operator()(UInt_t i1, UInt_t i2)
UInt_t * fBasketBranchNum
[fMaxBaskets] Index of the branch(es) of the basket.
CompareEntry(TTreeCloner *obj)
virtual ~TTreeCloner()
TTreeCloner destructor.
void CollectBaskets()
Collect the information about the on-file basket that need to be copied.
Bool_t fNeedConversion
True if the fast merge is not possible but a slow merge might possible.
TTreeCloner(const TTreeCloner &)=delete
TTreeCloner & operator=(const TTreeCloner &)=delete
void CopyMemoryBaskets()
Transfer the basket from the input file to the output file.
const char * GetWarning() const
A TTree represents a columnar dataset.
void RestoreCache()
Restore the TFileCacheRead to its previous value.
UInt_t * fBasketIndex
[fMaxBaskets] ordered list of basket indices to be written.
void ImportClusterRanges()
Set the entries and import the cluster range of the.
TFileCacheRead * fPrevCache
Cache that set before the TTreeCloner ctor for the 'from' TTree if any.
Long64_t * fBasketEntry
[fMaxBaskets] list of basket start entries.
void CreateCache()
Create a TFileCacheRead if it was requested.
Long64_t fToStartEntries
Number of entries in the target tree before any addition.
A TTree is a list of TBranches.
Bool_t operator()(UInt_t i1, UInt_t i2)
TFileCacheRead * fFileCache
File Cache used to reduce the number of individual reads.
Class implementing or helping the various TTree cloning method.
void SortBaskets()
Sort the basket according to the user request.
UInt_t FillCache(UInt_t from)
Fill the file cache with the next set of basket.
UInt_t fCloneMethod
Indicates which cloning method was selected.
void CloseOutWriteBaskets()
Before we can start adding new basket, we need to flush to disk the partially filled baskets (the Wri...
A cache when reading files over the network.
void CopyStreamerInfos()
Make sure that all the needed TStreamerInfo are present in the output file.
TString fWarningMsg
Text of the error message lead to an 'invalid' state.
Long64_t * fBasketSeek
[fMaxBaskets] list of basket position to be read.
CompareSeek(TTreeCloner *obj)
#define ClassDef(name, id)
void CopyProcessIds()
Make sure that all the needed TStreamerInfo are present in the output file.
Int_t fCacheSize
Requested size of the file cache.
void WriteBaskets()
Transfer the basket from the input file to the output file.
UShort_t fPidOffset
Offset to be added to the copied key/basket.
UInt_t CollectBranches()
Fill the array of branches, matching the branches of the 'from' and 'to' TTrees Returns the total num...
Bool_t Exec()
Execute the cloning.
void SetCacheSize(Int_t size)
Set the TFile cache size to be used.
UInt_t * fBasketNum
[fMaxBaskets] index of the basket within the branch.