Updates to AddTask macro from Chris
authorMarco van Leeuwen <marco.van.leeuwen@cern.ch>
Thu, 2 Jan 2014 14:57:05 +0000 (15:57 +0100)
committerMarco van Leeuwen <marco.van.leeuwen@cern.ch>
Thu, 2 Jan 2014 14:57:05 +0000 (15:57 +0100)
PWGJE/EMCALJetTasks/macros/AddTaskFullpAJets.C

index fc4a563..c4fb172 100644 (file)
@@ -54,10 +54,10 @@ AliAnalysisTaskFullpAJets *AddTaskFullpAJets(const char* proj_name, const Double
         task->SetClusterPtCut(minMCPartPt);
         
         // ########## CHARGED JETS ##########
-        jetFinderTask = AddTaskEmcalJet(usedMCParticles,"",cKT,jetRadius,cCHARGEDJETS,minMCPartPt,minMCPartPt);
+        jetFinderTask = AddTaskEmcalJet(usedMCParticles,"",cKT,jetRadius,cCHARGEDJETS,minMCPartPt,minMCPartPt,0.01,1,"Jet");
         task->SetkTChargedJetName(jetFinderTask->GetName());
         
-        jetFinderTask = AddTaskEmcalJet(usedMCParticles,"",cANTIKT,jetRadius,cCHARGEDJETS,minMCPartPt,minMCPartPt);
+        jetFinderTask = AddTaskEmcalJet(usedMCParticles,"",cANTIKT,jetRadius,cCHARGEDJETS,minMCPartPt,minMCPartPt,0.01,1,"Jet");
         task->SetAkTChargedJetName(jetFinderTask->GetName());
         
         // ########## FULL JETS ##########
@@ -73,17 +73,17 @@ AliAnalysisTaskFullpAJets *AddTaskFullpAJets(const char* proj_name, const Double
         task->SetClusterPtCut(minClusterPt);
 
         // ########## CHARGED JETS ##########
-        jetFinderTask = AddTaskEmcalJet(usedTracks,"",cKT,jetRadius,cCHARGEDJETS,minTrackPt,minClusterPt);
+        jetFinderTask = AddTaskEmcalJet(usedTracks,"",cKT,jetRadius,cCHARGEDJETS,minTrackPt,minClusterPt,0.01,1,"Jet");
         task->SetkTChargedJetName(jetFinderTask->GetName());
         
-        jetFinderTask = AddTaskEmcalJet(usedTracks,"",cANTIKT,jetRadius,cCHARGEDJETS,minTrackPt,minClusterPt);
+        jetFinderTask = AddTaskEmcalJet(usedTracks,"",cANTIKT,jetRadius,cCHARGEDJETS,minTrackPt,minClusterPt,0.01,1,"Jet");
         task->SetAkTChargedJetName(jetFinderTask->GetName());
         
         // ########## FULL JETS ##########
-        jetFinderTask = AddTaskEmcalJet(usedTracks,outClusName,cKT,jetRadius,cFULLJETS,minTrackPt,minClusterPt);
+        jetFinderTask = AddTaskEmcalJet(usedTracks,outClusName,cKT,jetRadius,cFULLJETS,minTrackPt,minClusterPt,0.01,1,"Jet");
         task->SetkTFullJetName(jetFinderTask->GetName());
 
-        jetFinderTask = AddTaskEmcalJet(usedTracks,outClusName,cANTIKT,jetRadius,cFULLJETS,minTrackPt,minClusterPt);
+        jetFinderTask = AddTaskEmcalJet(usedTracks,outClusName,cANTIKT,jetRadius,cFULLJETS,minTrackPt,minClusterPt,0.01,1,"Jet");
         task->SetAkTFullJetName(jetFinderTask->GetName());
     }
 
@@ -106,5 +106,4 @@ AliAnalysisTaskFullpAJets *AddTaskFullpAJets(const char* proj_name, const Double
     mgr->ConnectOutput(task,1,coutput);
 
     return task;
-
 }