]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
minor fixes
authorzconesa <zconesa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 25 Oct 2013 17:38:06 +0000 (17:38 +0000)
committerzconesa <zconesa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 25 Oct 2013 17:38:06 +0000 (17:38 +0000)
PWGPP/EvTrkSelection/macros/AddSingleTrackEfficiencyTask.C
PWGPP/EvTrkSelection/macros/RebinCFContainer.C

index b6e4a15a1a7b6d8378dcb4e05702f3999c14d326..daf9526cde5964b3f0b149eaa4c82975142adc24 100644 (file)
@@ -20,7 +20,7 @@ const Int_t minclustersTPC = 70;
 const Int_t minclustersITS = 2;
 const Bool_t TPCRefit = kTRUE;
 const Bool_t ITSRefit = kFALSE;
-const Bool_t charge  = kTRUE;
+const Bool_t ischarged = kTRUE;
 const Int_t  fBit = 0;
 
 //
@@ -176,7 +176,7 @@ AliCFSingleTrackEfficiencyTask *AddSingleTrackEfficiencyTask(const Bool_t readAO
   AliSingleTrackEffCuts* cuts = new AliSingleTrackEffCuts();
   cuts->SetPtRange(ptmin,ptmax);
   cuts->SetEtaRange(etamin,etamax);
-  cuts->SetIsCharged(charge);
+  cuts->SetIsCharged(ischarged);
   cuts->SetMinVtxContr(1);
   cuts->SetMaxVtxZ(zvtxmax);
   cuts->SetNumberOfClusters(mintrackrefsITS,mintrackrefsTPC,mintrackrefsTOF,mintrackrefsMUON);
index 752e71f458a343b52697f1167a29a9e954d16de9..333beb6d2f4202ba949c59f46c7e1215135f66bd 100644 (file)
@@ -76,7 +76,7 @@ void RebinCFContainer(const char *infile="AnalysisResults.root",Int_t rebinVar=0
   Int_t nLimits=0;
   Double_t* newLimits =0;
   if(rebinVar==0) {
-    nLimits = 18;
+    nLimits = 15;
     newLimits = new Double_t[nLimits+1];
     newLimits[0]=0;
     newLimits[1]=0.5;
@@ -90,13 +90,10 @@ void RebinCFContainer(const char *infile="AnalysisResults.root",Int_t rebinVar=0
     newLimits[9]=6;
     newLimits[10]=7;
     newLimits[11]=8;
-    newLimits[12]=9;
-    newLimits[13]=10;
-    newLimits[14]=11;
-    newLimits[15]=12;
-    newLimits[16]=14;
-    newLimits[17]=16;
-    newLimits[18]=24;
+    newLimits[12]=10;
+    newLimits[13]=12;
+    newLimits[14]=14;
+    newLimits[15]=16;
   } else if (rebinVar==1) {
     nLimits = 9;
     newLimits = new Double_t[nLimits+1];