]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/Cal/AliTRDCalDet.cxx
Masking of not calibrated chambers
[u/mrichter/AliRoot.git] / TRD / Cal / AliTRDCalDet.cxx
index 4f8767a4a9d5746401cbd2af91939c2e1cb0a0d3..537779a274eaede137706080e48f962637459912 100644 (file)
@@ -690,7 +690,7 @@ Double_t AliTRDCalDet::CalcRMS(Bool_t wghtPads)
        return CalcRMS(wghtPads, calib);
 }
 //_____________________________________________________________________________
-Double_t AliTRDCalDet::GetMeanSM(Bool_t wghtPads, Int_t sector)
+Double_t AliTRDCalDet::GetMeanSM(Bool_t wghtPads, Int_t sector) const
 {
   // Calculate the mean value for given sector
   // wghPads = kTRUE weighted with the number of pads in case of a AliTRDCalPad created (t0)
@@ -721,7 +721,7 @@ Double_t AliTRDCalDet::GetMeanSM(Bool_t wghtPads, Int_t sector)
     det++;
   }
        
-       Double_t mean=0.0;
+  Double_t mean=0.0;
   if(!wghtPads) mean= meanSM[sector];
   if(wghtPads) mean= meanSMWP[sector];
        
@@ -730,4 +730,3 @@ Double_t AliTRDCalDet::GetMeanSM(Bool_t wghtPads, Int_t sector)
        
   return mean;
 }
-