LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "ParticleListAction.h"
Public Member Functions | |
void | clear () |
Resets the information (does not release memory it does not own) More... | |
bool | hasParticle () const |
Returns whether there is a particle. More... | |
bool | isPrimary () const |
Returns whether there is a particle. More... | |
bool | keepParticle () const |
Returns whether there is a particle known to be kept. More... | |
GeneratedParticleIndex_t | truthInfoIndex () const |
Returns the index of the particle in the generator truth record. More... | |
Public Attributes | |
cet::exempt_ptr< simb::MCParticle > | particle |
Object representing particle. More... | |
bool | keep = false |
if there was decision to keep More... | |
bool | drop |
GeneratedParticleIndex_t | truthIndex = simb::NoGeneratedParticleIndex |
Index of the particle in the original generator truth record. More... | |
Definition at line 49 of file ParticleListAction.h.
|
inline |
Resets the information (does not release memory it does not own)
Definition at line 59 of file ParticleListAction.h.
References simb::NoGeneratedParticleIndex.
Referenced by larg4::ParticleListAction::BeginOfEventAction(), larg4::ParticleListAction::PostTrackingAction(), and larg4::ParticleListAction::PreTrackingAction().
|
inline |
Returns whether there is a particle.
Definition at line 68 of file ParticleListAction.h.
Referenced by larg4::ParticleListAction::PostTrackingAction(), and larg4::ParticleListAction::SteppingAction().
|
inline |
Returns whether there is a particle.
Definition at line 71 of file ParticleListAction.h.
References simb::isGeneratedParticleIndex().
Referenced by larg4::ParticleListAction::PostTrackingAction().
|
inline |
Returns whether there is a particle known to be kept.
Definition at line 74 of file ParticleListAction.h.
|
inline |
Returns the index of the particle in the generator truth record.
Definition at line 77 of file ParticleListAction.h.
Referenced by larg4::ParticleListAction::PostTrackingAction().
bool larg4::ParticleListAction::ParticleInfo_t::drop |
For EM shower daughters, whether to drop them (independently of keep
)
Definition at line 53 of file ParticleListAction.h.
Referenced by larg4::ParticleListAction::PostTrackingAction(), and larg4::ParticleListAction::PreTrackingAction().
bool larg4::ParticleListAction::ParticleInfo_t::keep = false |
if there was decision to keep
Definition at line 52 of file ParticleListAction.h.
Referenced by larg4::ParticleListAction::AddPointToCurrentParticle(), larg4::ParticleListAction::PostTrackingAction(), and larg4::ParticleListAction::PreTrackingAction().
cet::exempt_ptr<simb::MCParticle> larg4::ParticleListAction::ParticleInfo_t::particle |
Object representing particle.
Definition at line 51 of file ParticleListAction.h.
Referenced by larg4::ParticleListAction::AddPointToCurrentParticle(), larg4::ParticleListAction::PostTrackingAction(), larg4::ParticleListAction::PreTrackingAction(), and larg4::ParticleListAction::SteppingAction().
GeneratedParticleIndex_t larg4::ParticleListAction::ParticleInfo_t::truthIndex = simb::NoGeneratedParticleIndex |
Index of the particle in the original generator truth record.
Definition at line 56 of file ParticleListAction.h.
Referenced by larg4::ParticleListAction::PreTrackingAction().