#include <CexmcPrimaryGeneratorAction.hh>
◆ CexmcPrimaryGeneratorAction()
CexmcPrimaryGeneratorAction::CexmcPrimaryGeneratorAction |
( |
CexmcPhysicsManager * |
physicsManager | ) |
|
|
explicit |
◆ ~CexmcPrimaryGeneratorAction()
CexmcPrimaryGeneratorAction::~CexmcPrimaryGeneratorAction |
( |
| ) |
|
◆ GeneratePrimaries()
void CexmcPrimaryGeneratorAction::GeneratePrimaries |
( |
G4Event * |
event | ) |
|
|
virtual |
Implements G4VUserPrimaryGeneratorAction.
Definition at line 71 of file CexmcPrimaryGeneratorAction.cc.
89 G4ThreeVector newAngle( randAngleX, randAngleY, origDir.z() );
ThreeVector shoot(const G4int Ap, const G4int Af)
const G4ThreeVector & GetOrigPosition(void) const
void SetParticleMomentum(G4double aMomentum)
G4double GetOrigMomentumAmp(void) const
void SetParticleMomentumDirection(G4ParticleMomentum aMomentumDirection)
virtual void GeneratePrimaryVertex(G4Event *evt)
void SetParticlePosition(G4ThreeVector aPosition)
void PrepareForNewEvent(void)
const G4ThreeVector & GetOrigDirection(void) const
CexmcParticleGun * particleGun
const G4double CexmcFwhmToStddev(0.42466)
◆ GetFwhmDirX()
G4double CexmcPrimaryGeneratorAction::GetFwhmDirX |
( |
void |
| ) |
const |
|
inline |
◆ GetFwhmDirY()
G4double CexmcPrimaryGeneratorAction::GetFwhmDirY |
( |
void |
| ) |
const |
|
inline |
◆ GetFwhmMomentumAmp()
G4double CexmcPrimaryGeneratorAction::GetFwhmMomentumAmp |
( |
void |
| ) |
const |
|
inline |
◆ GetFwhmPosX()
G4double CexmcPrimaryGeneratorAction::GetFwhmPosX |
( |
void |
| ) |
const |
|
inline |
◆ GetFwhmPosY()
G4double CexmcPrimaryGeneratorAction::GetFwhmPosY |
( |
void |
| ) |
const |
|
inline |
◆ GetParticleGun()
◆ SetFwhmDirX()
void CexmcPrimaryGeneratorAction::SetFwhmDirX |
( |
G4double |
value, |
|
|
G4bool |
fromMessenger = true |
|
) |
| |
|
inline |
◆ SetFwhmDirY()
void CexmcPrimaryGeneratorAction::SetFwhmDirY |
( |
G4double |
value, |
|
|
G4bool |
fromMessenger = true |
|
) |
| |
|
inline |
◆ SetFwhmMomentumAmp()
void CexmcPrimaryGeneratorAction::SetFwhmMomentumAmp |
( |
G4double |
value, |
|
|
G4bool |
fromMessenger = true |
|
) |
| |
|
inline |
◆ SetFwhmPosX()
void CexmcPrimaryGeneratorAction::SetFwhmPosX |
( |
G4double |
value, |
|
|
G4bool |
fromMessenger = true |
|
) |
| |
|
inline |
◆ SetFwhmPosY()
void CexmcPrimaryGeneratorAction::SetFwhmPosY |
( |
G4double |
value, |
|
|
G4bool |
fromMessenger = true |
|
) |
| |
|
inline |
◆ fwhmDirX
G4double CexmcPrimaryGeneratorAction::fwhmDirX |
|
private |
◆ fwhmDirY
G4double CexmcPrimaryGeneratorAction::fwhmDirY |
|
private |
◆ fwhmMomentumAmp
G4double CexmcPrimaryGeneratorAction::fwhmMomentumAmp |
|
private |
◆ fwhmPosX
G4double CexmcPrimaryGeneratorAction::fwhmPosX |
|
private |
◆ fwhmPosY
G4double CexmcPrimaryGeneratorAction::fwhmPosY |
|
private |
◆ messenger
◆ particleGun
The documentation for this class was generated from the following files: