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

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

+ Inheritance diagram for CML2PhantomConstructionMessenger:
+ Collaboration diagram for CML2PhantomConstructionMessenger:

Public Member Functions

 CML2PhantomConstructionMessenger (CML2PhantomConstruction *phantomConstructor)
 
 ~CML2PhantomConstructionMessenger (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

CML2PhantomConstructionpPhantomConstructor
 
G4UIcmdWith3VectorAndUnitphantomCentre
 
G4UIcmdWithAStringPhantomName
 
G4UIcmdWithAStringPhantomFileName
 
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 ML2PhantomConstructionMessenger.hh.

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

Constructor & Destructor Documentation

CML2PhantomConstructionMessenger::CML2PhantomConstructionMessenger ( CML2PhantomConstruction phantomConstructor)

Definition at line 54 of file ML2PhantomConstructionMessenger.cc.

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

References phantomCentre, PhantomName, and pPhantomConstructor.

CML2PhantomConstructionMessenger::~CML2PhantomConstructionMessenger ( void  )

Definition at line 67 of file ML2PhantomConstructionMessenger.cc.

View newest version in sPHENIX GitHub at line 67 of file ML2PhantomConstructionMessenger.cc

References phantomCentre, and PhantomName.

Member Function Documentation

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

Reimplemented from G4UImessenger.

Definition at line 72 of file ML2PhantomConstructionMessenger.cc.

View newest version in sPHENIX GitHub at line 72 of file ML2PhantomConstructionMessenger.cc

References G4UIcmdWith3VectorAndUnit::GetNew3VectorRawValue(), phantomCentre, PhantomFileName, PhantomName, pPhantomConstructor, and CML2PhantomConstruction::setPhantomName().

+ Here is the call graph for this function:

void CML2PhantomConstructionMessenger::SetReferenceWorld ( G4bool  bOV)
inline

Definition at line 68 of file ML2PhantomConstructionMessenger.hh.

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

References bOnlyVisio.

Referenced by CML2PhantomConstruction::Construct().

+ Here is the caller graph for this function:

Member Data Documentation

G4bool CML2PhantomConstructionMessenger::bOnlyVisio
private

Definition at line 75 of file ML2PhantomConstructionMessenger.hh.

View newest version in sPHENIX GitHub at line 75 of file ML2PhantomConstructionMessenger.hh

Referenced by SetReferenceWorld().

G4UIcmdWith3VectorAndUnit* CML2PhantomConstructionMessenger::phantomCentre
private

Definition at line 73 of file ML2PhantomConstructionMessenger.hh.

View newest version in sPHENIX GitHub at line 73 of file ML2PhantomConstructionMessenger.hh

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

G4UIcmdWithAString * CML2PhantomConstructionMessenger::PhantomFileName
private

Definition at line 74 of file ML2PhantomConstructionMessenger.hh.

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

Referenced by SetNewValue().

G4UIcmdWithAString* CML2PhantomConstructionMessenger::PhantomName
private

Definition at line 74 of file ML2PhantomConstructionMessenger.hh.

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

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

CML2PhantomConstruction* CML2PhantomConstructionMessenger::pPhantomConstructor
private

Definition at line 71 of file ML2PhantomConstructionMessenger.hh.

View newest version in sPHENIX GitHub at line 71 of file ML2PhantomConstructionMessenger.hh

Referenced by CML2PhantomConstructionMessenger(), and SetNewValue().


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