Skip to content

Commit 61219d7

Browse files
committed
TriggerParams old variable same name
1 parent 5f6de5a commit 61219d7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

DataFormats/Detectors/CTP/include/DataFormatsCTP/TriggerOffsetsParam.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace ctp
2424
struct TriggerOffsetsParam : public o2::conf::ConfigurableParamHelper<TriggerOffsetsParam> {
2525
static constexpr int MaxNDet = 32; // take with margin to account for possible changes / upgrades
2626
int64_t LM_L0 = 15;
27-
int64_t L0_L1_classes = 280; // trigger class latency
27+
int64_t L0_L1 = 280; // trigger class latency
2828
int64_t globalInputsShift = 0; // Global shift of inps; customOffset[CTP] is global shift of classes
2929
int64_t customOffset[MaxNDet] = {};
3030
int64_t L0_L1_inputs = 281; // trigger input latency

Detectors/CTP/reconstruction/src/RawDataDecoder.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ int RawDataDecoder::addCTPDigit(uint32_t linkCRU, uint32_t orbit, gbtword80_t& d
8989
}
9090
} else if (linkCRU == o2::ctp::GBTLinkIDClassRec) {
9191
int32_t BCShiftCorrection = -o2::ctp::TriggerOffsetsParam::Instance().customOffset[o2::detectors::DetID::CTP];
92-
int32_t offset = BCShiftCorrection + o2::ctp::TriggerOffsetsParam::Instance().LM_L0 + o2::ctp::TriggerOffsetsParam::Instance().L0_L1_classes - 1;
92+
int32_t offset = BCShiftCorrection + o2::ctp::TriggerOffsetsParam::Instance().LM_L0 + o2::ctp::TriggerOffsetsParam::Instance().L0_L1 - 1;
9393
LOG(debug) << "tcr ir ori:" << ir;
9494
if ((ir.orbit <= mTFOrbit) && ((int32_t)ir.bc < offset)) {
9595
// LOG(warning) << "Loosing tclass:" << ir;

0 commit comments

Comments
 (0)