]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONQAMappingCheck.cxx
Go from pointer to ifstream to ifstream.
[u/mrichter/AliRoot.git] / MUON / AliMUONQAMappingCheck.cxx
index 3ade857adf5f03d73b68b000846d9c7e01303f75..c55322f4da5a2e6561dd424aa72e3fae506ca1bc 100644 (file)
@@ -31,6 +31,7 @@
 #include "AliMUONQAMappingCheck.h"
 
 #include "AliCDBManager.h"
+#include "AliCodeTimer.h"
 #include "AliLog.h"
 #include "AliMUON2DMap.h"
 #include "AliMUONDigitCalibrator.h"
@@ -66,6 +67,8 @@ fNumberOfLegitimateMonoCathodeClusters(0)
 {
   /// Ctor
   
+  AliCodeTimerAuto(Form("RUN %d",runNumber),0);
+  
   fGeometryTransformer->LoadGeometryData();
   
   // Init the store with all the manus. Note that this is not strictly necessary, 
@@ -110,11 +113,10 @@ void AliMUONQAMappingCheck::AddClusterLocation(Int_t detElemId,
       p = new AliMUONCalibParamND(4,AliMpConstants::ManuNofChannels(),detElemId,manuId,0.0);
       fStore->Add(p);
     }
-    if ( !monoCathode) 
-    {
-      p->SetValueAsDouble(manuChannel,0,p->ValueAsDouble(manuChannel,0)+1.0);
-    }
-    else 
+
+    p->SetValueAsDouble(manuChannel,0,p->ValueAsDouble(manuChannel,0)+1.0);
+    
+    if ( monoCathode )
     {
       p->SetValueAsDouble(manuChannel,1,p->ValueAsDouble(manuChannel,1)+1.0); 
       if (!legitimateMonoCathode)