Geant4  10.00.p03
CexmcPrimaryGeneratorAction Class Reference

#include <CexmcPrimaryGeneratorAction.hh>

+ Inheritance diagram for CexmcPrimaryGeneratorAction:
+ Collaboration diagram for CexmcPrimaryGeneratorAction:

Public Member Functions

 CexmcPrimaryGeneratorAction (CexmcPhysicsManager *physicsManager)
 
 ~CexmcPrimaryGeneratorAction ()
 
void GeneratePrimaries (G4Event *event)
 
void SetFwhmPosX (G4double value, G4bool fromMessenger=true)
 
void SetFwhmPosY (G4double value, G4bool fromMessenger=true)
 
void SetFwhmDirX (G4double value, G4bool fromMessenger=true)
 
void SetFwhmDirY (G4double value, G4bool fromMessenger=true)
 
void SetFwhmMomentumAmp (G4double value, G4bool fromMessenger=true)
 
G4double GetFwhmPosX (void) const
 
G4double GetFwhmPosY (void) const
 
G4double GetFwhmDirX (void) const
 
G4double GetFwhmDirY (void) const
 
G4double GetFwhmMomentumAmp (void) const
 
CexmcParticleGunGetParticleGun (void)
 
- Public Member Functions inherited from G4VUserPrimaryGeneratorAction
 G4VUserPrimaryGeneratorAction ()
 
virtual ~G4VUserPrimaryGeneratorAction ()
 

Private Attributes

CexmcParticleGunparticleGun
 
G4double fwhmPosX
 
G4double fwhmPosY
 
G4double fwhmDirX
 
G4double fwhmDirY
 
G4double fwhmMomentumAmp
 
CexmcPrimaryGeneratorActionMessengermessenger
 

Detailed Description

Definition at line 56 of file CexmcPrimaryGeneratorAction.hh.

Constructor & Destructor Documentation

CexmcPrimaryGeneratorAction::CexmcPrimaryGeneratorAction ( CexmcPhysicsManager physicsManager)
explicit

Definition at line 54 of file CexmcPrimaryGeneratorAction.cc.

References messenger, and particleGun.

CexmcPrimaryGeneratorAction::~CexmcPrimaryGeneratorAction ( )

Definition at line 64 of file CexmcPrimaryGeneratorAction.cc.

References messenger, and particleGun.

Member Function Documentation

G4double CexmcPrimaryGeneratorAction::GetFwhmDirX ( void  ) const
inline

Definition at line 172 of file CexmcPrimaryGeneratorAction.hh.

References fwhmDirX.

G4double CexmcPrimaryGeneratorAction::GetFwhmDirY ( void  ) const
inline

Definition at line 178 of file CexmcPrimaryGeneratorAction.hh.

References fwhmDirY.

G4double CexmcPrimaryGeneratorAction::GetFwhmMomentumAmp ( void  ) const
inline

Definition at line 184 of file CexmcPrimaryGeneratorAction.hh.

References fwhmMomentumAmp.

G4double CexmcPrimaryGeneratorAction::GetFwhmPosX ( void  ) const
inline

Definition at line 160 of file CexmcPrimaryGeneratorAction.hh.

References fwhmPosX.

G4double CexmcPrimaryGeneratorAction::GetFwhmPosY ( void  ) const
inline

Definition at line 166 of file CexmcPrimaryGeneratorAction.hh.

References fwhmPosY.

CexmcParticleGun * CexmcPrimaryGeneratorAction::GetParticleGun ( void  )

Definition at line 103 of file CexmcPrimaryGeneratorAction.cc.

References particleGun.

Referenced by CexmcChargeExchangeReconstructor::CexmcChargeExchangeReconstructor().

+ Here is the caller graph for this function:

void CexmcPrimaryGeneratorAction::SetFwhmDirX ( G4double  value,
G4bool  fromMessenger = true 
)
inline

Definition at line 130 of file CexmcPrimaryGeneratorAction.hh.

References CexmcCmdIsNotAllowed, fwhmDirX, and ThrowExceptionIfProjectIsRead().

Referenced by CexmcPrimaryGeneratorActionMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CexmcPrimaryGeneratorAction::SetFwhmDirY ( G4double  value,
G4bool  fromMessenger = true 
)
inline

Definition at line 140 of file CexmcPrimaryGeneratorAction.hh.

References CexmcCmdIsNotAllowed, fwhmDirY, and ThrowExceptionIfProjectIsRead().

Referenced by CexmcPrimaryGeneratorActionMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CexmcPrimaryGeneratorAction::SetFwhmMomentumAmp ( G4double  value,
G4bool  fromMessenger = true 
)
inline

Definition at line 150 of file CexmcPrimaryGeneratorAction.hh.

References CexmcCmdIsNotAllowed, fwhmMomentumAmp, and ThrowExceptionIfProjectIsRead().

Referenced by CexmcPrimaryGeneratorActionMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CexmcPrimaryGeneratorAction::SetFwhmPosX ( G4double  value,
G4bool  fromMessenger = true 
)
inline

Definition at line 110 of file CexmcPrimaryGeneratorAction.hh.

References CexmcCmdIsNotAllowed, fwhmPosX, and ThrowExceptionIfProjectIsRead().

Referenced by CexmcPrimaryGeneratorActionMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CexmcPrimaryGeneratorAction::SetFwhmPosY ( G4double  value,
G4bool  fromMessenger = true 
)
inline

Definition at line 120 of file CexmcPrimaryGeneratorAction.hh.

References CexmcCmdIsNotAllowed, fwhmPosY, and ThrowExceptionIfProjectIsRead().

Referenced by CexmcPrimaryGeneratorActionMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4double CexmcPrimaryGeneratorAction::fwhmDirX
private

Definition at line 99 of file CexmcPrimaryGeneratorAction.hh.

Referenced by GeneratePrimaries(), GetFwhmDirX(), and SetFwhmDirX().

G4double CexmcPrimaryGeneratorAction::fwhmDirY
private

Definition at line 101 of file CexmcPrimaryGeneratorAction.hh.

Referenced by GeneratePrimaries(), GetFwhmDirY(), and SetFwhmDirY().

G4double CexmcPrimaryGeneratorAction::fwhmMomentumAmp
private
G4double CexmcPrimaryGeneratorAction::fwhmPosX
private

Definition at line 95 of file CexmcPrimaryGeneratorAction.hh.

Referenced by GeneratePrimaries(), GetFwhmPosX(), and SetFwhmPosX().

G4double CexmcPrimaryGeneratorAction::fwhmPosY
private

Definition at line 97 of file CexmcPrimaryGeneratorAction.hh.

Referenced by GeneratePrimaries(), GetFwhmPosY(), and SetFwhmPosY().

CexmcPrimaryGeneratorActionMessenger* CexmcPrimaryGeneratorAction::messenger
private
CexmcParticleGun* CexmcPrimaryGeneratorAction::particleGun
private

The documentation for this class was generated from the following files: