![]() |
AliPhysics
1adf5bd (1adf5bd)
|
Example of execution macro for calorimeter QA analysis. More...
Go to the source code of this file.
Enumerations | |
enum | anaModes { mLocal = 0, mPROOF = 1, mPlugin = 2, mGRID = 3, mLocal, mGRID, mLocal = 0, mPROOF = 1, mPlugin = 2, mGRID = 3, mLocal, mLocalCAF, mPROOF, mGRID, mLocal, mLocalCAF, mPROOF, mGRID } |
Different analysis modes. More... | |
Functions | |
void | anaQA (Int_t mode=mLocal) |
void | LoadLibraries (const anaModes mode) |
Load analysis libraries. More... | |
void | SetupPar (char *pararchivename) |
void | CreateChain (const anaModes mode, TChain *chain) |
Fills chain with data files paths. More... | |
Variables | |
char * | kInDir = "/user/data/files/" |
char * | kPattern = "" |
Global, path to data files. More... | |
Int_t | kFile = 2 |
Data are in files kInDir/kPattern+i. More... | |
char * | kXML = "collection.xml" |
Number of files to analyze in local mode. More... | |
const Bool_t | kMC = kFALSE |
Global name for the xml collection file with data on grid. More... | |
const TString | kInputData = "ESD" |
With real data kMC = kFALSE. More... | |
TString | kTreeName = "esdTree" |
ESD, AOD, MC. More... | |
Example of execution macro for calorimeter QA analysis.
Example macro to do for calorimeter QA analysis in local, grid or plugin modes.
Pay attention to the options and definitions set in the lines below
Definition in file anaQA.C.
enum anaModes |
Different analysis modes.
Main execution method. It:
mode | analysis mode defined in enum anaModes |
void LoadLibraries | ( | const anaModes | mode | ) |
void SetupPar | ( | char * | pararchivename | ) |
Int_t kFile = 2 |
Data are in files kInDir/kPattern+i.
Definition at line 30 of file anaQA.C.
Referenced by CreateChain().
char* kInDir = "/user/data/files/" |
Definition at line 28 of file anaQA.C.
Referenced by CreateChain().
const TString kInputData = "ESD" |
const Bool_t kMC = kFALSE |
char* kPattern = "" |
char* kXML = "collection.xml" |
Number of files to analyze in local mode.
Definition at line 35 of file anaQA.C.
Referenced by CreateChain().