return kFALSE;
}
-
fMaxThresh = fReconstructor->GetRecoParam()->GetClusMaxThresh();
fSigThresh = fReconstructor->GetRecoParam()->GetClusSigThresh();
fMinMaxCutSigma = fReconstructor->GetRecoParam()->GetMinMaxCutSigma();
fDet = AliTRDgeometry::GetDetector(fLayer,istack,isector);
if (fDet != det) {
- AliError("Strange Detector number Missmatch!");
+ AliError("Strange Detector number mismatch!");
return kFALSE;
}
//Int_t nRowMax = fDigits->GetNrow();
fTimeTotal = fDigits->GetNtime();
+ // Check consistency between OCDB and raw data
+ if (fTimeTotal != calibration->GetNumberOfTimeBinsDCS()) {
+ AliError(Form("Number of timebins does not match OCDB value (raw:%d, OCDB:%d)"
+ ,fTimeTotal,calibration->GetNumberOfTimeBinsDCS()));
+ }
+
// Detector wise calibration object for the gain factors
const AliTRDCalDet *calGainFactorDet = calibration->GetGainFactorDet();
// Calibration object with pad wise values for the gain factors