Fixing a warning
authorlaphecet <laphecet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 8 May 2010 10:52:47 +0000 (10:52 +0000)
committerlaphecet <laphecet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 8 May 2010 10:52:47 +0000 (10:52 +0000)
MUON/AliMUONTriggerQAChecker.cxx

index f60840a..044e3ce 100644 (file)
@@ -100,7 +100,7 @@ AliMUONTriggerQAChecker::CheckRaws(TObjArray** list, const AliMUONRecoParam* )
     TH1* hAnalyzedEvents = AliQAv1::GetData(list,AliMUONQAIndices::kTriggerRawNAnalyzedEvents,AliRecoParam::ConvertIndex(specie));
     Int_t nAnalyzedEvents = 0;
     if ( hAnalyzedEvents ) 
-      nAnalyzedEvents = hAnalyzedEvents->GetBinContent(1);
+      nAnalyzedEvents = TMath::Nint(hAnalyzedEvents->GetBinContent(1));
     for(Int_t ihisto = 0; ihisto<kNrawsHistos; ihisto++){
       currHisto = AliQAv1::GetData(list,histoRawsPercentIndex[ihisto],AliRecoParam::ConvertIndex(specie));
       if ( currHisto ){