AliPhysics  5eaf189 (5eaf189)
VirtualTrain Struct Reference

Public Member Functions

Bool_t Run (UInt_t run, const char *xmlFile="wn.xml", Int_t stage=0, const char *cdb="raw://")
 
Bool_t Merge (const char *dir, Int_t stage)
 
Bool_t LoadLibrary (const char *module)
 
virtual Bool_t LoadBaseLibraries ()
 
TChainCreateChain ()
 
void ValidateOutput ()
 
Functions to overload
virtual void LoadConfig ()
 
virtual const char * GetName () const
 
virtual Bool_t UseFriends () const
 
virtual Bool_t UseMC () const
 
virtual Bool_t MakeAOD () const
 
virtual Bool_t AddTasks () const
 
virtual Bool_t MergeFileInfo () const
 
virtual TCollectionGetFilesToMerge (Int_t stage, Bool_t final) const
 

Detailed Description

Base class for trains

Definition at line 392 of file BaseConfig.C.

Member Function Documentation

virtual Bool_t VirtualTrain::AddTasks ( ) const
inlinevirtual

User rountine for adding tasks. Override to add tasks to the train.

Returns
true

Definition at line 709 of file BaseConfig.C.

TChain* VirtualTrain::CreateChain ( )
inline

Create the input chain

Returns
Pointer to newly allocated train

Definition at line 642 of file BaseConfig.C.

virtual TCollection* VirtualTrain::GetFilesToMerge ( Int_t  stage,
Bool_t  final 
) const
inlinevirtual

Return the list of ouput files (TObjString objects)

Parameters
stageMerge stage
finalFinal merging (also terminate)
Returns
Pointer to TCollection.

Definition at line 724 of file BaseConfig.C.

virtual const char* VirtualTrain::GetName ( ) const
inlinevirtual

Override to set a name of the analysis manager

Returns
Name of analysis manager

Definition at line 684 of file BaseConfig.C.

virtual Bool_t VirtualTrain::LoadBaseLibraries ( )
inlinevirtual

Load common libraries

Returns
true on sucess

Definition at line 603 of file BaseConfig.C.

virtual void VirtualTrain::LoadConfig ( )
inlinevirtual

Load the configuration script. Override to load specific script.

Definition at line 678 of file BaseConfig.C.

Bool_t VirtualTrain::LoadLibrary ( const char *  module)
inline

Load a library/module

Parameters
moduleLibrary/module name
Returns
true on success

Definition at line 558 of file BaseConfig.C.

virtual Bool_t VirtualTrain::MakeAOD ( ) const
inlinevirtual

Override to return true if AODs should be made

Returns
false

Definition at line 702 of file BaseConfig.C.

Bool_t VirtualTrain::Merge ( const char *  dir,
Int_t  stage 
)
inline

Merge requested files

Parameters
dirOutput directory
stageStage
Returns
true on success

Definition at line 491 of file BaseConfig.C.

virtual Bool_t VirtualTrain::MergeFileInfo ( ) const
inlinevirtual

Override to return true to merge file information files.

Returns
false

Definition at line 715 of file BaseConfig.C.

Bool_t VirtualTrain::Run ( UInt_t  run,
const char *  xmlFile = "wn.xml",
Int_t  stage = 0,
const char *  cdb = "raw://" 
)
inline

Run this train

Parameters
run
xmlFile
stage
cdb
Returns

Definition at line 406 of file BaseConfig.C.

virtual Bool_t VirtualTrain::UseFriends ( ) const
inlinevirtual

Override to return true if friends are needed.

Returns
false

Definition at line 690 of file BaseConfig.C.

virtual Bool_t VirtualTrain::UseMC ( ) const
inlinevirtual

Override to return true if MC info is needed

Returns
false

Definition at line 696 of file BaseConfig.C.

void VirtualTrain::ValidateOutput ( )
inline

Helper function to make outputs_valid file

Definition at line 664 of file BaseConfig.C.


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