]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
remove duplicated setting, and some cosmetics
authorgconesab <gustavo.conesa.balbastre@cern.ch>
Wed, 30 Jul 2014 13:14:25 +0000 (15:14 +0200)
committergconesab <gustavo.conesa.balbastre@cern.ch>
Wed, 30 Jul 2014 13:22:04 +0000 (15:22 +0200)
PWGGA/CaloTrackCorrelations/macros/AddTaskIsoPhoton.C

index ecfe114ddfbf29fba35a4c0ca9cafdee0c622c93..21d660317bca29fd00b8c287237d2cd22be145b5 100644 (file)
@@ -502,15 +502,18 @@ AliAnaParticleIsolation* ConfigureIsolationAnalysis(TString calorimeter = "EMCAL
   
   printf("\t *** Set: R = %2.2f, Threshold %2.2f, Method %d, Neutral/Charged option %d ***\n",cone,pth,thresType,partInCone);
   
-  ic->SetPtThreshold(pth);
+  //Main parameters
+  //****
   ic->SetConeSize(cone);
   
-  ic->SetPtFraction(0.1);
-  //  ic->SetSumPtThreshold(1.0) ;
-  ic->SetPtThreshold(pth);
+  ic->SetPtFraction    (0.1);
+  ic->SetPtThreshold   (pth);
   ic->SetSumPtThreshold(pth);
+  
   ic->SetParticleTypeInCone(partInCone);
+  
   ic->SetICMethod(thresType);
+  //****
   
   //Do or not do isolation with previously produced AODs.
   //No effect if use of SwitchOnSeveralIsolation()