fix coverity
authorabercuci <abercuci@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 11 Feb 2011 10:31:21 +0000 (10:31 +0000)
committerabercuci <abercuci@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 11 Feb 2011 10:31:21 +0000 (10:31 +0000)
EVE/EveDet/AliEveTRDData.cxx

index 115431a..c8b0c3f 100644 (file)
@@ -119,7 +119,7 @@ void AliEveTRDDigits::SetData(AliTRDdigitsManager *digits)
 
       scale = adc[time] < 512 ? adc[time]/512. : 1.;
       AddQuad(c.GetY()-0.5*dy, c.GetZ()-0.5*dz*scale, c.GetX(), dy*0.95, dz*scale);
-      QuadValue(Float_t(adc[time]));
+      QuadValue(Int_t(adc[time]));
       QuadId(new TNamed(Form("ADC %d", adc[time]), Form("det[%3d(%02d_%d_%d)] col[%3d] row[%2d] tb[%2d]", det, sec, stk, ly, col, row, time)));
     } 
   }