]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
add phi/eta match
authorloizides <loizides@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 3 May 2012 06:56:22 +0000 (06:56 +0000)
committerloizides <loizides@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 3 May 2012 06:56:22 +0000 (06:56 +0000)
PWGGA/EMCALJetTasks/macros/AddTaskHadCorr.C

index 4240143d51a81424c92c1f0864905ca8183c4f0d..6d775b50419ffc46190807059fcae44084f787ad 100644 (file)
@@ -6,6 +6,8 @@ AliHadCorrTask* AddTaskHadCorr(
   const char *outClusName    = "CaloClustersCorr",
   const Double_t hadcorr     = 1,
   const Double_t minPt       = 0.15,
+  const Double_t phiMatch    = 0.050,
+  const Double_t etaMatch    = 0.025,
   const char *outputname     = "AnalysisResults.root"
 )
 {  
@@ -34,7 +36,9 @@ AliHadCorrTask* AddTaskHadCorr(
   AliHadCorrTask *hcor = new AliHadCorrTask(name);
   hcor->SetTracksName(nTracks);
   hcor->SetClusName(nClusters);
-  hcor->SetOutClusName(outClusName);  
+  hcor->SetOutClusName(outClusName);
+  hcor->SetPhiMatch(phiMatch);
+  hcor->SetEtaMatch(etaMatch);
   hcor->SetHadCorr(hadcorr);
   hcor->SetMinPt(minPt);