LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "myParticleGunAction_service.hh"
Public Member Functions | |
myParticleGunActionService (fhicl::ParameterSet const &) | |
void | initialize () override |
void | generatePrimaries (G4Event *anEvent) override |
G4ParticleGun const * | GetGun () const |
std::string const & | myName () const |
Private Attributes | |
std::unique_ptr< G4ParticleGun > | particleGun_ {nullptr} |
G4int | nparticle_ |
std::string | particleName_ |
std::vector< double > | momentumDirection_ |
double | energy_ |
std::vector< double > | position_ |
Definition at line 51 of file myParticleGunAction_service.hh.
artg4tk::myParticleGunActionService::myParticleGunActionService | ( | fhicl::ParameterSet const & | p | ) |
Definition at line 43 of file myParticleGunAction.cc.
|
overridevirtual |
Reimplemented from artg4tk::PrimaryGeneratorActionBase.
Definition at line 71 of file myParticleGunAction.cc.
References particleGun_.
|
inline |
Definition at line 62 of file myParticleGunAction_service.hh.
References particleGun_.
|
overridevirtual |
Reimplemented from artg4tk::ActionBase.
Definition at line 53 of file myParticleGunAction.cc.
References energy_, momentumDirection_, nparticle_, particleGun_, particleName_, and position_.
|
inlineinherited |
|
private |
Definition at line 72 of file myParticleGunAction_service.hh.
Referenced by initialize().
|
private |
Definition at line 71 of file myParticleGunAction_service.hh.
Referenced by initialize().
|
private |
Definition at line 69 of file myParticleGunAction_service.hh.
Referenced by initialize().
|
private |
Definition at line 68 of file myParticleGunAction_service.hh.
Referenced by generatePrimaries(), GetGun(), and initialize().
|
private |
Definition at line 70 of file myParticleGunAction_service.hh.
Referenced by initialize().
|
private |
Definition at line 73 of file myParticleGunAction_service.hh.
Referenced by initialize().