M AliTPCcalibDButil.cxx - Protection agains missing Offset calibration - One year history
M AliTPCTransform.cxx - Check availability of CTP calibration
Marian
if (AliTPCcalibDB::Instance()->IsTrgL0()){
// by defualt we assume L1 trigger is used - make a correction in case of L0
AliCTPTimeParams* ctp = AliTPCcalibDB::Instance()->GetCTPTimeParams();
- Double_t delay = ctp->GetDelayL1L0()*0.000000025;
- x[2]-=delay/param->GetTSample();
+ if (ctp){
+ //for TPC standalone runs no ctp info
+ Double_t delay = ctp->GetDelayL1L0()*0.000000025;
+ x[2]-=delay/param->GetTSample();
+ }
}
x[2]-= param->GetNTBinsL1();
x[2]*= zwidth; // tranform time bin to the distance to the ROC
//entry->SetOwner(kTRUE);
fCTPTimeParams=dynamic_cast<AliCTPTimeParams*>(entry->GetObject());
}else{
- AliFatal("TPC - Missing calibration entry")
+ AliError("TPC - Missing calibration entry")
}
//
if (!fTransform) {