ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CexmcPrimaryGeneratorAction Class Reference

#include <geant4/tree/geant4-10.6-release/examples/advanced/ChargeExchangeMC/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
 
CexmcParticleGun * GetParticleGun (void)
 
- Public Member Functions inherited from G4VUserPrimaryGeneratorAction
 G4VUserPrimaryGeneratorAction ()
 
virtual ~G4VUserPrimaryGeneratorAction ()
 

Private Attributes

CexmcParticleGun * particleGun
 
G4double fwhmPosX
 
G4double fwhmPosY
 
G4double fwhmDirX
 
G4double fwhmDirY
 
G4double fwhmMomentumAmp
 
CexmcPrimaryGeneratorActionMessenger * messenger
 

Detailed Description

Definition at line 56 of file CexmcPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 56 of file CexmcPrimaryGeneratorAction.hh

Constructor & Destructor Documentation

CexmcPrimaryGeneratorAction::CexmcPrimaryGeneratorAction ( CexmcPhysicsManager *  physicsManager)
explicit

Definition at line 54 of file CexmcPrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 54 of file CexmcPrimaryGeneratorAction.cc

References messenger, and particleGun.

CexmcPrimaryGeneratorAction::~CexmcPrimaryGeneratorAction ( )

Definition at line 64 of file CexmcPrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 64 of file CexmcPrimaryGeneratorAction.cc

References messenger, and particleGun.

Member Function Documentation

void CexmcPrimaryGeneratorAction::GeneratePrimaries ( G4Event *  event)
virtual
G4double CexmcPrimaryGeneratorAction::GetFwhmDirX ( void  ) const
inline

Definition at line 172 of file CexmcPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 172 of file CexmcPrimaryGeneratorAction.hh

References fwhmDirX.

G4double CexmcPrimaryGeneratorAction::GetFwhmDirY ( void  ) const
inline

Definition at line 178 of file CexmcPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 178 of file CexmcPrimaryGeneratorAction.hh

References fwhmDirY.

G4double CexmcPrimaryGeneratorAction::GetFwhmMomentumAmp ( void  ) const
inline

Definition at line 184 of file CexmcPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 184 of file CexmcPrimaryGeneratorAction.hh

References fwhmMomentumAmp.

G4double CexmcPrimaryGeneratorAction::GetFwhmPosX ( void  ) const
inline

Definition at line 160 of file CexmcPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 160 of file CexmcPrimaryGeneratorAction.hh

References fwhmPosX.

G4double CexmcPrimaryGeneratorAction::GetFwhmPosY ( void  ) const
inline

Definition at line 166 of file CexmcPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 166 of file CexmcPrimaryGeneratorAction.hh

References fwhmPosY.

CexmcParticleGun * CexmcPrimaryGeneratorAction::GetParticleGun ( void  )

Definition at line 103 of file CexmcPrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub 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.

View newest version in sPHENIX GitHub 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.

View newest version in sPHENIX GitHub 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.

View newest version in sPHENIX GitHub 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.

View newest version in sPHENIX GitHub 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.

View newest version in sPHENIX GitHub 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.

View newest version in sPHENIX GitHub 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.

View newest version in sPHENIX GitHub at line 101 of file CexmcPrimaryGeneratorAction.hh

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

G4double CexmcPrimaryGeneratorAction::fwhmMomentumAmp
private

Definition at line 103 of file CexmcPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 103 of file CexmcPrimaryGeneratorAction.hh

Referenced by GeneratePrimaries(), GetFwhmMomentumAmp(), and SetFwhmMomentumAmp().

G4double CexmcPrimaryGeneratorAction::fwhmPosX
private

Definition at line 95 of file CexmcPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub 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.

View newest version in sPHENIX GitHub at line 97 of file CexmcPrimaryGeneratorAction.hh

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

CexmcPrimaryGeneratorActionMessenger* CexmcPrimaryGeneratorAction::messenger
private

Definition at line 106 of file CexmcPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 106 of file CexmcPrimaryGeneratorAction.hh

Referenced by CexmcPrimaryGeneratorAction(), and ~CexmcPrimaryGeneratorAction().

CexmcParticleGun* CexmcPrimaryGeneratorAction::particleGun
private

Definition at line 93 of file CexmcPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 93 of file CexmcPrimaryGeneratorAction.hh

Referenced by CexmcPrimaryGeneratorAction(), GeneratePrimaries(), GetParticleGun(), and ~CexmcPrimaryGeneratorAction().


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