AliPhysics  fe039ad (fe039ad)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AAFRailway Struct Reference
Inheritance diagram for AAFRailway:

Public Member Functions

 AAFRailway (const TUrl &url, Int_t verbose)
 
virtual ~AAFRailway ()
 
virtual const char * AliPhysicsParName () const
 
virtual Bool_t CreateAliPhysicsPar ()
 
virtual const char * AliROOTParName () const
 
virtual Bool_t CreateAliROOTPar ()
 
virtual Bool_t PreSetup ()
 
virtual const Char_tUrlHelp () const
 
virtual const char * Desc () const
 
- Public Member Functions inherited from ProofRailway
 ProofRailway (const TUrl &url, Int_t verbose)
 
 ProofRailway (const ProofRailway &o)
 
ProofRailwayoperator= (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 Bool_t CreatePseudoPar (const TString &parName, const TString &env, const TString &setup)
 
virtual UShort_t Mode () const
 
virtual const char * ModeString () const
 
virtual Bool_t Connect (const TUrl &url, const TString &opts)
 
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
 
void AuxSave (const TString &escaped, Bool_t)
 
- Public Member Functions inherited from Railway
 Railway (const Railway &o)
 
Railwayoperator= (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 TUrlUrl () const
 
const OptionListOptions () const
 

Additional Inherited Members

- Public Types inherited from Railway
enum  EMode { kLocal, kProof, kGrid }
 
enum  EOperation {
  kTest, kOffline, kSubmit, kTerminate,
  kFull
}
 
enum  EInput { kESD, kAOD, kUser }
 
- Static Public Member Functions inherited from ProofRailway
static void ExportEnvVar (TString &out, const TString &name)
 
- Static Public Member Functions inherited from Railway
static RailwayCreate (const TUrl &url, Int_t verbose=0)
 
static RailwayCreateObject (const TString &cl, const TUrl &url, Int_t verbose=0)
 
static void ShowUrlHelp (const TString &cl)
 
static void ShowFullHelp (const TString &cl)
 
- Public Attributes inherited from ProofRailway
TString fExtraLibs
 
TString fExtraPars
 
TString fExtraSrcs
 
Bool_t fUsePars
 
Bool_t fBasePars
 
Bool_t fTestBuild
 
TList fAuxFiles
 
- Protected Member Functions inherited from Railway
const TStringMakeLibraryName (const TString &name)
 
TChainLocalChain ()
 
 Railway (const TUrl &url, Int_t verbose)
 
virtual Bool_t ParseOptions ()
 
virtual ~Railway ()
 
- Static Protected Member Functions inherited from Railway
static UShort_t DeduceType (const TString &str)
 
- Protected Attributes inherited from Railway
TUrl fUrl
 
OptionList fOptions
 
Int_t fVerbose
 

Detailed Description

Handle analysis on an Alice Analysis Facility (AAF)

This helper is triggered by a URL of the form

proof://[<user>@]<host>[:<port>]/<dsname>[?<options>][#<treename>]

where <host&t; is a known AAF (e.g., alice-caf.cern.ch)

<user>
Optional user name
<host>
PROOF cluster master host
<port>
Optional PROOF cluster port on master host
<dsname>
Data set name
<treename>
Optional tree name in data set, often esdTree or aodTree
<options>
List of options separated by an &
dsname[=<output dataset>]
Register tree output (e.g., AOD) as a new data set on the PROOF cluster. If <output dataset> is not specified, take the name of the train.
storage=<url>
Specify a non-default storage location for special output (e.g., AOD trees). <url> should be a valid XRootd server URI accessible to the slaves - e.g., root://lxplus.cern.ch:10930//tmp.
mode=[default,rec,sim,train,custom]
Set the AliROOT mode. If not specified default is assumed. See also CreateAliROOTPar
par
Use par files

Note, this helper does not use the AliAnalysisAlien plugin

Definition at line 72 of file AAFRailway.C.

Constructor & Destructor Documentation

AAFRailway::AAFRailway ( const TUrl url,
Int_t  verbose 
)
inline

Constructor

Parameters
urlUrl
verboseVerbosity

Definition at line 80 of file AAFRailway.C.

virtual AAFRailway::~AAFRailway ( )
inlinevirtual

Definition at line 87 of file AAFRailway.C.

Member Function Documentation

virtual const char* AAFRailway::AliPhysicsParName ( ) const
inlinevirtual

Get the name of the Aliphysics par file to use

Returns
String

Reimplemented from ProofRailway.

Definition at line 93 of file AAFRailway.C.

virtual const char* AAFRailway::AliROOTParName ( ) const
inlinevirtual

Get the name of the AliROOT par file to use

Returns
String

Reimplemented from ProofRailway.

Definition at line 106 of file AAFRailway.C.

virtual Bool_t AAFRailway::CreateAliPhysicsPar ( )
inlinevirtual

Reimplemented from ProofRailway.

Definition at line 97 of file AAFRailway.C.

virtual Bool_t AAFRailway::CreateAliROOTPar ( )
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

  • ALIROOT_MODE=[default,aliroot,rec,sim,train]
    • default: Load base analysis libraries
    • aliroot: Load $ALICE_ROOT/macros/loadlibs.C
    • rec: Load $ALICE_ROOT/macros/loadlibsrec.C
    • sim: Load $ALICE_ROOT/macros/loadlibssim.C
  • ALIROOT_EXTRA_LIBS Colon separated list of additional (Ali)ROOT libraries to load on the slaves.

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.

Returns
true on success, false otherwise.

Reimplemented from ProofRailway.

Definition at line 110 of file AAFRailway.C.

virtual const char* AAFRailway::Desc ( ) const
inlinevirtual
Returns
short description

Reimplemented from ProofRailway.

Definition at line 158 of file AAFRailway.C.

virtual Bool_t AAFRailway::PreSetup ( )
inlinevirtual

Set-up done before task set-ups. Overload ProofRailway::PreSetup to specify the ROOT version using TProofMgr::SetROOTVersion

Returns
true on success

Reimplemented from ProofRailway.

Definition at line 120 of file AAFRailway.C.

virtual const Char_t* AAFRailway::UrlHelp ( ) const
inlinevirtual
Returns
URI help string

Reimplemented from ProofRailway.

Definition at line 151 of file AAFRailway.C.


The documentation for this struct was generated from the following file: