]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG1/TRD/AliTRDpidRefMakerLQ.cxx
Corrected cast
[u/mrichter/AliRoot.git] / PWG1 / TRD / AliTRDpidRefMakerLQ.cxx
index 85f554937c61fe3e169247f3b981a4e911c70918..60571c6e71c5e3bb35d4417bf56edc061f5c8a0a 100644 (file)
@@ -284,7 +284,7 @@ Bool_t AliTRDpidRefMakerLQ::PostProcess()
       // estimate bucket statistics
       Int_t idx(AliTRDCalPIDLQ::GetModelID(ip,is)),
             nb(kMinBuckets), // number of buckets
-            ns(Int_t(Float_t(ndata[idx])/nb));    //statistics/bucket
+       ns((Int_t)((Float_t)(ndata[idx])/nb));    //statistics/bucket
             
       AliDebug(2, Form("pBin[%d] sBin[%d] n[%d] ns[%d] nb[%d]", ip, is, ndata[idx], ns, nb));
       if(ns<Int_t(kMinStat)){