Skip to content

Commit 53182e3

Browse files
committed
Use detectror-specific AlpideParam for ROF-rate check
1 parent 23ec08d commit 53182e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Detectors/ITSMFT/common/workflow/src/STFDecoderSpec.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ void STFDecoder<Mapping>::run(ProcessingContext& pc)
186186
}
187187
nTriggersProcessed = mDecoder->getNROFsProcessed() - nTriggersProcessed - 1;
188188

189-
const auto& alpParams = o2::itsmft::DPLAlpideParam<o2::detectors::DetID::ITS>::Instance();
189+
const auto& alpParams = o2::itsmft::DPLAlpideParam<Mapping::getDetID()>::Instance();
190190
int expectedTFSize = static_cast<int>(o2::constants::lhc::LHCMaxBunches * o2::base::GRPGeomHelper::instance().getGRPECS()->getNHBFPerTF() / alpParams.roFrameLengthInBC); // 3564*32 / ROF Length in BS = number of ROFs per TF
191191
if ((expectedTFSize != nTriggersProcessed) && mTFCounter > 1 && nTriggersProcessed > 0) {
192192
LOG(error) << "Inconsistent number of ROF per TF. From parameters: " << expectedTFSize << " from readout: " << nTriggersProcessed;

0 commit comments

Comments
 (0)