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

Public Member Functions

 LiteRailway (const TUrl &url, Int_t verbose)
 
 LiteRailway (const LiteRailway &o)
 
LiteRailwayoperator= (const LiteRailway &o)
 
virtual ~LiteRailway ()
 
virtual Bool_t PreSetup ()
 
virtual Bool_t PostSetup ()
 
virtual Bool_t LoadExtraSrcs ()
 
virtual Long64_t Run (Long64_t nEvents=-1)
 
virtual TString OutputPath () const
 
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 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 EnableSpecial (const TString &parName, const TString &prefix)
 
virtual Bool_t EnableAliROOT ()
 
virtual Bool_t EnableAliPhysics ()
 
virtual void GetDataSet (TString &dsname)
 
virtual void Print (Option_t *option="") const
 
virtual Bool_t AuxFile (TString &name, bool copy=false)
 
Int_t SendFile (const TString &fileName)
 
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
 

Public Attributes

TChainfChain
 
- Public Attributes inherited from ProofRailway
TString fExtraLibs
 
TString fExtraPars
 
TString fExtraSrcs
 
Bool_t fUsePars
 
Bool_t fBasePars
 
Bool_t fTestBuild
 
TList fAuxFiles
 

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)
 
- 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

Handler of analysis in Proof-Lite. This is triggered by URIs of the form

local:
local:
local:///<file>[?<options>][#treeName]

where

<datadir>
is the base directory holding data files
<collection>
is an ASCII or XML list of input sources
<file>
is a single ROOT file
<options>
A & separated list of options
recursive
Scan <datadir> recursively
mc
Scan also for MC files (galice.root, Kinematics.root, and TrackRefs.root) when scanning <datadir>
pattern=<GLOB>
Shell glob pattern that files must check when scanning <datadir>
workers=N[x]
Set the number of workers to use. If x is appended, then it's maximum number of workers per slave
par[=all]
Use PAR files. If the value all is given, then also PAR files of STEERBase, ESD, AOD, ANALYSIS, OADB, ANALYSISalice are used.
mode=[default,rec,sim,train,custom]
Set the AliROOT mode. If not specified default is assumed. See also CreateAliROOTPar

Definition at line 74 of file LiteRailway.C.

Constructor & Destructor Documentation

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

Constructor

Parameters
urlUrl
verboseVerbosity

Definition at line 82 of file LiteRailway.C.

LiteRailway::LiteRailway ( const LiteRailway o)
inline

Copy constructor

Parameters
oObject to copy from

Definition at line 98 of file LiteRailway.C.

virtual LiteRailway::~LiteRailway ( )
inlinevirtual

Destructor

Definition at line 118 of file LiteRailway.C.

Member Function Documentation

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

Reimplemented from ProofRailway.

Definition at line 226 of file LiteRailway.C.

virtual Bool_t LiteRailway::LoadExtraSrcs ( )
inlinevirtual

Load extra sources. Since we're on a single host, we might as well load it directly from the working directory rather than by uploading to the slaves cache.

Reimplemented from ProofRailway.

Definition at line 149 of file LiteRailway.C.

LiteRailway& LiteRailway::operator= ( const LiteRailway o)
inline

Assignment operator

Parameters
oObject to assign from
Returns
Reference to this

Definition at line 108 of file LiteRailway.C.

virtual TString LiteRailway::OutputPath ( ) const
inlinevirtual

Path of output

Returns
Path to output - possibly a data set

Reimplemented from ProofRailway.

Definition at line 203 of file LiteRailway.C.

virtual Bool_t LiteRailway::PostSetup ( )
inlinevirtual

Set-up done after task set-ups

Returns
true on success

Reimplemented from ProofRailway.

Definition at line 135 of file LiteRailway.C.

virtual Bool_t LiteRailway::PreSetup ( )
inlinevirtual

Set-up done before task set-ups

Returns
true on success

Reimplemented from ProofRailway.

Definition at line 124 of file LiteRailway.C.

virtual Long64_t LiteRailway::Run ( Long64_t  nEvents = -1)
inlinevirtual

Start the analysis

Parameters
nEventsNumber of events to analyse
Returns
The return value of AliAnalysisManager::StartAnalysis

Reimplemented from ProofRailway.

Definition at line 174 of file LiteRailway.C.

virtual const Char_t* LiteRailway::UrlHelp ( ) const
inlinevirtual
Returns
URL help string

Reimplemented from ProofRailway.

Definition at line 219 of file LiteRailway.C.

Member Data Documentation

TChain* LiteRailway::fChain

Our chain

Definition at line 228 of file LiteRailway.C.

Referenced by operator=(), PostSetup(), and Run().


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