Skip to content

Commit ba8953a

Browse files
committed
Please consider the following formatting changes
1 parent 106d380 commit ba8953a

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

  • Detectors/Base/include/DetectorsBase

Detectors/Base/include/DetectorsBase/Stack.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -357,11 +357,13 @@ inline bool Stack::isFromRadDecay(const int id)
357357
return false;
358358
}
359359
const auto entry = mTrackIDtoParticlesEntry[id];
360-
if (entry < 0 || entry >= static_cast<int>(mParticles.size())) return false;
360+
if (entry < 0 || entry >= static_cast<int>(mParticles.size()))
361+
return false;
361362
auto part = (mParticles[entry]);
362363

363364
// primary particle ?
364-
if (part.getProcess() == 0 ) return false;
365+
if (part.getProcess() == 0)
366+
return false;
365367
// particle directly from radioactive decay ?
366368
if (part.getProcess() == kPRadDecay) {
367369
return true;
@@ -370,7 +372,7 @@ inline bool Stack::isFromRadDecay(const int id)
370372
// search in particle history
371373
auto imo = mTrackIDtoParticlesEntry[part.getMotherTrackId()];
372374
auto isRad = false;
373-
while (imo > 0 ) {
375+
while (imo > 0) {
374376
auto mother = (mParticles[imo]);
375377
if (mother.getProcess() == kPRadDecay) {
376378
isRad = true;

0 commit comments

Comments
 (0)