enable switch for MC
authorcbaumann <cbaumann@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 11 Jun 2012 22:41:37 +0000 (22:41 +0000)
committercbaumann <cbaumann@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 11 Jun 2012 22:41:37 +0000 (22:41 +0000)
PWGDQ/dielectron/macrosLMEE/AddTask_cbaumann_LMEEPbPb2011.C

index 57b22ee..1ff1cda 100644 (file)
@@ -33,10 +33,10 @@ AliAnalysisTask *AddTask_cbaumann_LMEEPbPb2011(Bool_t runAll=kFALSE){
        gROOT->LoadMacro(configFile.Data());
   LMEECutLib* cutlib = new LMEECutLib();
   AliAnalysisTaskMultiDielectron *task=new AliAnalysisTaskMultiDielectron("MultiDiEData");
-  if (!hasMC) task->UsePhysicsSelection();
+  if (!hasMC){ task->UsePhysicsSelection();
   task->SetTriggerMask(triggers[0]);
   task->SetEventFilter(cutlib->GetEventCuts(LMEECutLib::kPbPb2011TPCandTOF)); //
-       
+  }
 
   //load dielectron configuration file