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

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

+ Inheritance diagram for CML2Acc2Messenger:
+ Collaboration diagram for CML2Acc2Messenger:

Public Member Functions

 CML2Acc2Messenger (CML2Acc2 *acc2)
 
 ~CML2Acc2Messenger (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

CML2Acc2pAcc2
 
G4UIcmdWithAnIntegeridEnergy
 
G4UIcmdWithADoubleAndUnitaperture1X
 
G4UIcmdWithADoubleAndUnitaperture2X
 
G4UIcmdWithADoubleAndUnitaperture1Y
 
G4UIcmdWithADoubleAndUnitaperture2Y
 
G4UIcmdWithADoubleAndUnitleavesA
 
G4UIcmdWithADoubleAndUnitleavesB
 

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

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

Constructor & Destructor Documentation

CML2Acc2Messenger::CML2Acc2Messenger ( CML2Acc2 acc2)
CML2Acc2Messenger::~CML2Acc2Messenger ( void  )

Definition at line 90 of file ML2Acc2Messenger.cc.

View newest version in sPHENIX GitHub at line 90 of file ML2Acc2Messenger.cc

References aperture1X, aperture1Y, aperture2X, aperture2Y, idEnergy, leavesA, and leavesB.

Member Function Documentation

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

Reimplemented from G4UImessenger.

Definition at line 100 of file ML2Acc2Messenger.cc.

View newest version in sPHENIX GitHub at line 100 of file ML2Acc2Messenger.cc

References aperture1X, aperture1Y, aperture2X, aperture2Y, G4UIcmdWithADoubleAndUnit::GetNewDoubleValue(), G4UIcmdWithAnInteger::GetNewIntValue(), G4UIcmdWithADoubleAndUnit::GetNewUnitValue(), idEnergy, leavesA, leavesB, pAcc2, CML2Accelerator::setidEnergy(), CML2Accelerator::setJaw1X(), CML2Accelerator::setJaw1Y(), CML2Accelerator::setJaw2X(), CML2Accelerator::setJaw2Y(), CML2Accelerator::setLeavesAx(), and CML2Accelerator::setLeavesBx().

+ Here is the call graph for this function:

Member Data Documentation

G4UIcmdWithADoubleAndUnit* CML2Acc2Messenger::aperture1X
private

Definition at line 67 of file ML2Acc2Messenger.hh.

View newest version in sPHENIX GitHub at line 67 of file ML2Acc2Messenger.hh

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

G4UIcmdWithADoubleAndUnit * CML2Acc2Messenger::aperture1Y
private

Definition at line 67 of file ML2Acc2Messenger.hh.

View newest version in sPHENIX GitHub at line 67 of file ML2Acc2Messenger.hh

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

G4UIcmdWithADoubleAndUnit * CML2Acc2Messenger::aperture2X
private

Definition at line 67 of file ML2Acc2Messenger.hh.

View newest version in sPHENIX GitHub at line 67 of file ML2Acc2Messenger.hh

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

G4UIcmdWithADoubleAndUnit * CML2Acc2Messenger::aperture2Y
private

Definition at line 67 of file ML2Acc2Messenger.hh.

View newest version in sPHENIX GitHub at line 67 of file ML2Acc2Messenger.hh

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

G4UIcmdWithAnInteger* CML2Acc2Messenger::idEnergy
private

Definition at line 66 of file ML2Acc2Messenger.hh.

View newest version in sPHENIX GitHub at line 66 of file ML2Acc2Messenger.hh

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

G4UIcmdWithADoubleAndUnit * CML2Acc2Messenger::leavesA
private

Definition at line 67 of file ML2Acc2Messenger.hh.

View newest version in sPHENIX GitHub at line 67 of file ML2Acc2Messenger.hh

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

G4UIcmdWithADoubleAndUnit * CML2Acc2Messenger::leavesB
private

Definition at line 67 of file ML2Acc2Messenger.hh.

View newest version in sPHENIX GitHub at line 67 of file ML2Acc2Messenger.hh

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

CML2Acc2* CML2Acc2Messenger::pAcc2
private

Definition at line 64 of file ML2Acc2Messenger.hh.

View newest version in sPHENIX GitHub at line 64 of file ML2Acc2Messenger.hh

Referenced by CML2Acc2Messenger(), and SetNewValue().


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