#include <TProofOutputFile.h>
Inheritance diagram for TProofOutputFile:
Public Types | |
enum | ERunType |
enum | ETypeOpt |
enum | ERunType |
enum | ETypeOpt |
Public Member Functions | |
TProofOutputFile () | |
TProofOutputFile (const char *path, const char *option="M", const char *dsname=0) | |
TProofOutputFile (const char *path, ERunType type, UInt_t opt=kRemote, const char *dsname=0) | |
virtual | ~TProofOutputFile () |
const char * | GetDir (Bool_t raw=kFALSE) const |
TFileCollection * | GetFileCollection () |
TFileMerger * | GetFileMerger (Bool_t local=kFALSE) |
const char * | GetFileName () const |
const char * | GetLocalHost () const |
const char * | GetOptionsAnchor () const |
const char * | GetOutputFileName () const |
const char * | GetWorkerOrdinal () const |
ERunType | GetRunType () const |
UInt_t | GetTypeOpt () const |
Bool_t | IsMerge () const |
Bool_t | IsMerged () const |
Bool_t | IsRegister () const |
Int_t | AdoptFile (TFile *f) |
TFile * | OpenFile (const char *opt) |
Long64_t | Merge (TCollection *list) |
void | Print (Option_t *option="") const |
void | SetOutputFileName (const char *name) |
void | ResetFileCollection () |
TProofOutputFile () | |
TProofOutputFile (const char *path, const char *option="M", const char *dsname=0) | |
TProofOutputFile (const char *path, ERunType type, UInt_t opt=kRemote, const char *dsname=0) | |
virtual | ~TProofOutputFile () |
const char * | GetDir (Bool_t raw=kFALSE) const |
TFileCollection * | GetFileCollection () |
TFileMerger * | GetFileMerger (Bool_t local=kFALSE) |
const char * | GetFileName () const |
const char * | GetLocalHost () const |
const char * | GetOptionsAnchor () const |
const char * | GetOutputFileName () const |
const char * | GetWorkerOrdinal () const |
ERunType | GetRunType () const |
UInt_t | GetTypeOpt () const |
Bool_t | IsMerge () const |
Bool_t | IsMerged () const |
Bool_t | IsRegister () const |
Int_t | AdoptFile (TFile *f) |
TFile * | OpenFile (const char *opt) |
Long64_t | Merge (TCollection *list) |
void | Print (Option_t *option="") const |
void | SetOutputFileName (const char *name) |
void | ResetFileCollection () |
Private Member Functions | |
TProofOutputFile (const TProofOutputFile &) | |
TProofOutputFile & | operator= (const TProofOutputFile &) |
void | Init (const char *path, const char *dsname) |
void | SetFileName (const char *name) |
void | SetDir (const char *dir) |
void | SetWorkerOrdinal (const char *ordinal) |
void | AddFile (TFileMerger *merger, const char *path) |
void | NotifyError (const char *errmsg) |
void | Unlink (const char *path) |
TProofOutputFile (const TProofOutputFile &) | |
TProofOutputFile & | operator= (const TProofOutputFile &) |
void | Init (const char *path, const char *dsname) |
void | SetFileName (const char *name) |
void | SetDir (const char *dir) |
void | SetWorkerOrdinal (const char *ordinal) |
void | AddFile (TFileMerger *merger, const char *path) |
void | NotifyError (const char *errmsg) |
void | Unlink (const char *path) |
Private Attributes | |
TString | fDir |
TString | fRawDir |
TString | fFileName |
TString | fOptionsAnchor |
TString | fOutputFileName |
TString | fWorkerOrdinal |
TString | fLocalHost |
Bool_t | fIsLocal |
Bool_t | fMerged |
ERunType | fRunType |
UInt_t | fTypeOpt |
TFileCollection * | fDataSet |
TFileMerger * | fMerger |
TFileCollection * | fDataSet |
TFileMerger * | fMerger |
Friends | |
class | TProof |
class | TProofPlayer |
Definition at line 36 of file TProofOutputFile.h.
Definition at line 42 of file TProofOutputFile.h.
Definition at line 44 of file TProofOutputFile.h.
Definition at line 42 of file TProofOutputFile.h.
Definition at line 44 of file TProofOutputFile.h.
TProofOutputFile::TProofOutputFile | ( | const TProofOutputFile & | ) | [private] |
TProofOutputFile::TProofOutputFile | ( | ) | [inline] |
Definition at line 82 of file TProofOutputFile.h.
TProofOutputFile::TProofOutputFile | ( | const char * | path, | |
const char * | option = "M" , |
|||
const char * | dsname = 0 | |||
) |
TProofOutputFile::TProofOutputFile | ( | const char * | path, | |
ERunType | type, | |||
UInt_t | opt = kRemote , |
|||
const char * | dsname = 0 | |||
) |
TProofOutputFile::~TProofOutputFile | ( | ) | [virtual] |
TProofOutputFile::TProofOutputFile | ( | const TProofOutputFile & | ) | [private] |
TProofOutputFile::TProofOutputFile | ( | ) | [inline] |
Definition at line 82 of file TProofOutputFile.h.
TProofOutputFile::TProofOutputFile | ( | const char * | path, | |
const char * | option = "M" , |
|||
const char * | dsname = 0 | |||
) |
TProofOutputFile::TProofOutputFile | ( | const char * | path, | |
ERunType | type, | |||
UInt_t | opt = kRemote , |
|||
const char * | dsname = 0 | |||
) |
virtual TProofOutputFile::~TProofOutputFile | ( | ) | [virtual] |
TProofOutputFile& TProofOutputFile::operator= | ( | const TProofOutputFile & | ) | [private] |
void TProofOutputFile::Init | ( | const char * | path, | |
const char * | dsname | |||
) | [private] |
Definition at line 93 of file TProofOutputFile.cxx.
References TSystem::AccessPathName(), TList::AddFirst(), TSystem::BaseName(), TString::BeginsWith(), TSystem::Chmod(), TString::Contains(), TString::Data(), TSystem::DirName(), TString::EndsWith(), TObject::Error(), fDir, fFileName, fIsLocal, fLocalHost, FileStat_t::fMode, fOptionsAnchor, TString::Format(), fOutputFileName, fRawDir, fWorkerOrdinal, gEnv, TProofServ::GetDataDir(), TSystem::Getenv(), TObjString::GetName(), TNamed::GetName(), TProofServ::GetOrdinal(), TSystem::GetPathInfo(), TProofServ::GetSessionTag(), TEnv::GetValue(), gProofServ, gSystem, TSystem::HostName(), TString::Index(), TObject::Info(), TString::Insert(), IsMerge(), TString::IsNull(), kFALSE, kNPOS, kTRUE, TString::Length(), TSystem::mkdir(), XrdMonCtrCollector::port, TString::Remove(), TString::ReplaceAll(), TProofServ::ResolveKeywords(), TNamed::SetName(), TCollection::SetOwner(), TNamed::SetTitle(), u, TObject::Warning(), and TSystem::WorkingDirectory().
Referenced by TProofOutputFile().
void TProofOutputFile::SetFileName | ( | const char * | name | ) | [private] |
void TProofOutputFile::SetDir | ( | const char * | dir | ) | [inline, private] |
void TProofOutputFile::SetWorkerOrdinal | ( | const char * | ordinal | ) | [inline, private] |
void TProofOutputFile::AddFile | ( | TFileMerger * | merger, | |
const char * | path | |||
) | [private] |
Definition at line 468 of file TProofOutputFile.cxx.
References TFileMerger::AddFile(), Form(), and NotifyError().
Referenced by Merge().
void TProofOutputFile::NotifyError | ( | const char * | errmsg | ) | [private] |
Definition at line 451 of file TProofOutputFile.cxx.
References gProofServ, TObject::Info(), and Printf().
void TProofOutputFile::Unlink | ( | const char * | path | ) | [private] |
Definition at line 480 of file TProofOutputFile.cxx.
References TSystem::AccessPathName(), Form(), gSystem, NotifyError(), and TSystem::Unlink().
Definition at line 89 of file TProofOutputFile.h.
Referenced by Merge(), and TProofPlayerRemote::MergeOutputFiles().
TFileCollection * TProofOutputFile::GetFileCollection | ( | ) |
Definition at line 494 of file TProofOutputFile.cxx.
References fDataSet, and TNamed::GetTitle().
Referenced by Merge(), and TProofPlayerRemote::MergeOutputFiles().
TFileMerger * TProofOutputFile::GetFileMerger | ( | Bool_t | local = kFALSE |
) |
Definition at line 504 of file TProofOutputFile.cxx.
References fMerger.
Referenced by Merge(), and TProofPlayerRemote::MergeOutputFiles().
const char* TProofOutputFile::GetFileName | ( | ) | const [inline] |
Definition at line 92 of file TProofOutputFile.h.
References fFileName.
Referenced by TProofPlayerRemote::AddOutputObject(), Merge(), and TProofPlayerRemote::MergeOutputFiles().
const char* TProofOutputFile::GetLocalHost | ( | ) | const [inline] |
const char* TProofOutputFile::GetOptionsAnchor | ( | ) | const [inline] |
const char* TProofOutputFile::GetOutputFileName | ( | ) | const [inline] |
Definition at line 95 of file TProofOutputFile.h.
References fOutputFileName.
Referenced by TProofPlayerRemote::AddOutputObject(), TProofPlayerRemote::MergeOutputFiles(), and ProofNtuple::Terminate().
const char* TProofOutputFile::GetWorkerOrdinal | ( | ) | const [inline] |
ERunType TProofOutputFile::GetRunType | ( | ) | const [inline] |
UInt_t TProofOutputFile::GetTypeOpt | ( | ) | const [inline] |
Definition at line 99 of file TProofOutputFile.h.
References fTypeOpt.
Referenced by TProofPlayerRemote::MergeOutputFiles().
Bool_t TProofOutputFile::IsMerge | ( | ) | const [inline] |
Definition at line 100 of file TProofOutputFile.h.
References fRunType, kFALSE, kMerge, and kTRUE.
Referenced by TProofPlayerRemote::AddOutputObject(), Init(), Merge(), TProofPlayerRemote::MergeOutputFiles(), and Print().
Bool_t TProofOutputFile::IsMerged | ( | ) | const [inline] |
Definition at line 101 of file TProofOutputFile.h.
References fMerged.
Referenced by TProofPlayerRemote::MergeOutputFiles().
Bool_t TProofOutputFile::IsRegister | ( | ) | const [inline] |
Definition at line 102 of file TProofOutputFile.h.
References fTypeOpt, kFALSE, kRegister, kTRUE, and kVerify.
Referenced by TProofPlayerRemote::MergeOutputFiles().
Definition at line 285 of file TProofOutputFile.cxx.
References TSystem::BaseName(), TString::Data(), fDir, fFileName, fIsLocal, fRawDir, gEnv, TSystem::Getenv(), TEnv::GetValue(), gSystem, TString::Insert(), TString::IsNull(), kFALSE, kTRUE, TString::ReplaceAll(), and u.
TFile * TProofOutputFile::OpenFile | ( | const char * | opt | ) |
Definition at line 268 of file TProofOutputFile.cxx.
References TString::Data(), fFileName, fOptionsAnchor, TString::Form(), fRawDir, TString::IsNull(), and TFile::Open().
Referenced by ProofNtuple::SlaveBegin().
Long64_t TProofOutputFile::Merge | ( | TCollection * | list | ) |
Definition at line 320 of file TProofOutputFile.cxx.
References AddFile(), TFileInfo::AddUrl(), TString::Data(), TObject::Error(), fDir, fFileName, fi, fMerged, TString::Form(), Form(), fOutputFileName, fRunType, fTypeOpt, gEnv, GetDir(), GetFileCollection(), GetFileMerger(), GetFileName(), TFileInfo::GetFirstUrl(), GetLocalHost(), GetOptionsAnchor(), TUrl::GetUrl(), TEnv::GetValue(), IsMerge(), TString::IsNull(), kFALSE, kLocal, kMerge, kTRUE, list, o, TFileMerger::OutputFile(), and TFileInfo::Print().
void TProofOutputFile::Print | ( | Option_t * | option = "" |
) | const [virtual] |
Reimplemented from TNamed.
Definition at line 423 of file TProofOutputFile.cxx.
References TString::Data(), fDir, fFileName, fLocalHost, fOptionsAnchor, fOutputFileName, fRawDir, fTypeOpt, fWorkerOrdinal, TNamed::GetName(), TNamed::GetTitle(), TObject::Info(), IsMerge(), kLocal, kOverwrite, kRegister, and kVerify.
Referenced by TProofPlayerRemote::AddOutputObject(), TProofPlayerRemote::MergeOutputFiles(), and ProofNtuple::SlaveTerminate().
void TProofOutputFile::SetOutputFileName | ( | const char * | name | ) |
Definition at line 254 of file TProofOutputFile.cxx.
References TString::Data(), fOutputFileName, TObject::Info(), and TProofServ::ResolveKeywords().
Referenced by TProofPlayerRemote::AddOutputObject(), and ProofNtuple::SlaveBegin().
void TProofOutputFile::ResetFileCollection | ( | ) | [inline] |
Definition at line 109 of file TProofOutputFile.h.
References fDataSet.
Referenced by TProofPlayerRemote::MergeOutputFiles().
TProofOutputFile& TProofOutputFile::operator= | ( | const TProofOutputFile & | ) | [private] |
void TProofOutputFile::Init | ( | const char * | path, | |
const char * | dsname | |||
) | [private] |
void TProofOutputFile::SetFileName | ( | const char * | name | ) | [private] |
void TProofOutputFile::SetDir | ( | const char * | dir | ) | [inline, private] |
void TProofOutputFile::SetWorkerOrdinal | ( | const char * | ordinal | ) | [inline, private] |
void TProofOutputFile::AddFile | ( | TFileMerger * | merger, | |
const char * | path | |||
) | [private] |
void TProofOutputFile::NotifyError | ( | const char * | errmsg | ) | [private] |
void TProofOutputFile::Unlink | ( | const char * | path | ) | [private] |
TFileCollection* TProofOutputFile::GetFileCollection | ( | ) |
TFileMerger* TProofOutputFile::GetFileMerger | ( | Bool_t | local = kFALSE |
) |
const char* TProofOutputFile::GetFileName | ( | ) | const [inline] |
const char* TProofOutputFile::GetLocalHost | ( | ) | const [inline] |
const char* TProofOutputFile::GetOptionsAnchor | ( | ) | const [inline] |
const char* TProofOutputFile::GetOutputFileName | ( | ) | const [inline] |
const char* TProofOutputFile::GetWorkerOrdinal | ( | ) | const [inline] |
ERunType TProofOutputFile::GetRunType | ( | ) | const [inline] |
UInt_t TProofOutputFile::GetTypeOpt | ( | ) | const [inline] |
Bool_t TProofOutputFile::IsMerge | ( | ) | const [inline] |
Bool_t TProofOutputFile::IsMerged | ( | ) | const [inline] |
Bool_t TProofOutputFile::IsRegister | ( | ) | const [inline] |
TFile* TProofOutputFile::OpenFile | ( | const char * | opt | ) |
Long64_t TProofOutputFile::Merge | ( | TCollection * | list | ) |
void TProofOutputFile::SetOutputFileName | ( | const char * | name | ) |
void TProofOutputFile::ResetFileCollection | ( | ) | [inline] |
TProof [friend] |
Definition at line 38 of file TProofOutputFile.h.
TProofPlayer [friend] |
Definition at line 39 of file TProofOutputFile.h.
TString TProofOutputFile::fDir [private] |
Definition at line 55 of file TProofOutputFile.h.
Referenced by AdoptFile(), GetDir(), Init(), Merge(), Print(), and SetDir().
TString TProofOutputFile::fRawDir [private] |
Definition at line 56 of file TProofOutputFile.h.
Referenced by AdoptFile(), GetDir(), Init(), OpenFile(), and Print().
TString TProofOutputFile::fFileName [private] |
Definition at line 57 of file TProofOutputFile.h.
Referenced by AdoptFile(), GetFileName(), Init(), Merge(), OpenFile(), Print(), and SetFileName().
TString TProofOutputFile::fOptionsAnchor [private] |
Definition at line 58 of file TProofOutputFile.h.
Referenced by GetOptionsAnchor(), Init(), OpenFile(), and Print().
TString TProofOutputFile::fOutputFileName [private] |
Definition at line 59 of file TProofOutputFile.h.
Referenced by GetOutputFileName(), Init(), Merge(), Print(), and SetOutputFileName().
TString TProofOutputFile::fWorkerOrdinal [private] |
Definition at line 60 of file TProofOutputFile.h.
Referenced by GetWorkerOrdinal(), Init(), Print(), and SetWorkerOrdinal().
TString TProofOutputFile::fLocalHost [private] |
Definition at line 61 of file TProofOutputFile.h.
Referenced by GetLocalHost(), Init(), and Print().
Bool_t TProofOutputFile::fIsLocal [private] |
Definition at line 62 of file TProofOutputFile.h.
Referenced by AdoptFile(), Init(), and TProofOutputFile().
Bool_t TProofOutputFile::fMerged [private] |
Definition at line 63 of file TProofOutputFile.h.
Referenced by IsMerged(), Merge(), and TProofOutputFile().
ERunType TProofOutputFile::fRunType [private] |
Definition at line 64 of file TProofOutputFile.h.
Referenced by GetRunType(), IsMerge(), Merge(), and TProofOutputFile().
UInt_t TProofOutputFile::fTypeOpt [private] |
Definition at line 65 of file TProofOutputFile.h.
Referenced by GetTypeOpt(), IsRegister(), Merge(), Print(), and TProofOutputFile().
TFileCollection* TProofOutputFile::fDataSet [private] |
Definition at line 67 of file TProofOutputFile.h.
Referenced by GetFileCollection(), ResetFileCollection(), TProofOutputFile(), and ~TProofOutputFile().
TFileMerger* TProofOutputFile::fMerger [private] |
Definition at line 68 of file TProofOutputFile.h.
Referenced by GetFileMerger(), TProofOutputFile(), and ~TProofOutputFile().
TFileCollection* TProofOutputFile::fDataSet [private] |
Definition at line 67 of file TProofOutputFile.h.
TFileMerger* TProofOutputFile::fMerger [private] |
Definition at line 68 of file TProofOutputFile.h.