coverity
authoralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 10 Jun 2011 09:37:58 +0000 (09:37 +0000)
committeralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 10 Jun 2011 09:37:58 +0000 (09:37 +0000)
T0/AliT0CalibTimeEq.cxx

index 7cafa0c..3a5fb6d 100644 (file)
@@ -235,7 +235,7 @@ Bool_t AliT0CalibTimeEq::ComputeOfflineParams(const char* filePhys, Float_t *tim
            if(!cfdtime) AliWarning(Form("no CFD histograms collected by pass0 %i", i));
          if(cfddiff) {
            nent = Int_t(cfddiff->GetEntries());
-           if(nent>20 )  { //!!!!!
+           if(nent>500 )  { //!!!!!
              if(cfddiff->GetRMS()>1.5 )
                GetMeanAndSigma(cfddiff, meandiff, sigmadiff);
              if(cfddiff->GetRMS()<=1.5) 
@@ -257,7 +257,7 @@ Bool_t AliT0CalibTimeEq::ComputeOfflineParams(const char* filePhys, Float_t *tim
          
          if(cfdtime) {
            nent = Int_t(cfdtime->GetEntries());
-           if(nent>20 )  { //!!!!!
+           if(nent>500 )  { //!!!!!
              if(cfdtime->GetRMS()>1.5 )
                GetMeanAndSigma(cfdtime,meancfdtime, sigmacfdtime);
              if(cfdtime->GetRMS()<=1.5)