]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
adjust
authorloizides <loizides@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 3 Jun 2012 14:40:07 +0000 (14:40 +0000)
committerloizides <loizides@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 3 Jun 2012 14:40:07 +0000 (14:40 +0000)
PWGGA/EMCALJetTasks/macros/AddTaskHadCorr.C

index e520eb9f2eb6cffd0470463f9d90271d7401ac12..ad013c84f18c1b30cc312ffc11f7a9f38dcb00bc 100644 (file)
@@ -8,8 +8,10 @@ AliHadCorrTask* AddTaskHadCorr(
   const Double_t minPt       = 0.15,
   const Double_t phiMatch    = 0.050,
   const Double_t etaMatch    = 0.025,
-  const char *outputname     = "AnalysisResults.root",
-  const Bool_t   histo       = kFALSE
+  const Double_t Eexcl       = 0,
+  const Bool_t trackClus     = kTRUE,
+  const Bool_t   histo       = kFALSE,
+  const char *outputname     = "AnalysisResults.root"
 )
 {  
   // Get the pointer to the existing analysis manager via the static access method.
@@ -41,7 +43,10 @@ AliHadCorrTask* AddTaskHadCorr(
   hcor->SetPhiMatch(phiMatch);
   hcor->SetEtaMatch(etaMatch);
   hcor->SetHadCorr(hadcorr);
-  hcor->SetMinPt(minPt);
+  hcor->SetPtCut(minPt);
+  hcor->SetEexcl(Eexcl);
+  hcor->SetTrackClus(trackClus);
+  hcor->SetAnaType(AliAnalysisTaskEmcal::kEMCAL);
 
   //-------------------------------------------------------
   // Final settings, pass to manager and set the containers