![]() |
AliPhysics
68dfc25 (68dfc25)
|
Public Member Functions | |
ProofRailway (const TUrl &url, Int_t verbose) | |
ProofRailway (const ProofRailway &o) | |
ProofRailway & | operator= (const ProofRailway &o) |
virtual | ~ProofRailway () |
void | UsePar (Bool_t &use) |
virtual Bool_t | AddIncludePath (const TString &path) |
virtual Bool_t | LoadLibrary (const TString &name, Bool_t slaves=true, Bool_t forcePar=false) |
virtual Bool_t | LoadSource (const TString &name, bool copy=true) |
virtual Bool_t | LoadAliROOT () |
virtual Bool_t | LoadAliPhysics () |
virtual const char * | AliROOTParName () const |
virtual const char * | AliPhysicsParName () const |
virtual Bool_t | CreatePseudoPar (const TString &parName, const TString &env, const TString &setup) |
virtual Bool_t | CreateAliROOTPar () |
virtual Bool_t | CreateAliPhysicsPar () |
virtual UShort_t | Mode () const |
virtual const char * | ModeString () const |
virtual Bool_t | Connect (const TUrl &url, const TString &opts) |
virtual Bool_t | PreSetup () |
virtual Bool_t | EnableSpecial (const TString &parName, const TString &prefix) |
virtual Bool_t | EnableAliROOT () |
virtual Bool_t | EnableAliPhysics () |
virtual Bool_t | PostSetup () |
virtual Bool_t | LoadExtraSrcs () |
virtual void | GetDataSet (TString &dsname) |
virtual Long64_t | Run (Long64_t nEvents=-1) |
virtual void | Print (Option_t *option="") const |
virtual Bool_t | AuxFile (TString &name, bool copy=false) |
Int_t | SendFile (const TString &fileName) |
virtual TString | OutputPath () const |
virtual const Char_t * | UrlHelp () const |
virtual const char * | Desc () const |
void | AuxSave (const TString &escaped, Bool_t) |
![]() | |
Railway (const Railway &o) | |
Railway & | operator= (const Railway &) |
virtual Bool_t | LoadAux (const TString &name, Bool_t copy=false) |
virtual Bool_t | LoadROOT () |
virtual UShort_t | Operation () const |
virtual Bool_t | AddMonitor (const TString &) |
virtual Short_t | InputType () const |
virtual Bool_t | IsMC () const |
virtual TString | OutputLocation () const |
const TUrl & | Url () const |
const OptionList & | Options () const |
Static Public Member Functions | |
static void | ExportEnvVar (TString &out, const TString &name) |
![]() | |
static Railway * | Create (const TUrl &url, Int_t verbose=0) |
static Railway * | CreateObject (const TString &cl, const TUrl &url, Int_t verbose=0) |
static void | ShowUrlHelp (const TString &cl) |
static void | ShowFullHelp (const TString &cl) |
Public Attributes | |
TString | fExtraLibs |
TString | fExtraPars |
TString | fExtraSrcs |
Bool_t | fUsePars |
Bool_t | fBasePars |
Bool_t | fTestBuild |
TList | fAuxFiles |
Additional Inherited Members | |
![]() | |
enum | EMode { kLocal, kProof, kGrid } |
enum | EOperation { kTest, kOffline, kSubmit, kTerminate, kFull } |
enum | EInput { kESD, kAOD, kUser } |
![]() | |
const TString & | MakeLibraryName (const TString &name) |
TChain * | LocalChain () |
Railway (const TUrl &url, Int_t verbose) | |
virtual Bool_t | ParseOptions () |
virtual | ~Railway () |
![]() | |
static UShort_t | DeduceType (const TString &str) |
![]() | |
TUrl | fUrl |
OptionList | fOptions |
Int_t | fVerbose |
Handle analysis on a Proof farm.
This helper is triggered by URIs of the form
where
esdTree
or aodTree
workers=N[x]
x
is appended, then it's maximum number of workers per slave dsname
[=<output dataset>] par[=all]
all
is given, then also PAR files of STEERBase, ESD, AOD, ANALYSIS, OADB, ANALYSISalice are used. mode=[default,rec,sim,train,custom]
default
is assumed. See also CreateAliROOTPar storage=<url>
root://lxplus.cern.ch:10930//tmp
. Definition at line 86 of file ProofRailway.C.
|
inline |
Definition at line 120 of file ProofRailway.C.
|
inlinevirtual |
Destructor
Definition at line 146 of file ProofRailway.C.
Add an include path
path | The path to add for header search |
Reimplemented from Railway.
Definition at line 173 of file ProofRailway.C.
|
inlinevirtual |
Get the name of the AliPHYSICS par file to use
Reimplemented in VAFRailway, and AAFRailway.
Definition at line 303 of file ProofRailway.C.
Referenced by CreateAliPhysicsPar(), and EnableAliPhysics().
|
inlinevirtual |
Get the name of the AliROOT par file to use
Reimplemented in VAFRailway, and AAFRailway.
Definition at line 294 of file ProofRailway.C.
Referenced by CreateAliROOTPar(), and EnableAliROOT().
Link an auxilary file to working directory
name | Name of the file |
copy | Copy rather than link |
Reimplemented from Railway.
Definition at line 1009 of file ProofRailway.C.
Write auxillary ROOT (and possible shell) script for more (post-)processing e.g., terminate
escaped | Escaped name |
Reimplemented from Railway.
Definition at line 1117 of file ProofRailway.C.
Connect to PROOF(,-Lite,-on-Demand) cluster
url | Connection URL |
opts | Possible options |
Reimplemented in VAFRailway.
Definition at line 621 of file ProofRailway.C.
Referenced by VAFRailway::Connect(), and PreSetup().
|
inlinevirtual |
Reimplemented in VAFRailway, and AAFRailway.
Definition at line 561 of file ProofRailway.C.
Referenced by LoadAliPhysics().
|
inlinevirtual |
Create an AliROOT par file from the executing AliROOT. This PAR file basically uses the environment of the client - that is, we assume that the used AliROOT is accessible on the slaves - e.g., via an NFS export.
Note, the SETUP.C script take one argument - a TList of TNamed parameters. Parameters processed are
The generated PAR file is uploaded but not enabled until we have populated fExtraLibs. The enabling takes place at the end of the set-up.
Reimplemented in VAFRailway, and AAFRailway.
Definition at line 491 of file ProofRailway.C.
Referenced by LoadAliROOT().
|
inlinevirtual |
Create an AliROOT/AliPhysics par file from the executing AliROOT. This PAR file basically uses the environment of the client - that is, we assume that the used AliROOT is accessible on the slaves - e.g., via an NFS export.
Note, the SETUP.C script take one argument - a TList of TNamed parameters. Parameters processed are
The generated PAR file is uploaded but not enabled until we have populated fExtraLibs. The enabling takes place at the end of the set-up.
Definition at line 329 of file ProofRailway.C.
Referenced by CreateAliPhysicsPar(), and CreateAliROOTPar().
|
inlinevirtual |
Implements Railway.
Reimplemented in LiteRailway, VAFRailway, and AAFRailway.
Definition at line 1110 of file ProofRailway.C.
|
inlinevirtual |
Enable the special AliROOT package on the cluster
Reimplemented in VAFRailway.
Definition at line 795 of file ProofRailway.C.
Referenced by PostSetup().
|
inlinevirtual |
Enable the special AliROOT package on the cluster
Definition at line 786 of file ProofRailway.C.
Referenced by PostSetup().
|
inlinevirtual |
Enable a special PAR (e.g., AliROOT and AliPhysics)
parName | Name of the par file |
prefix | Prefix used |
Definition at line 740 of file ProofRailway.C.
Referenced by EnableAliPhysics(), and EnableAliROOT().
Definition at line 460 of file ProofRailway.C.
Referenced by CreateAliPhysicsPar(), and CreateAliROOTPar().
|
inlinevirtual |
Get the data-set name
dsname | On return, must contain the data set name |
Reimplemented in VAFRailway.
Definition at line 878 of file ProofRailway.C.
Referenced by Run().
|
inlinevirtual |
Set-up to load the AliPHYSICS libraries
Reimplemented from Railway.
Definition at line 274 of file ProofRailway.C.
|
inlinevirtual |
Set-up to load the AliROOT libraries
Reimplemented from Railway.
Reimplemented in VAFRailway.
Definition at line 251 of file ProofRailway.C.
Referenced by VAFRailway::LoadAliROOT().
|
inlinevirtual |
Reimplemented in LiteRailway.
Definition at line 858 of file ProofRailway.C.
Referenced by PostSetup().
|
inlinevirtual |
Load a library/PAR/script
name | Name |
slaves | If true, also load on slaves |
forcePar | if true, force load as PAR |
Implements Railway.
Definition at line 193 of file ProofRailway.C.
Referenced by LoadAliPhysics(), and LoadAliROOT().
Load a source file, and compile it
name | Name of the source file |
copy | If true, copy not link |
Reimplemented from Railway.
Definition at line 240 of file ProofRailway.C.
|
inlinevirtual |
Get the mode identifier
Implements Railway.
Definition at line 608 of file ProofRailway.C.
|
inlinevirtual |
Get the mode string used for AliAnalysisManager::StartAnalysis
Reimplemented from Railway.
Definition at line 612 of file ProofRailway.C.
|
inline |
Definition at line 130 of file ProofRailway.C.
Referenced by LiteRailway::operator=().
|
inlinevirtual |
Path of output
Reimplemented from Railway.
Reimplemented in LiteRailway.
Definition at line 1090 of file ProofRailway.C.
|
inlinevirtual |
Set-up done after the task set-ups
Implements Railway.
Reimplemented in LiteRailway.
Definition at line 804 of file ProofRailway.C.
Referenced by LiteRailway::PostSetup().
|
inlinevirtual |
Set-up done before task set-ups
Implements Railway.
Reimplemented in VAFRailway, LiteRailway, and AAFRailway.
Definition at line 641 of file ProofRailway.C.
Referenced by AAFRailway::PreSetup(), LiteRailway::PreSetup(), and VAFRailway::PreSetup().
|
inlinevirtual |
Print information to standard output
option |
Reimplemented from Railway.
Definition at line 989 of file ProofRailway.C.
Start the analysis
nEvents | Number of events to analyse |
Implements Railway.
Reimplemented in LiteRailway.
Definition at line 889 of file ProofRailway.C.
Definition at line 1028 of file ProofRailway.C.
|
inlinevirtual |
Implements Railway.
Reimplemented in LiteRailway, VAFRailway, and AAFRailway.
Definition at line 1102 of file ProofRailway.C.
|
inlinevirtual |
Set whether to use pars. On return, the argument is set to the old value. So to temporaruly turn off pars, do
use | Whether to use pars or not. On return contains old value |
Reimplemented from Railway.
Definition at line 160 of file ProofRailway.C.
TList ProofRailway::fAuxFiles |
Definition at line 1160 of file ProofRailway.C.
Referenced by AuxFile(), PostSetup(), and ProofRailway().
Bool_t ProofRailway::fBasePars |
Definition at line 1158 of file ProofRailway.C.
Referenced by CreatePseudoPar(), LoadAliPhysics(), LoadAliROOT(), LoadLibrary(), operator=(), PostSetup(), AAFRailway::PreSetup(), VAFRailway::PreSetup(), PreSetup(), and Print().
TString ProofRailway::fExtraLibs |
Definition at line 1154 of file ProofRailway.C.
Referenced by AuxSave(), EnableSpecial(), LoadLibrary(), operator=(), and Print().
TString ProofRailway::fExtraPars |
Definition at line 1155 of file ProofRailway.C.
Referenced by AuxSave(), LoadLibrary(), operator=(), PostSetup(), and Print().
TString ProofRailway::fExtraSrcs |
Definition at line 1156 of file ProofRailway.C.
Referenced by AuxSave(), LiteRailway::LoadExtraSrcs(), LoadExtraSrcs(), LoadSource(), operator=(), and Print().
Bool_t ProofRailway::fTestBuild |
Definition at line 1159 of file ProofRailway.C.
Referenced by LoadLibrary(), operator=(), and PreSetup().
Bool_t ProofRailway::fUsePars |
Definition at line 1157 of file ProofRailway.C.
Referenced by LoadAliPhysics(), LoadAliROOT(), LoadLibrary(), operator=(), PreSetup(), Print(), and UsePar().