execute phys sel for ESDs not AODs
authorgconesab <gustavo.conesa.balbastre@cern.ch>
Wed, 4 Jun 2014 15:07:19 +0000 (17:07 +0200)
committergconesab <gustavo.conesa.balbastre@cern.ch>
Wed, 4 Jun 2014 15:07:19 +0000 (17:07 +0200)
PWGGA/CaloTrackCorrelations/macros/QA/ana.C

index 405d59f..da40b30 100644 (file)
@@ -102,7 +102,7 @@ void ana(Int_t mode=mLocal)
     TString outputFile = AliAnalysisManager::GetCommonFileName(); 
     AliAnalysisDataContainer *cinput1 = mgr->GetCommonInputContainer();
     
-    if(kInputData=="AOD" && !kMC)
+    if(kInputData=="ESD" && !kMC)
     {
       gROOT->LoadMacro("$ALICE_ROOT/ANALYSIS/macros/AddTaskPhysicsSelection.C");
       AliPhysicsSelectionTask* physSelTask = AddTaskPhysicsSelection();