Bug fix in chamber status (Julian)
[u/mrichter/AliRoot.git] / TRD / AliTRDPreprocessorOffline.cxx
index 1c42ed646213d00e7362516f875b66e40bc8c7e1..9d3047f1d91450037c5ad5aeb84c41a32e44b83f 100644 (file)
@@ -105,6 +105,7 @@ ClassImp(AliTRDPreprocessorOffline)
   fMinStatsGain(800),
   fMinStatsPRF(600),
   fMinStatsChamberStatus(20),
+  fMinSingleStatsChamberStatus(0.05),
   fBackCorrectGain(kFALSE),  
   fBackCorrectVdrift(kTRUE),
   fNotEnoughStatisticsForTheGain(kFALSE),
@@ -894,7 +895,7 @@ Bool_t AliTRDPreprocessorOffline::AnalyzeChamberStatus()
   // set up AliTRDCalibChamberStatus
   AliTRDCalibChamberStatus *ChamberStatus = new AliTRDCalibChamberStatus();
   ChamberStatus->SetSparseI(fSparse);
-  ChamberStatus->AnalyseHisto(fMinStatsChamberStatus);
+  ChamberStatus->AnalyseHisto(fMinStatsChamberStatus, fMinSingleStatsChamberStatus);
   // get AliTRDCalChamberStatus
   AliTRDCalChamberStatus *CalChamberStatus = ChamberStatus->GetCalChamberStatus();