]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Changes by Astrid: mofication of AddTask
authorfbock <fbock@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 17 Jun 2013 13:42:24 +0000 (13:42 +0000)
committerfbock <fbock@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 17 Jun 2013 13:42:24 +0000 (13:42 +0000)
PWGGA/EMCALTasks/macros/AddTaskEMCalpi0ClusterEvaluation.C

index 46a575726ed593f7f53ae924c41ef3935811881c..aa3e17f02523c014dcf18683382645a5d7173ff0 100644 (file)
@@ -80,20 +80,11 @@ void AddTaskEMCalpi0ClusterEvaluation( UInt_t triggerMaskPbPb = AliVEvent::kEMCE
 
   TString type = analysisManager->GetInputEventHandler()->GetDataType();
   AliEMCALTenderSupply *EMCALSupply = new AliEMCALTenderSupply("EMCALtender");
-
-  AliEMCALRecParam *params = new AliEMCALRecParam();
-  params->SetClusteringThreshold(0.3); // 100 MeV
-
-
-
-if(type=="ESD"){
- AliEMCALTenderSupply *EMCALSupply = new AliEMCALTenderSupply("EMCALtender");
   EMCALSupply->SetDebugLevel(2);
 
   AliEMCALRecParam *params = new AliEMCALRecParam();
   params->SetClusteringThreshold(0.3); // 100 MeV
 
-}
 
   AliAnalysisDataContainer *cinput1  = analysisManager->GetCommonInputContainer();
   AliAnalysisDataContainer *coutput1 = analysisManager->CreateContainer("MassHistos", TList::Class(), AliAnalysisManager::kOutputContainer, "AllMBLHC11h.root");