41 serverurl.ReplaceAll(
"pmerge=",
"pmerge://");
81 if (path &&
strlen(path) > 0 && path[0] ==
'/') {
85 Error(
"UploadAndReset",
"Could not contact the server %s\n", path);
94 if (host == 0 || host[0] ==
'\0') {
102 Error(
"UploadAndReset",
"Could not contact the server %s:%d\n", host, port);
113 if (
n < 0 && kind != 0 )
115 Error(
"UploadAndReset",
"Unexpected server message: kind=%d idx=%d\n",kind,
fServerIdx);
121 if (
n < 0 && kind != 1 )
123 Fatal(
"UploadAndReset",
"Unexpected server message: kind=%d status=%d\n",kind,
fServerVersion);
139 Error(
"UploadAndReset",
"Upload to the merging server failed with %d\n",error);
192 Error(
"Write const",
"A const TFile object should not be saved. We try to proceed anyway.");
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 Warning(const char *location, const char *msgfmt,...)
Use this function in warning situations.
void Fatal(const char *location, const char *msgfmt,...)
Use this function in case of a fatal error. It will abort the program.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char filename
Array of chars or bytes (8 bits per element).
void Set(Int_t n) override
Set size of this array to n chars.
void WriteLong64(Long64_t l) override
void WriteTString(const TString &s) override
Write TString to TBuffer.
void WriteInt(Int_t i) override
Bool_t fWritable
True if directory is writable.
virtual void Close(Option_t *option="")
Delete all objects from memory and directory structure itself.
virtual Int_t Write(const char *=nullptr, Int_t=0, Int_t=0) override
Write this object to the current directory.
TArrayC * fClassIndex
!Index of TStreamerInfo classes written to this file
virtual Long64_t GetEND() const
virtual void WriteStreamerInfo()
Write the list of TStreamerInfo as a single object in this file The class Streamer description for al...
A TMemFile is like a normal TFile except that it reads and writes only from memory.
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.
static void EnableSchemaEvolutionForAll(Bool_t enable=kTRUE)
Static function enabling or disabling the automatic schema evolution.
void Reset() override
Reset the message buffer so we can use (i.e. fill) it again.
const char * GetName() const override
Returns name of object.
~TParallelMergingFile()
Destructor.
TParallelMergingFile(const char *filename, Option_t *option="", const char *ftitle="", Int_t compress=ROOT::RCompressionSetting::EDefaults::kUseCompiledDefault)
Constructor.
void WriteStreamerInfo() override
Write the list of TStreamerInfo as a single object in this file The class Streamer description for al...
void Close(Option_t *option="") override
Close a file.
Int_t Write(const char *name=nullptr, Int_t opt=0, Int_t bufsiz=0) override
Write memory objects to this file and upload them to the parallel merge server.
Bool_t UploadAndReset()
Upload the current file data to the merging server.
virtual Int_t Recv(TMessage *&mess)
Receive a TMessage object.
virtual void Close(Option_t *opt="")
Close the socket.
virtual Bool_t IsValid() const
virtual Int_t Send(const TMessage &mess)
Send a TMessage object.
This class represents a WWW compatible URL.
const char * GetFile() const
const char * GetHost() const
const char * GetOptions() const