Updated macros for lego train (mavala)
[u/mrichter/AliRoot.git] / PWGLF / RESONANCES / macros / lego_train / RsnTrainSettingsExtra.C
1 void RsnTrainSettingsExtra(Double_t primaryVertex,
2                            Int_t useCommonQualityCut,
3                            Int_t numMix,
4                            Int_t filterBit,
5                            Int_t useRapidity,
6                            Int_t useAOD49Patch,
7                            Double_t useMixDiffMult,
8                            Double_t useMixDiffVz,
9                            Double_t useMixDiffAngle,
10                            Int_t printRefresh=-1) {
11
12    AliRsnTrainManager::SetGlobalDbl("RsnEventCutPrimaryVertex",primaryVertex);
13    AliRsnTrainManager::SetGlobalInt("RsnCommonQualityCut",useCommonQualityCut);
14    AliRsnTrainManager::SetGlobalInt("RsnPhysSelFilterBit",filterBit);
15    AliRsnTrainManager::SetGlobalInt("RsnUseRapidity",useRapidity);
16    AliRsnTrainManager::SetGlobalInt("RsnUseAOD049Patch",useAOD49Patch);
17
18    // for now we will use only on/off (0/1), maybe we can use number also, but let's see if neede
19    AliRsnTrainManager::SetGlobalInt("RsnNumMix",numMix);
20    AliRsnTrainManager::SetGlobalDbl("RsnMixDiffMult",useMixDiffMult);
21    AliRsnTrainManager::SetGlobalDbl("RsnMixDiffVz",useMixDiffVz);
22    AliRsnTrainManager::SetGlobalDbl("RsnMixDiffAngle",useMixDiffAngle);
23
24    AliRsnTrainManager::SetGlobalInt("RsnMixPrintRefresh",printRefresh);
25
26    return;
27 }