]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGPP/TRD/AliTRDrecoTask.cxx
make dQdl plot in p bins, reduce PID resolution for track IN
[u/mrichter/AliRoot.git] / PWGPP / TRD / AliTRDrecoTask.cxx
index d22f4aef7d9186b3027c98edf79cf69e332237a5..1c8708d9ec24e049769525bc0b4ba67b3b7d8f01 100644 (file)
@@ -498,7 +498,7 @@ void AliTRDrecoTask::Terminate(Option_t *)
 }\r
 \r
 //________________________________________________________\r
-void AliTRDrecoTask::SetNormZ(TH2 *h2, Int_t bxmin, Int_t bxmax, Int_t bymin, Int_t bymax, Float_t thr)\r
+Float_t AliTRDrecoTask::SetNormZ(TH2 *h2, Int_t bxmin, Int_t bxmax, Int_t bymin, Int_t bymax, Float_t thr)\r
 {\r
 // Normalize histo content to the mean value in the range specified by bin ranges\r
 // [bxmin, bxmax] on the x axis and [bymin, bymax] on the y axis.\r
@@ -518,6 +518,7 @@ void AliTRDrecoTask::SetNormZ(TH2 *h2, Int_t bxmin, Int_t bxmax, Int_t bymin, In
       else h2->SetBinContent(ix, iy, 100.*(c/s-1.));\r
     }\r
   }\r
+  return s;\r
 }\r
 \r
 //________________________________________________________\r