AliPhysics  2c6b7ad (2c6b7ad)

Get year, collision type, mc/data type and period from alien global variables. More...

#include <TString.h>
#include <TSystem.h>
Include dependency graph for GetAlienGlobalProductionVariables.C:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void GetAlienGlobalProductionVariables (Bool_t &simulation, TString &col, TString &period, Int_t &year, Bool_t print=kFALSE)
 

Detailed Description

Get year, collision type, mc/data type and period from alien global variables.

Get year, collision type, mc/data type and period from alien global variables

Author
Gustavo Conesa Balbastre Gusta.nosp@m.vo.C.nosp@m.onesa.nosp@m..Bal.nosp@m.bastr.nosp@m.e@ce.nosp@m.rn.ch, (LPSC-CNRS)

Definition in file GetAlienGlobalProductionVariables.C.

Function Documentation

void GetAlienGlobalProductionVariables ( Bool_t simulation,
TString col,
TString period,
Int_t year,
Bool_t  print = kFALSE 
)

Main method

The options that can be passed to the macro are:

Parameters
simulation: bool, true MC, false data
col: string with pp, pPb, PbPb return. If already set nothing to recover
period: string with period return
year: int, year, check in case of data set by hand for MC
print: bool to print recovered parameters

Definition at line 28 of file GetAlienGlobalProductionVariables.C.

Referenced by AddTaskClusterShape(), AddTaskGammaHadronCorrelation(), AddTaskGammaHadronCorrelationSelectAnalysis(), AddTaskMultipleTrackCutIsoConeAnalysis(), and AddTaskPi0IMGammaCorrQA().