}else{
if(nTimeOCDB == -1){
AliDebug(1, "Undefined number of timebins in OCDB, using value from raw data.");
- if(!fTimeTotal>0){
+ if(!(fTimeTotal>0)){
AliError(Form("Number of timebins in raw data is negative, skipping chamber[%3d]!", fDet));
return kFALSE;
}
irc = calibration->PadResponse(ampRight,maxRight,layer,newRightSignal);
// Calculate new overlapping ratio
- ratio = TMath::Min((Double_t) 1.0
- ,newLeftSignal[2] / (newLeftSignal[2] + newRightSignal[0]));
+ // Coverity
+ if (irc != 0) {
+ ratio = TMath::Min((Double_t) 1.0
+ ,newLeftSignal[2] / (newLeftSignal[2] + newRightSignal[0]));
+ }
}