#include "KillerAction_service.hh"
Definition at line 45 of file KillerAction_service.hh.
Definition at line 39 of file KillerAction.cc.
41 ,
killPi0(p.get<
bool>(
"killPi0"))
42 ,
killeta(p.get<
bool>(
"killeta"))
StackingActionBase(std::string name)
bool killGammafromnCapture
artg4tk::KillerActionService::~KillerActionService |
( |
| ) |
|
|
virtual |
virtual void artg4tk::ActionBase::initialize |
( |
| ) |
|
|
inlinevirtualinherited |
bool artg4tk::KillerActionService::killNewTrack |
( |
const G4Track * |
aTrack | ) |
|
|
overridevirtual |
Reimplemented from artg4tk::StackingActionBase.
Definition at line 51 of file KillerAction.cc.
References killeta, killGammafromnCapture, and killPi0.
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") {
bool killGammafromnCapture
std::string const& artg4tk::ActionBase::myName |
( |
| ) |
const |
|
inlineinherited |
bool artg4tk::KillerActionService::killeta |
|
private |
bool artg4tk::KillerActionService::killGammafromnCapture |
|
private |
bool artg4tk::KillerActionService::killPi0 |
|
private |
The documentation for this class was generated from the following files: