AliPhysics  86c65ee (86c65ee)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AOD.C File Reference

Master script for AOD production. More...

Go to the source code of this file.

Classes

struct  VirtualAODCfg
 

Functions

Bool_t LoadLibrary (const char *module)
 
Bool_t LoadCommonLibraries ()
 
Bool_t LoadAnalysisLibraries ()
 
void AddAnalysisTasks (const char *cdb_location)
 
TChainCreateChain ()
 
void ValidateOutput ()
 
void AODMerge (const char *dir, Int_t stage)
 
void AOD (UInt_t run, const char *xmlfile=0, Int_t stage=0)
 

Variables

const char * cdbPath = "raw://"
 
Bool_t cholm = false
 
VirtualAODCfgaodCfg = 0
 

Detailed Description

Master script for AOD production.

Author
Christian Holm Christensen cholm.nosp@m.@nbi.nosp@m..dk
Date
Wed Sep 24 15:02:00 2014
Note
Do not modify this script.

This script reads in 4 other scripts

  • GRP.C to load the global run parameters for the selected run, such as collision system, energy, etc.
  • AODConfig.C which defines a number of functions that return either true or false. The tasks added depends on these functions
  • BaseConfig.C which defines some base classes
  • DetConfig.C which defines which detectors are active and on.

Users can customize QAConfig.C and DetConfig.C according to their needs

Definition in file AOD.C.

Function Documentation

void AddAnalysisTasks ( const char *  cdb_location)

Add tasks to the train

Parameters
cdb_location

Definition at line 280 of file AOD.C.

Referenced by AOD().

void AOD ( UInt_t  run,
const char *  xmlfile = 0,
Int_t  stage = 0 
)

Set-up and run AOD train

Parameters
runRun number
xmlfileCollection
stageStage

Definition at line 638 of file AOD.C.

void AODMerge ( const char *  dir,
Int_t  stage 
)

Merge AOD output

Parameters
dirDirectory
stageThe merging stage

Definition at line 562 of file AOD.C.

Referenced by AOD().

TChain* CreateChain ( )

Create the input chain

Returns
Pointer to newly allocated train

Definition at line 532 of file AOD.C.

Referenced by AOD().

Bool_t LoadAnalysisLibraries ( )

Load libraries needed by the train

Returns
true on success

Definition at line 233 of file AOD.C.

Referenced by AOD().

Bool_t LoadCommonLibraries ( )

Load common libraries

Returns
true on sucess

Definition at line 193 of file AOD.C.

Referenced by AOD().

Bool_t LoadLibrary ( const char *  module)

Load a library/module

Parameters
moduleLibrary/module name
Returns
true on success

Definition at line 144 of file AOD.C.

Referenced by QATrain::CreateCALO(), QATrain::CreateFMD(), QATrain::CreateMUON(), QATrain::CreateMUONTRG(), QATrain::CreateTasks(), LoadAnalysisLibraries(), and LoadCommonLibraries().

void ValidateOutput ( )

Helper function to make outputs_valid file

Definition at line 549 of file AOD.C.

Referenced by AODMerge().

Variable Documentation

VirtualAODCfg* aodCfg = 0

Definition at line 134 of file AOD.C.

Referenced by AODConfig().

const char* cdbPath = "raw://"

Path to CDB

Definition at line 26 of file AOD.C.

Referenced by AOD(), and AliMTRChEffAnalysis::ReadEffHistoList().

Bool_t cholm = false

Definition at line 27 of file AOD.C.

Referenced by AOD(), LoadAnalysisLibraries(), and Reconstruct().