19 :
TMemFile(
m.fMerger.GetOutputFile()->GetName(),
"RECREATE",
"",
20 m.fMerger.GetOutputFile()->GetCompressionSettings()),
TBufferMergerFile()
TBufferMergerFile has no default constructor.
Int_t Write(const char *name=nullptr, Int_t opt=0, Int_t bufsize=0) override
Write data into a TBufferFile and append it to TBufferMerger.
~TBufferMergerFile() override
Destructor.
TBufferMerger is a class to facilitate writing data in parallel from multiple threads,...
Bool_t GetNotrees() const
Returns whether the file has been marked as not containing any TTree objects and thus that steps that...
bool TryMerge(TBufferMergerFile *memfile)
void Push(TBufferFile *buffer)
Bool_t GetCompressTemporaryKeys() const
Returns whether to compressed the TKey in the TMemFile for the object held by the TDirectories.
The concrete implementation of TBuffer for writing/reading to/from a ROOT file or socket.
void SetReadMode()
Set buffer in read mode.
virtual Int_t Write(const char *=nullptr, Int_t=0, Int_t=0) override
Write this object to the current directory.
virtual void SetCompressionLevel(Int_t level=ROOT::RCompressionSetting::ELevel::kUseMin)
See comments for function SetCompressionSettings.
Int_t GetCompressionLevel() const
A TMemFile is like a normal TFile except that it reads and writes only from memory.
Long64_t GetSize() const override
Return the current size of the memory file.
virtual Long64_t CopyTo(void *to, Long64_t maxsize) const
Copy the binary representation of the TMemFile into the memory area starting at 'to' and of length at...
void ResetAfterMerge(TFileMergeInfo *) override
Wipe all the data from the permanent buffer but keep, the in-memory object alive.
@ kOnlyPrepStep
Used to request that the class specific implementation of TObject::Write just prepare the objects to ...
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.