12 #ifndef ROOT_TTreeCloner
13 #define ROOT_TTreeCloner
23 #ifndef ROOT_TObjArray
TTreeCloner(const TTreeCloner &)=delete
void ImportClusterRanges()
Set the entries and import the cluster range of the.
void RestoreCache()
Restore the TFileCacheRead to its previous value.
A cache when reading files over the network.
void WriteBaskets()
Transfer the basket from the input file to the output file.
CompareEntry(TTreeCloner *obj)
TTreeCloner & operator=(const TTreeCloner &)=delete
void CloseOutWriteBaskets()
Before we can start adding new basket, we need to flush to disk the partially filled baskets (the Wri...
void SortBaskets()
Sort the basket according to the user request.
TFileCacheRead * fPrevCache
void CopyProcessIds()
Make sure that all the needed TStreamerInfo are present in the output file.
void CopyStreamerInfos()
Make sure that all the needed TStreamerInfo are present in the output file.
Bool_t operator()(UInt_t i1, UInt_t i2)
void CreateCache()
Create a TFileCacheRead if it was requested.
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.
Bool_t operator()(UInt_t i1, UInt_t i2)
UInt_t FillCache(UInt_t from)
Fill the file cache with the next set of basket.
const char * GetWarning() const
TFileCacheRead * fFileCache
void SetCacheSize(Int_t size)
Set the TFile cache size to be used.
UInt_t * fBasketBranchNum
Class implementing or helping the various TTree cloning method.
A TTree object has a header with a name and a title.
A TTree is a list of TBranches.
CompareSeek(TTreeCloner *obj)
virtual ~TTreeCloner()
TTreeCloner destructor.
void CopyMemoryBaskets()
Transfer the basket from the input file to the output file.
void CollectBaskets()
Collect the information about the on-file basket that need to be copied.