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

#include <geant4/tree/geant4-10.6-release/examples/advanced/ChargeExchangeMC/include/CexmcParticleGunMessenger.hh>

+ Inheritance diagram for CexmcParticleGunMessenger:
+ Collaboration diagram for CexmcParticleGunMessenger:

Public Member Functions

 CexmcParticleGunMessenger (CexmcParticleGun *particleGun)
 
 ~CexmcParticleGunMessenger ()
 
void SetNewValue (G4UIcommand *cmd, G4String value)
 
- Public Member Functions inherited from G4UImessenger
 G4UImessenger ()
 
 G4UImessenger (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true)
 
virtual ~G4UImessenger ()
 
virtual G4String GetCurrentValue (G4UIcommand *command)
 
G4bool operator== (const G4UImessenger &messenger) const
 
G4bool CommandsShouldBeInMaster () const
 

Private Attributes

CexmcParticleGunparticleGun
 
G4UIcmdWithAStringsetParticle
 
G4UIcmdWith3VectorAndUnitsetOrigPosition
 
G4UIcmdWith3VectorsetOrigDirection
 
G4UIcmdWithADoubleAndUnitsetOrigMomentumAmp
 

Additional Inherited Members

- Protected Member Functions inherited from G4UImessenger
G4String ItoS (G4int i)
 
G4String DtoS (G4double a)
 
G4String BtoS (G4bool b)
 
G4int StoI (G4String s)
 
G4long StoL (G4String s)
 
G4double StoD (G4String s)
 
G4bool StoB (G4String s)
 
void AddUIcommand (G4UIcommand *newCommand)
 
void CreateDirectory (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true)
 
template<typename T >
TCreateCommand (const G4String &cname, const G4String &dsc)
 
- Protected Attributes inherited from G4UImessenger
G4UIdirectorybaseDir
 
G4String baseDirName
 
G4bool commandsShouldBeInMaster
 

Detailed Description

Definition at line 57 of file CexmcParticleGunMessenger.hh.

View newest version in sPHENIX GitHub at line 57 of file CexmcParticleGunMessenger.hh

Constructor & Destructor Documentation

CexmcParticleGunMessenger::~CexmcParticleGunMessenger ( )

Definition at line 101 of file CexmcParticleGunMessenger.cc.

View newest version in sPHENIX GitHub at line 101 of file CexmcParticleGunMessenger.cc

References setOrigDirection, setOrigMomentumAmp, setOrigPosition, and setParticle.

Member Function Documentation

Member Data Documentation

CexmcParticleGun* CexmcParticleGunMessenger::particleGun
private

Definition at line 68 of file CexmcParticleGunMessenger.hh.

View newest version in sPHENIX GitHub at line 68 of file CexmcParticleGunMessenger.hh

Referenced by SetNewValue().

G4UIcmdWith3Vector* CexmcParticleGunMessenger::setOrigDirection
private

Definition at line 74 of file CexmcParticleGunMessenger.hh.

View newest version in sPHENIX GitHub at line 74 of file CexmcParticleGunMessenger.hh

Referenced by CexmcParticleGunMessenger(), SetNewValue(), and ~CexmcParticleGunMessenger().

G4UIcmdWithADoubleAndUnit* CexmcParticleGunMessenger::setOrigMomentumAmp
private

Definition at line 76 of file CexmcParticleGunMessenger.hh.

View newest version in sPHENIX GitHub at line 76 of file CexmcParticleGunMessenger.hh

Referenced by CexmcParticleGunMessenger(), SetNewValue(), and ~CexmcParticleGunMessenger().

G4UIcmdWith3VectorAndUnit* CexmcParticleGunMessenger::setOrigPosition
private

Definition at line 72 of file CexmcParticleGunMessenger.hh.

View newest version in sPHENIX GitHub at line 72 of file CexmcParticleGunMessenger.hh

Referenced by CexmcParticleGunMessenger(), SetNewValue(), and ~CexmcParticleGunMessenger().

G4UIcmdWithAString* CexmcParticleGunMessenger::setParticle
private

Definition at line 70 of file CexmcParticleGunMessenger.hh.

View newest version in sPHENIX GitHub at line 70 of file CexmcParticleGunMessenger.hh

Referenced by CexmcParticleGunMessenger(), SetNewValue(), and ~CexmcParticleGunMessenger().


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