34 #include "Geant4/G4Track.hh" 35 #include "Geant4/G4VProcess.hh" 41 , killPi0(p.
get<bool>(
"killPi0"))
42 , killeta(p.
get<bool>(
"killeta"))
43 , killGammafromnCapture(p.
get<bool>(
"killGammafromnCapture"))
44 , logInfo_(
"KillerAction")
53 if (aTrack->GetParentID() == 0)
55 if (aTrack->GetDefinition()->GetParticleName() ==
"pi0") {
60 if (aTrack->GetDefinition()->GetParticleName() ==
"eta") {
65 if (aTrack->GetDefinition()->GetParticleName() ==
"gamma") {
66 if (aTrack->GetCreatorProcess()->GetProcessName() ==
"nCapture") {
virtual ~KillerActionService()
KillerActionService(fhicl::ParameterSet const &)
bool killNewTrack(const G4Track *aTrack) override
decltype(auto) get(T &&obj)
ADL-aware version of std::to_string.
bool killGammafromnCapture