From dd0be8a7ccb94d8ac24052222d6324ba8436301f Mon Sep 17 00:00:00 2001 From: fca Date: Wed, 21 Oct 2009 13:32:36 +0000 Subject: [PATCH] Fixing the warnings (without screwing up all as I did last time) --- MUON/AliMUONCalibrationData.cxx | 2 +- MUON/AliMUONContourMaker.cxx | 2 +- MUON/AliMUONManuContourMaker.cxx | 2 +- MUON/AliMUONPedestalEventGenerator.cxx | 2 +- MUON/AliMUONQADataMakerRec.cxx | 2 +- MUON/AliMUONQAMappingCheck.cxx | 2 +- MUON/AliMUONRawWriter.cxx | 2 +- MUON/AliMUONTracker.cxx | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/MUON/AliMUONCalibrationData.cxx b/MUON/AliMUONCalibrationData.cxx index cc79b496cbb..b803047137e 100644 --- a/MUON/AliMUONCalibrationData.cxx +++ b/MUON/AliMUONCalibrationData.cxx @@ -216,7 +216,7 @@ AliMUONCalibrationData::CreateObject(Int_t runNumber, const char* path, Int_t* s { - AliCodeTimerAutoClass(Form("Failed to get %s for run %d",path,runNumber),0); + AliCodeTimerAutoClass(Form("Failed to get %s for run %d",path,runNumber),1); } diff --git a/MUON/AliMUONContourMaker.cxx b/MUON/AliMUONContourMaker.cxx index 534f454d49b..303930d2eb0 100644 --- a/MUON/AliMUONContourMaker.cxx +++ b/MUON/AliMUONContourMaker.cxx @@ -105,7 +105,7 @@ AliMUONContourMaker::CreateContour(const TObjArray& polygons, const char* name) if ( polygons.GetLast() == 0 ) { - AliCodeTimerAuto("Trivial case",0); + AliCodeTimerAuto("Trivial case",1); contour = new AliMUONContour(name); pol = static_cast(polygons.First()); contour->Add(*pol); diff --git a/MUON/AliMUONManuContourMaker.cxx b/MUON/AliMUONManuContourMaker.cxx index 15832df8bc8..c055766994a 100644 --- a/MUON/AliMUONManuContourMaker.cxx +++ b/MUON/AliMUONManuContourMaker.cxx @@ -186,7 +186,7 @@ AliMUONManuContourMaker::CreateMotifContour(const AliMpMotifPosition& motifPosit } { - AliCodeTimerAuto("localmanucontour.add",0); + AliCodeTimerAuto("localmanucontour.add",1); fLocalManuContours.Add(new TObjString(mpName),contour); } diff --git a/MUON/AliMUONPedestalEventGenerator.cxx b/MUON/AliMUONPedestalEventGenerator.cxx index 8cda95d7d1d..a63b55bf2e6 100644 --- a/MUON/AliMUONPedestalEventGenerator.cxx +++ b/MUON/AliMUONPedestalEventGenerator.cxx @@ -290,7 +290,7 @@ AliMUONPedestalEventGenerator::Exec(Option_t*) if ( fMakeDDL ) { - AliCodeTimerAuto("Digits2Raw",0); + AliCodeTimerAuto("Digits2Raw",1); Digits2Raw(i); } } diff --git a/MUON/AliMUONQADataMakerRec.cxx b/MUON/AliMUONQADataMakerRec.cxx index 566147f1e2a..dcefdbcc4ce 100644 --- a/MUON/AliMUONQADataMakerRec.cxx +++ b/MUON/AliMUONQADataMakerRec.cxx @@ -1270,7 +1270,7 @@ void AliMUONQADataMakerRec::MakeRecPointsTracker(TTree* clustersTree) if (!fClusterStore) { - AliCodeTimerAuto("ClusterStore creation",0); + AliCodeTimerAuto("ClusterStore creation",1); fClusterStore = AliMUONVClusterStore::Create(*clustersTree); if (!fClusterStore) { diff --git a/MUON/AliMUONQAMappingCheck.cxx b/MUON/AliMUONQAMappingCheck.cxx index a538c18a19e..880957cac58 100644 --- a/MUON/AliMUONQAMappingCheck.cxx +++ b/MUON/AliMUONQAMappingCheck.cxx @@ -253,7 +253,7 @@ Bool_t AliMUONQAMappingCheck::IsChannelDead(Int_t detElemId, Int_t manuId, Int_t { /// Using the statusmaker, tells if a given channel is dead - return ( fDigitCalibrator->StatusMap(detElemId,manuId,manuChannel) & AliMUONPadStatusMapMaker::SelfDeadMask() != 0 ); + return ( fDigitCalibrator->StatusMap(detElemId,manuId,manuChannel) & (AliMUONPadStatusMapMaker::SelfDeadMask() != 0) ); } //____________________________________________________________________________ diff --git a/MUON/AliMUONRawWriter.cxx b/MUON/AliMUONRawWriter.cxx index 14773a3036c..bd06a746a18 100644 --- a/MUON/AliMUONRawWriter.cxx +++ b/MUON/AliMUONRawWriter.cxx @@ -162,7 +162,7 @@ Int_t AliMUONRawWriter::Digits2Raw(AliMUONVDigitStore* digitStore, if ( digitStore ) { - AliCodeTimerAuto("for Tracker",0) + AliCodeTimerAuto("for Tracker",1) AliMpExMap busPatchMap; diff --git a/MUON/AliMUONTracker.cxx b/MUON/AliMUONTracker.cxx index 5a41cd31b8c..8f833d5b993 100644 --- a/MUON/AliMUONTracker.cxx +++ b/MUON/AliMUONTracker.cxx @@ -223,7 +223,7 @@ Int_t AliMUONTracker::Clusters2Tracks(AliESDEvent* esd) { // cut to reject shower events - AliCodeTimerAuto("MUON Shower events",0); + AliCodeTimerAuto("MUON Shower events",1); AliWarning(Form("Probably got a shower event (%d trigger tracks). Will not reconstruct tracks.", TriggerTrackStore()->GetSize())); -- 2.39.3