12 #ifndef ROOT_TProofOutputFile 13 #define ROOT_TProofOutputFile 69 void Init(
const char *path,
const char *dsname);
71 void SetDir(
const char* dir,
Bool_t raw =
kFALSE) {
if (raw) { fRawDir = dir; }
else { fDir = dir; } }
77 void Unlink(
const char *path);
88 TProofOutputFile() : fDir(), fRawDir(), fFileName(), fOptionsAnchor(), fOutputFileName(),
89 fWorkerOrdinal(), fLocalHost(), fIsLocal(
kFALSE), fMerged(
kFALSE),
91 fDataSet(0), fMerger(0) { }
92 TProofOutputFile(
const char *path,
const char *option =
"M",
const char *dsname = 0);
Internal class steering processing in PROOF.
void SetWorkerOrdinal(const char *ordinal)
UInt_t GetTypeOpt() const
void SetDir(const char *dir, Bool_t raw=kFALSE)
void NotifyError(const char *errmsg)
Notify error message.
Bool_t TestBit(UInt_t f) const
Bool_t IsRegister() const
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format...
Int_t AdoptFile(TFile *f)
Adopt a file already open.
const char * GetOptionsAnchor() const
ERunType GetRunType() const
static Int_t AssertDir(const char *dirpath)
Assert directory path 'dirpath', with the ownership of the last already existing subpath.
void ResetFileCollection()
const char * GetOutputFileName() const
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
TFile * OpenFile(const char *opt)
Open the file using the unique temporary name.
const char * GetFileName() const
TProofOutputFile & operator=(const TProofOutputFile &)
#define ClassDef(name, id)
The TNamed class is the base class for all named ROOT classes.
void SetOutputFileName(const char *name)
Set the name of the output file; in the form of an Url.
const char * GetDir(Bool_t raw=kFALSE) const
Bool_t IsRetrieve() const
void SetFileName(const char *name)
void Print(Option_t *option="") const
Dump the class content.
TFileMerger * GetFileMerger(Bool_t local=kFALSE)
Get instance of the file merger to be used in 'merge' mode.
const char * GetWorkerOrdinal() const
This class provides file copy and merging services.
Collection abstract base class.
void SetMerged(Bool_t merged=kTRUE)
Class to steer the merging of files produced on the workers.
void Unlink(const char *path)
Unlink path.
Long64_t Merge(TCollection *list)
Merge objects from the list into this object.
virtual ~TProofOutputFile()
Main destructor.
This class controls a Parallel ROOT Facility, PROOF, cluster.
void SetRetrieve(Bool_t on=kTRUE)
Class that contains a list of TFileInfo's and accumulated meta data information about its entries...
TFileCollection * GetFileCollection()
Get instance of the file collection to be used in 'dataset' mode.
TFileCollection * fDataSet
void Init(const char *path, const char *dsname)
Initializer. Called by all constructors.
const char * GetLocalHost() const
void AddFile(TFileMerger *merger, const char *path)
Add file to merger, checking the result.