diff --git a/Detectors/Base/include/DetectorsBase/Stack.h b/Detectors/Base/include/DetectorsBase/Stack.h index a893cdd4b7bc7..3845f10c4f5b4 100644 --- a/Detectors/Base/include/DetectorsBase/Stack.h +++ b/Detectors/Base/include/DetectorsBase/Stack.h @@ -357,11 +357,13 @@ inline bool Stack::isFromRadDecay(const int id) return false; } const auto entry = mTrackIDtoParticlesEntry[id]; - if (entry < 0 || entry >= static_cast(mParticles.size())) return false; + if (entry < 0 || entry >= static_cast(mParticles.size())) + return false; auto part = (mParticles[entry]); // primary particle ? - if (part.getProcess() == 0 ) return false; + if (part.getProcess() == 0) + return false; // particle directly from radioactive decay ? if (part.getProcess() == kPRadDecay) { return true;