Skip to content

Commit 0de363f

Browse files
committed
clang
1 parent ba4bea3 commit 0de363f

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

Detectors/CTP/reconstruction/include/CTPReconstruction/CTFCoder.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ o2::ctf::CTFIOSize CTFCoder::decode(const CTF::base& ec, VTRG& data, LumiInfo& l
220220
}
221221
if (mDecodeInps) {
222222
uint64_t trgclassmask = 0xffffffffffffffff;
223-
if(mCTPConfig.getRunNumber() != 0) {
223+
if (mCTPConfig.getRunNumber() != 0) {
224224
trgclassmask = mCTPConfig.getTriggerClassMask();
225225
}
226226
std::cout << "trgclassmask:" << std::hex << trgclassmask << std::dec << std::endl;

Detectors/CTP/reconstruction/src/RawDataDecoder.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ int RawDataDecoder::decodeRaw(o2::framework::InputRecord& inputs, std::vector<o2
294294
}
295295
if (mDoDigits & mDecodeInps) {
296296
uint64_t trgclassmask = 0xffffffffffffffff;
297-
if(mCTPConfig.getRunNumber() != 0) {
297+
if (mCTPConfig.getRunNumber() != 0) {
298298
trgclassmask = mCTPConfig.getTriggerClassMask();
299299
}
300300
std::cout << "trgclassmask:" << std::hex << trgclassmask << std::dec << std::endl;
@@ -604,11 +604,11 @@ int RawDataDecoder::shiftInputs(std::map<o2::InteractionRecord, CTPDigit>& digit
604604
if (d.CTPInputMask.count()) {
605605
nTwI++;
606606
} else {
607-
if(d.intRecord.bc == (o2::constants::lhc::LHCMaxBunches - L1shift)) { // input can be lost because latency class-l1input = 1
607+
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 << std::hex << d.CTPClassMask << " " << d.CTPInputMask << std::dec << std::endl;
612612
nTwoI++;
613613
}
614614
}

Detectors/CTP/workflow/src/EntropyDecoderSpec.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,17 @@ void EntropyDecoderSpec::run(ProcessingContext& pc)
5757

5858
mCTFCoder.updateTimeDependentParams(pc, true);
5959
auto buff = pc.inputs().get<gsl::span<o2::ctf::BufferType>>("ctf_CTP");
60-
60+
6161
const auto ctpcfg = pc.inputs().get<o2::ctp::CTPConfiguration*>("ctpconfig");
6262
auto& digits = pc.outputs().make<std::vector<CTPDigit>>(OutputRef{"digits"});
6363
auto& lumi = pc.outputs().make<LumiInfo>(OutputRef{"CTPLumi"});
6464

6565
// since the buff is const, we cannot use EncodedBlocks::relocate directly, instead we wrap its data to another flat object
6666
if (buff.size()) {
6767
const auto ctfImage = o2::ctp::CTF::getImage(buff.data());
68-
if(mCTFCoder.getDecodeInps()){
68+
if (mCTFCoder.getDecodeInps()) {
6969
const auto ctpcfg = pc.inputs().get<o2::ctp::CTPConfiguration*>("ctpconfig");
70-
if(ctpcfg != nullptr) {
70+
if (ctpcfg != nullptr) {
7171
mCTFCoder.setCTPConfig(*ctpcfg);
7272
}
7373
}

Detectors/CTP/workflow/src/RawDecoderSpec.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ void RawDecoderSpec::run(framework::ProcessingContext& ctx)
139139
} else {
140140
if (mDecodeinputs) {
141141
const auto ctpcfg = inputs.get<o2::ctp::CTPConfiguration*>("ctpconfig");
142-
if(ctpcfg != nullptr) {
142+
if (ctpcfg != nullptr) {
143143
mDecoder.setCTPConfig(*ctpcfg);
144144
}
145145
}

0 commit comments

Comments
 (0)