Modified lego train macro for Lambda(1520) analysis
authorfbellini <fbellini@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 27 Nov 2013 14:21:10 +0000 (14:21 +0000)
committerfbellini <fbellini@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 27 Nov 2013 14:21:10 +0000 (14:21 +0000)
PWGLF/RESONANCES/macros/lego_train/AddRsnDaughterCutsLambdaNsigma.C

index 7dd257b..944aef5 100644 (file)
@@ -1,14 +1,17 @@
 #ifndef __CINT__
 #endif
-Int_t AddRsnDaughterCutsLambdaNsigma(AliPID::EParticleType type1,AliPID::EParticleType type2,TString opt,Bool_t isRsnMini=kFALSE,AliRsnInputHandler *rsnIH=0,AliAnalysisTaskSE *task=0)
+Int_t AddRsnDaughterCutsLambdaNsigma(AliPID::EParticleType type1,AliPID::EParticleType type2,TString opt,AliRsnInputHandler *rsnIH=0,AliAnalysisTaskSE *task=0)
 {
 
    if (!rsnIH) return 0;
 
    Bool_t valid = kTRUE;
-   Int_t isRsnMini = AliRsnTrainManager::GetGlobalInt("IsRsnMini",valid);
+   //   Int_t collisionType = AliRsnTrainManager::GetGlobalInt("IsCollisionType",valid);
    Int_t useCommonQualityCut = AliRsnTrainManager::GetGlobalInt("RsnCommonQualityCut",valid);
-   Int_t collisionType = AliRsnTrainManager::GetGlobalInt("IsCollisionType",valid);
+   TString rsnQualityCut = AliRsnTrainManager::GetGlobalStr("RsnQualityCut",valid);
+   Int_t isMC = AliRsnTrainManager::GetGlobalInt("IsMC",valid);
+   Int_t isRsnMini = AliRsnTrainManager::GetGlobalInt("IsRsnMini",valid);
+   Int_t isMixing = AliRsnTrainManager::GetGlobalInt("IsMixing",valid);
 
    // === USER HAS TO SET CORRECT NUMBER OF CUTS SETS =====
    Int_t numberOfCuts = 2;