39      Error(
"TBufferMerger", 
"cannot write to output file");
 
 
   47      if (!
f.expired()) 
Fatal(
"TBufferMerger", 
" TBufferMergerFiles must be destroyed before the server");
 
 
   60   gROOT->GetListOfFiles()->Remove(
f.get());
 
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
void Error(const char *location, const char *msgfmt,...)
Use this function in case an error occurred.
 
void Fatal(const char *location, const char *msgfmt,...)
Use this function in case of a fatal error. It will abort the program.
 
R__EXTERN TVirtualMutex * gROOTMutex
 
#define R__LOCKGUARD(mutex)
 
A TBufferMergerFile is similar to a TMemFile, but when data is written to it, it is appended to the T...
 
void Merge(TBufferMergerFile *memfile)
 
std::vector< std::weak_ptr< TBufferMergerFile > > fAttachedFiles
 
virtual ~TBufferMerger()
Destructor.
 
std::shared_ptr< TBufferMergerFile > GetFile()
Returns a TBufferMergerFile to which data can be written.
 
const char * GetMergeOptions()
Returns the current merge options.
 
TBufferMerger()
TBufferMerger has no default constructor.
 
void SetMergeOptions(const TString &options)
Sets the merge options.
 
void Init(std::unique_ptr< TFile >)
 
TDirectory::TContext keeps track and restore the current directory.
 
virtual Bool_t OutputFile(const char *url, Bool_t force)
Open merger output file.
 
TFile * GetOutputFile() const
 
virtual Bool_t AddFile(TFile *source, Bool_t own, Bool_t cpProgress)
Add the TFile to this file merger and give ownership of the TFile to this object (unless kFALSE is re...
 
const char * GetMergeOptions()
 
@ kAll
Merge all type of objects (default)
 
@ kIncremental
Merge the input file with the content of the output file (if already existing).
 
@ kKeepCompression
Keep compression level unchanged for each input files.
 
@ kDelayWrite
Delay the TFile write (to reduce the number of write when reusing the file)
 
void SetMergeOptions(const TString &options)
 
virtual Bool_t PartialMerge(Int_t type=kAll|kIncremental)
Merge the files.
 
virtual void Reset()
Reset merger file list.
 
A ROOT file is an on-disk file, usually with extension .root, that stores objects in a file-system-li...
 
static TFile * Open(const char *name, Option_t *option="", const char *ftitle="", Int_t compress=ROOT::RCompressionSetting::EDefaults::kUseCompiledDefault, Int_t netopt=0)
Create / open a file.
 
@ kOverwrite
overwrite existing object with same name
 
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...