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

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

+ Inheritance diagram for CML2AcceleratorConstructionMessenger:
+ Collaboration diagram for CML2AcceleratorConstructionMessenger:

Public Member Functions

 CML2AcceleratorConstructionMessenger (CML2AcceleratorConstruction *acceleratorConstructor)
 
 ~CML2AcceleratorConstructionMessenger (void)
 
void SetNewValue (G4UIcommand *cmd, G4String newValue)
 
void SetReferenceWorld (G4bool bOV)
 
- 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

CML2AcceleratorConstructionpAcceleratorConstructor
 
G4UIcmdWithAStringAcceleratorName
 
G4UIcmdWithAStringacceleratorMacFileName
 
G4UIcmdWithADoubleAndUnitrotationX
 
G4UIcmdWithADoubleAndUnitisoCentre
 
G4UIcmdWithABoolbRotate90Y
 
G4bool bOnlyVisio
 

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 62 of file ML2AcceleratorConstructionMessenger.hh.

View newest version in sPHENIX GitHub at line 62 of file ML2AcceleratorConstructionMessenger.hh

Constructor & Destructor Documentation

CML2AcceleratorConstructionMessenger::CML2AcceleratorConstructionMessenger ( CML2AcceleratorConstruction acceleratorConstructor)

Definition at line 54 of file ML2AcceleratorConstructionMessenger.cc.

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

References acceleratorMacFileName, AcceleratorName, bOnlyVisio, bRotate90Y, isoCentre, mm, pAcceleratorConstructor, rotationX, G4UIcmdWithADoubleAndUnit::SetDefaultUnit(), and G4UIcmdWithADoubleAndUnit::SetDefaultValue().

+ Here is the call graph for this function:

CML2AcceleratorConstructionMessenger::~CML2AcceleratorConstructionMessenger ( void  )

Definition at line 87 of file ML2AcceleratorConstructionMessenger.cc.

View newest version in sPHENIX GitHub at line 87 of file ML2AcceleratorConstructionMessenger.cc

References acceleratorMacFileName, AcceleratorName, bRotate90Y, isoCentre, and rotationX.

Member Function Documentation

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

Reimplemented from G4UImessenger.

Definition at line 95 of file ML2AcceleratorConstructionMessenger.cc.

View newest version in sPHENIX GitHub at line 95 of file ML2AcceleratorConstructionMessenger.cc

References acceleratorMacFileName, AcceleratorName, bRotate90Y, isoCentre, pAcceleratorConstructor, and rotationX.

void CML2AcceleratorConstructionMessenger::SetReferenceWorld ( G4bool  bOV)
inline

Definition at line 68 of file ML2AcceleratorConstructionMessenger.hh.

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

References bOnlyVisio.

Member Data Documentation

G4UIcmdWithAString * CML2AcceleratorConstructionMessenger::acceleratorMacFileName
private
G4UIcmdWithAString* CML2AcceleratorConstructionMessenger::AcceleratorName
private
G4bool CML2AcceleratorConstructionMessenger::bOnlyVisio
private

Definition at line 76 of file ML2AcceleratorConstructionMessenger.hh.

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

Referenced by CML2AcceleratorConstructionMessenger(), and SetReferenceWorld().

G4UIcmdWithABool* CML2AcceleratorConstructionMessenger::bRotate90Y
private
G4UIcmdWithADoubleAndUnit * CML2AcceleratorConstructionMessenger::isoCentre
private
CML2AcceleratorConstruction* CML2AcceleratorConstructionMessenger::pAcceleratorConstructor
private

Definition at line 70 of file ML2AcceleratorConstructionMessenger.hh.

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

Referenced by CML2AcceleratorConstructionMessenger(), and SetNewValue().

G4UIcmdWithADoubleAndUnit* CML2AcceleratorConstructionMessenger::rotationX
private

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