File tree Expand file tree Collapse file tree
Detectors/Base/include/DetectorsBase Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments