AliPhysics  9b6b435 (9b6b435)
LocalRailway Struct Reference
Inheritance diagram for LocalRailway:

Public Member Functions

 LocalRailway (const TUrl &url, Int_t verbose)
 
 LocalRailway (const LocalRailway &o)
 
LocalRailwayoperator= (const LocalRailway &o)
 
virtual ~LocalRailway ()
 
virtual Bool_t LoadLibrary (const TString &name, Bool_t, Bool_t)
 
virtual UShort_t Mode () const
 
virtual const char * ModeString () const
 
virtual Bool_t PreSetup ()
 
virtual Bool_t PostSetup ()
 
virtual Long64_t Run (Long64_t nEvents=-1)
 
virtual const Char_tUrlHelp () const
 
virtual const char * Desc () const
 
- Public Member Functions inherited from Railway
 Railway (const Railway &o)
 
Railwayoperator= (const Railway &)
 
virtual void UsePar (Bool_t &use)
 
virtual Bool_t AddIncludePath (const TString &path)
 
virtual Bool_t LoadSource (const TString &name, bool copy=false)
 
virtual Bool_t LoadAux (const TString &name, Bool_t copy=false)
 
virtual Bool_t LoadROOT ()
 
virtual Bool_t LoadAliROOT ()
 
virtual Bool_t LoadAliPhysics ()
 
virtual UShort_t Operation () const
 
virtual Bool_t AddMonitor (const TString &)
 
virtual Short_t InputType () const
 
virtual Bool_t IsMC () const
 
virtual TString OutputPath () const
 
virtual TString OutputLocation () const
 
virtual void Print (Option_t *="") const
 
const TUrlUrl () const
 
const OptionListOptions () const
 
virtual void AuxSave (const TString &, Bool_t)
 

Public Attributes

TChainfChain
 

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 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)
 
virtual Bool_t AuxFile (TString &name, bool copy=false)
 
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 local analysis jobs

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>

Definition at line 65 of file LocalRailway.C.

Constructor & Destructor Documentation

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

Constructor

Parameters
urlUrl
verboseVerbosity level

Definition at line 73 of file LocalRailway.C.

LocalRailway::LocalRailway ( const LocalRailway o)
inline

Copy constructor

Parameters
oObject to copy from

Definition at line 87 of file LocalRailway.C.

virtual LocalRailway::~LocalRailway ( )
inlinevirtual

Destructor

Definition at line 107 of file LocalRailway.C.

Member Function Documentation

virtual const char* LocalRailway::Desc ( ) const
inlinevirtual
Returns
Short description

Implements Railway.

Definition at line 183 of file LocalRailway.C.

virtual Bool_t LocalRailway::LoadLibrary ( const TString name,
Bool_t  ,
Bool_t   
)
inlinevirtual

Load a library

Parameters
nameName of library
Returns
true on success

Implements Railway.

Definition at line 115 of file LocalRailway.C.

virtual UShort_t LocalRailway::Mode ( ) const
inlinevirtual

Get the execution mode

Returns
Always kLocal

Implements Railway.

Definition at line 125 of file LocalRailway.C.

virtual const char* LocalRailway::ModeString ( ) const
inlinevirtual

Get the mode string used for AliAnalysisManager::StartAnalysis

Reimplemented from Railway.

Definition at line 129 of file LocalRailway.C.

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

Assignment operator

Parameters
oObject to assign from
Returns
Reference to this

Definition at line 97 of file LocalRailway.C.

virtual Bool_t LocalRailway::PostSetup ( )
inlinevirtual

Set-up done after the task set-ups

Returns
true on success

Implements Railway.

Definition at line 144 of file LocalRailway.C.

virtual Bool_t LocalRailway::PreSetup ( )
inlinevirtual

Set-up done before task set-ups

Returns
true on success

Implements Railway.

Definition at line 135 of file LocalRailway.C.

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

Start the analysis

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

Implements Railway.

Definition at line 166 of file LocalRailway.C.

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

Implements Railway.

Definition at line 176 of file LocalRailway.C.

Member Data Documentation

TChain* LocalRailway::fChain

Definition at line 184 of file LocalRailway.C.

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


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