update macros to use new mass calculation
authorcbaumann <cbaumann@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 5 Jul 2012 13:49:04 +0000 (13:49 +0000)
committercbaumann <cbaumann@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 5 Jul 2012 13:49:04 +0000 (13:49 +0000)
PWGDQ/dielectron/macrosLMEE/AddTask_cbaumann_LMEEPbPb2011Cent.C
PWGDQ/dielectron/macrosLMEE/AddTask_cbaumann_LMEEPbPb2011SemiCent.C
PWGDQ/dielectron/macrosLMEE/LMEECutLib.C

index 5fd2cc4..fd63e19 100644 (file)
@@ -54,6 +54,7 @@ AliAnalysisTask *AddTask_cbaumann_LMEEPbPb2011Cent(Bool_t runRejection=kFALSE, B
   else {
 
       AliDielectron *lowmass1=ConfigLMEEPbPb2011(1,hasMC,enableCF);
+         lowmass1->SetUseKF(kFALSE);
     task->AddDielectron(lowmass1);
     printf("add: %s\n",lowmass1->GetName());
 /*      AliDielectron *lowmass7=ConfigLMEEPbPb2011(7,hasMC,enableCF);
index 362f5b8..3cc028a 100644 (file)
@@ -54,7 +54,8 @@ AliAnalysisTask *AddTask_cbaumann_LMEEPbPb2011SemiCent(Bool_t runRejection=kFALS
   else {
 
     AliDielectron *lowmass3=ConfigLMEEPbPb2011(3,hasMC,enableCF);
-    task->AddDielectron(lowmass3);
+    lowmass3->SetUseKF(kFALSE);
+       task->AddDielectron(lowmass3);
     printf("add: %s\n",lowmass3->GetName());
   }
 
index bb073d3..b56824d 100644 (file)
@@ -188,10 +188,10 @@ class LMEECutLib {
          //___________________________________________
 
          AliDielectronVarCuts *pTPC = new AliDielectronVarCuts("P>.4","P>.4");
-         pTPC->AddCut(AliDielectronVarManager::kP,.4,5.);
+         pTPC->AddCut(AliDielectronVarManager::kPt,.4,5.);
          
          AliDielectronVarCuts *pMin = new AliDielectronVarCuts("P>.2","P>.2");
-         pMin->AddCut(AliDielectronVarManager::kP,.2,5.);
+         pMin->AddCut(AliDielectronVarManager::kPt,.2,5.);
 
          switch (cutSet) {
                case kPbPb2011TPCandTOF :