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

#include <geant4/tree/geant4-10.6-release/examples/advanced/medical_linac/include/ML2PrimaryGenerationActionMessenger.hh>

+ Inheritance diagram for CML2PrimaryGenerationActionMessenger:
+ Collaboration diagram for CML2PrimaryGenerationActionMessenger:

Public Member Functions

 CML2PrimaryGenerationActionMessenger (CML2PrimaryGenerationAction *PML2PrimaryGenerationAction)
 
 ~CML2PrimaryGenerationActionMessenger (void)
 
void SetNewValue (G4UIcommand *cmd, G4String newValue)
 
- 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

CML2PrimaryGenerationActionpML2PrimaryGenerationAction
 
G4UIcmdWithAnIntegernRecycling
 
G4UIcmdWithAnIntegernMaxParticlesInRamPhaseSpace
 
G4UIcmdWithADoubleAndUnitGunMeanEnergy
 
G4UIcmdWithADoubleAndUnitGunStdEnergy
 
G4UIcmdWithADoubleAndUnitGunRadius
 
G4UIcmdWithAStringcalculatedPhaseSpaceFileIN
 
G4UIcmdWithAStringsourceTypeName
 

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 ML2PrimaryGenerationActionMessenger.hh.

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

Constructor & Destructor Documentation

CML2PrimaryGenerationActionMessenger::CML2PrimaryGenerationActionMessenger ( CML2PrimaryGenerationAction PML2PrimaryGenerationAction)

Definition at line 50 of file ML2PrimaryGenerationActionMessenger.cc.

View newest version in sPHENIX GitHub at line 50 of file ML2PrimaryGenerationActionMessenger.cc

References calculatedPhaseSpaceFileIN, GunMeanEnergy, GunRadius, GunStdEnergy, nMaxParticlesInRamPhaseSpace, nRecycling, G4UIcmdWithADoubleAndUnit::SetDefaultUnit(), G4UIcmdWithAnInteger::SetDefaultValue(), G4UIcmdWithAString::SetDefaultValue(), G4UIcmdWithADoubleAndUnit::SetDefaultValue(), G4UIcommand::SetGuidance(), and sourceTypeName.

+ Here is the call graph for this function:

CML2PrimaryGenerationActionMessenger::~CML2PrimaryGenerationActionMessenger ( void  )

Member Function Documentation

void CML2PrimaryGenerationActionMessenger::SetNewValue ( G4UIcommand cmd,
G4String  newValue 
)
virtual

Reimplemented from G4UImessenger.

Definition at line 94 of file ML2PrimaryGenerationActionMessenger.cc.

View newest version in sPHENIX GitHub at line 94 of file ML2PrimaryGenerationActionMessenger.cc

References calculatedPhaseSpaceFileIN, G4UIcmdWithADoubleAndUnit::GetNewDoubleValue(), G4UIcmdWithAnInteger::GetNewIntValue(), GunMeanEnergy, GunRadius, GunStdEnergy, nMaxParticlesInRamPhaseSpace, nRecycling, pML2PrimaryGenerationAction, and sourceTypeName.

+ Here is the call graph for this function:

Member Data Documentation

G4UIcmdWithAString* CML2PrimaryGenerationActionMessenger::calculatedPhaseSpaceFileIN
private
G4UIcmdWithADoubleAndUnit* CML2PrimaryGenerationActionMessenger::GunMeanEnergy
private
G4UIcmdWithADoubleAndUnit * CML2PrimaryGenerationActionMessenger::GunRadius
private
G4UIcmdWithADoubleAndUnit * CML2PrimaryGenerationActionMessenger::GunStdEnergy
private
G4UIcmdWithAnInteger* CML2PrimaryGenerationActionMessenger::nMaxParticlesInRamPhaseSpace
private
G4UIcmdWithAnInteger* CML2PrimaryGenerationActionMessenger::nRecycling
private
CML2PrimaryGenerationAction* CML2PrimaryGenerationActionMessenger::pML2PrimaryGenerationAction
private

Definition at line 65 of file ML2PrimaryGenerationActionMessenger.hh.

View newest version in sPHENIX GitHub at line 65 of file ML2PrimaryGenerationActionMessenger.hh

Referenced by SetNewValue().

G4UIcmdWithAString * CML2PrimaryGenerationActionMessenger::sourceTypeName
private

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