]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FMD/AliFMDRawWriter.cxx
Plotting macro updates
[u/mrichter/AliRoot.git] / FMD / AliFMDRawWriter.cxx
index d7676dad1f98522a5e1fbffc89a8d926a8efa9e7..7ebf00d0ec89376652aa7fa050e712bd2daa633c 100644 (file)
@@ -218,7 +218,7 @@ AliFMDRawWriter::WriteDigits(TClonesArray* digits)
     threshold  = pars->GetZeroSuppression(det, ring, sector, strip);
     sampleRate = pars->GetSampleRate(det, ring, sector, strip);
     preSamples = pars->GetPreSamples(det, ring, sector, strip);
-    factor     = pars->GetPedestalFactor();
+    factor     = UShort_t(pars->GetPedestalFactor());
 
     if (det != oldDet) {
       AliFMDDebug(5, ("Got new detector: %d (was %d)", det, oldDet));