Skip to content

Commit 1e84083

Browse files
committed
Please consider the following formatting changes
1 parent 4b0345f commit 1e84083

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Detectors/ITSMFT/common/workflow/include/ITSMFTWorkflow/DigitReaderSpec.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class DigitReader : public Task
4242
static constexpr o2::detectors::DetID ID{N == o2::detectors::DetID::ITS ? o2::detectors::DetID::ITS : o2::detectors::DetID::MFT};
4343
static constexpr o2::header::DataOrigin Origin{N == o2::detectors::DetID::ITS ? o2::header::gDataOriginITS : o2::header::gDataOriginMFT};
4444
static constexpr int NLayers{o2::itsmft::DPLAlpideParam<N>::getNLayers()};
45-
static constexpr int RLayers = o2::itsmft::DPLAlpideParam<N>::supportsStaggering() ? NLayers: 1;
45+
static constexpr int RLayers = o2::itsmft::DPLAlpideParam<N>::supportsStaggering() ? NLayers : 1;
4646

4747
DigitReader() = delete;
4848
DigitReader(bool useMC, bool useCalib, bool triggerOut);

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,10 @@ DataProcessorSpec getDigitWriterSpec(bool mctruth, bool dec, bool calib)
103103
return static_cast<size_t>(dh->subSpecification);
104104
};
105105
auto getName = [](std::string base, size_t index) -> std::string {
106-
if constexpr (o2::itsmft::DPLAlpideParam<N>::supportsStaggering()){
107-
return base += "_" + std::to_string(index);
108-
}
109-
return base;
106+
if constexpr (o2::itsmft::DPLAlpideParam<N>::supportsStaggering()) {
107+
return base += "_" + std::to_string(index);
108+
}
109+
return base;
110110
};
111111
return MakeRootTreeWriterSpec((detStr + "DigitWriter" + (dec ? "_dec" : "")).c_str(),
112112
(detStrL + "digits.root").c_str(),

0 commit comments

Comments
 (0)