]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGGA/EMCALTasks/macros/AddTaskEMCALIsoPhoton.C
bugfix
[u/mrichter/AliRoot.git] / PWGGA / EMCALTasks / macros / AddTaskEMCALIsoPhoton.C
index 834c24735f163b295b60ad65f0b668c034603b64..27d7f9719393ba8855860044ae04809f37bcedf0 100644 (file)
@@ -1,6 +1,8 @@
 
 
 
 
-AliAnalysisTaskEMCALIsoPhoton *AddTaskEMCALIsoPhoton()
+AliAnalysisTaskEMCALIsoPhoton *AddTaskEMCALIsoPhoton(
+TString period = "LHC11d"
+)
 {
   // Get the pointer to the existing analysis manager via the static access method.
   //==============================================================================
 {
   // Get the pointer to the existing analysis manager via the static access method.
   //==============================================================================
@@ -19,6 +21,7 @@ AliAnalysisTaskEMCALIsoPhoton *AddTaskEMCALIsoPhoton()
   Bool_t isMC = (mgr->GetMCtruthEventHandler() != NULL);
 
   //ana->SetClusThreshold(clusTh);
   Bool_t isMC = (mgr->GetMCtruthEventHandler() != NULL);
 
   //ana->SetClusThreshold(clusTh);
+  
   ana->SetTrainMode(kTRUE);
   //ana->SetGridMode(kTRUE);
   // ana->SetMcMode(isMC);
   ana->SetTrainMode(kTRUE);
   //ana->SetGridMode(kTRUE);
   // ana->SetMcMode(isMC);