File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
Detectors/ITSMFT/common/reconstruction/include/ITSMFTReconstruction Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -47,17 +47,7 @@ struct ClustererParam : public o2::conf::ConfigurableParamHelper<ClustererParam<
4747 int maxBCDiffToSquashBiasLayer[getNLayers()] = {}; // /< squash mask per layer
4848 int getMaxBCDiffToSquashBias (int layer) const noexcept
4949 {
50- bool stag{false };
51- for (int i{0 }; i < getNLayers (); ++i) {
52- if (maxBCDiffToSquashBiasLayer[i] != 0 ) {
53- stag = true ;
54- break ;
55- }
56- }
57- if (stag) {
58- return maxBCDiffToSquashBiasLayer[layer];
59- }
60- return maxBCDiffToSquashBias;
50+ return maxBCDiffToSquashBiasLayer[layer] ? maxBCDiffToSquashBiasLayer[layer] : maxBCDiffToSquashBias;
6151 }
6252
6353 O2ParamDef (ClustererParam, getParamName().data());
You can’t perform that action at this time.
0 commit comments