Fix warning passing float to int (Javier)
authorlaphecet <laphecet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 14 Jan 2010 21:12:39 +0000 (21:12 +0000)
committerlaphecet <laphecet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 14 Jan 2010 21:12:39 +0000 (21:12 +0000)
MUON/AliMUONReAlignTask.cxx

index 78c90b2..8dad37c 100644 (file)
@@ -393,7 +393,7 @@ void AliMUONReAlignTask::Exec(Option_t *)
        padInfo.SetCalibrated(digit->IsCalibrated());
        padInfo.SetPedestal(ped->ValueAsFloatFast(manuChannel,0), ped->ValueAsFloatFast(manuChannel,1));
        padInfo.SetGain(gain->ValueAsFloatFast(manuChannel,0), gain->ValueAsFloatFast(manuChannel,1),
-                       gain->ValueAsFloatFast(manuChannel,2), gain->ValueAsFloatFast(manuChannel,3));
+                       gain->ValueAsIntFast(manuChannel,2), gain->ValueAsIntFast(manuChannel,3));
        
        fClusterInfo->AddPad(padInfo);
       }