]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fix coding violations
authorcblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 16 Oct 2009 07:36:17 +0000 (07:36 +0000)
committercblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 16 Oct 2009 07:36:17 +0000 (07:36 +0000)
TRD/qaRec/AliTRDcalibration.cxx

index b321f346d83c6be0492598150162f99cc22778f6..f7f35005a6764c61cb8a482e6277dbc042512e93 100644 (file)
@@ -633,7 +633,7 @@ case kCH2DVector:{
       }
     }
     hdetector = 0x0;
-    if((max == 0.0) || (detectormax <0.0) || (detectormax >=540.0)) break;
+    if((TMath::Abs(max) <= 0.001) || (detectormax <0.0) || (detectormax >=540.0)) break;
     if(!(hdetector = (TH2S *)h->GetLinearFitterHisto((Int_t)detectormax,kFALSE))) break;
     AliInfo(Form("The detector with the maximum of entries is %d",detectormax));
     hdetector->Draw();
@@ -1371,4 +1371,3 @@ Int_t AliTRDcalibration::GetNumberOfGroupsPRF(const char* nametitle) const
  
 
 }
-