Skip to content

Commit 08537a4

Browse files
committed
fix: getting ctpconfig
1 parent 0de363f commit 08537a4

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

Detectors/CTP/macro/TestConfig.C

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
#include <CCDB/BasicCCDBManager.h>
1414
#include <DataFormatsCTP/Configuration.h>
1515
#include "CTPWorkflowScalers/ctpCCDBManager.h"
16-
#include "Framework/Logger.h"
1716
#endif
17+
18+
#include "Framework/Logger.h"
1819
using namespace o2::ctp;
1920

2021
void TestConfig(bool test = 1)

Detectors/CTP/reconstruction/src/RawDataDecoder.cxx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -607,16 +607,18 @@ int RawDataDecoder::shiftInputs(std::map<o2::InteractionRecord, CTPDigit>& digit
607607
if (d.intRecord.bc == (o2::constants::lhc::LHCMaxBunches - L1shift)) { // input can be lost because latency class-l1input = 1
608608
nTwoIlost++;
609609
} else {
610-
LOG(error) << d.intRecord << " " << d.CTPClassMask << " " << d.CTPInputMask;
611-
// std::cout << std::hex << d.CTPClassMask << " " << d.CTPInputMask << std::dec << std::endl;
610+
//LOG(error) << d.intRecord << " " << d.CTPClassMask << " " << d.CTPInputMask;
611+
//std::cout << "ERROR:" << std::hex << d.CTPClassMask << " " << d.CTPInputMask << std::dec << std::endl;
612612
nTwoI++;
613613
}
614614
}
615615
}
616616
digits.push_back(dig.second);
617617
}
618-
if (nTwoI || nTwoIlost) { // Trigger class wo Input
618+
if (nTwoI) { // Trigger class wo Input
619619
LOG(error) << "LM:" << nLM << " L0:" << nL0 << " L1:" << nL1 << " TwI:" << nTwI << " Trigger classes wo input:" << nTwoI;
620+
}
621+
if(nTwoIlost) {
620622
LOG(warn) << " Trigger classes wo input from diff latency 1:" << nTwoIlost;
621623
}
622624
return 0;

Detectors/CTP/workflow/src/EntropyDecoderSpec.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ DataProcessorSpec getEntropyDecoderSpec(int verbosity, unsigned int sspec)
9595
inputs.emplace_back("ctf_CTP", "CTP", "CTFDATA", sspec, Lifetime::Timeframe);
9696
inputs.emplace_back("ctfdict_CTP", "CTP", "CTFDICT", 0, Lifetime::Condition, ccdbParamSpec("CTP/Calib/CTFDictionaryTree"));
9797
inputs.emplace_back("trigoffset", "CTP", "Trig_Offset", 0, Lifetime::Condition, ccdbParamSpec("CTP/Config/TriggerOffsets"));
98-
98+
inputs.emplace_back("ctpconfig", "CTP", "CTPCONFIG", 0, Lifetime::Condition, ccdbParamSpec("CTP/Config/Config", 1));
9999
return DataProcessorSpec{
100100
"ctp-entropy-decoder",
101101
inputs,

0 commit comments

Comments
 (0)