We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f85bd63 commit 5559507Copy full SHA for 5559507
1 file changed
Detectors/Base/include/DetectorsBase/Stack.h
@@ -357,11 +357,13 @@ inline bool Stack::isFromRadDecay(const int id)
357
return false;
358
}
359
const auto entry = mTrackIDtoParticlesEntry[id];
360
- if (entry < 0 || entry >= static_cast<int>(mParticles.size())) return false;
+ if (entry < 0 || entry >= static_cast<int>(mParticles.size()))
361
+ return false;
362
auto part = (mParticles[entry]);
363
364
// primary particle ?
- if (part.getProcess() == 0 ) return false;
365
+ if (part.getProcess() == 0 )
366
367
// particle directly from radioactive decay ?
368
if (part.getProcess() == kPRadDecay) {
369
return true;
0 commit comments