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

#include <geant4/tree/geant4-10.6-release/examples/extended/exoticphysics/channeling/include/DetectorConstructionMessenger.hh>

+ Inheritance diagram for DetectorConstructionMessenger:
+ Collaboration diagram for DetectorConstructionMessenger:

Public Member Functions

 DetectorConstructionMessenger (DetectorConstruction *mpga)
 
 ~DetectorConstructionMessenger ()
 
virtual void SetNewValue (G4UIcommand *command, G4String newValues)
 
virtual G4String GetCurrentValue (G4UIcommand *command)
 
- Public Member Functions inherited from G4UImessenger
 G4UImessenger ()
 
 G4UImessenger (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true)
 
virtual ~G4UImessenger ()
 
G4bool operator== (const G4UImessenger &messenger) const
 
G4bool CommandsShouldBeInMaster () const
 

Private Attributes

DetectorConstructionfTarget
 
G4UIdirectoryfMyXtalDirectory
 
G4UIcmdWithAStringfXtalMaterialCmd
 
G4UIcmdWith3VectorAndUnitfXtalSizeCmd
 
G4UIcmdWith3VectorAndUnitfXtalBRCmd
 
G4UIcmdWith3VectorAndUnitfXtalAngleCmd
 
G4UIcmdWithAStringfXtalECCmd
 

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 45 of file DetectorConstructionMessenger.hh.

View newest version in sPHENIX GitHub at line 45 of file DetectorConstructionMessenger.hh

Constructor & Destructor Documentation

DetectorConstructionMessenger::DetectorConstructionMessenger ( DetectorConstruction mpga)

Definition at line 41 of file DetectorConstructionMessenger.cc.

View newest version in sPHENIX GitHub at line 41 of file DetectorConstructionMessenger.cc

References fMyXtalDirectory, fXtalAngleCmd, fXtalBRCmd, fXtalECCmd, fXtalMaterialCmd, fXtalSizeCmd, G4UIcmdWith3VectorAndUnit::SetDefaultUnit(), G4UIcmdWithAString::SetDefaultValue(), G4UIcmdWith3VectorAndUnit::SetDefaultValue(), G4UIcommand::SetGuidance(), G4UIcmdWithAString::SetParameterName(), and G4UIcmdWith3VectorAndUnit::SetParameterName().

+ Here is the call graph for this function:

DetectorConstructionMessenger::~DetectorConstructionMessenger ( )

Definition at line 90 of file DetectorConstructionMessenger.cc.

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

References fXtalAngleCmd, fXtalBRCmd, fXtalECCmd, fXtalMaterialCmd, and fXtalSizeCmd.

Member Function Documentation

G4String DetectorConstructionMessenger::GetCurrentValue ( G4UIcommand command)
virtual

Reimplemented from G4UImessenger.

Definition at line 122 of file DetectorConstructionMessenger.cc.

View newest version in sPHENIX GitHub at line 122 of file DetectorConstructionMessenger.cc

References G4UIcommand::ConvertToString(), fTarget, fXtalAngleCmd, fXtalBRCmd, fXtalECCmd, fXtalMaterialCmd, fXtalSizeCmd, DetectorConstruction::GetAngles(), DetectorConstruction::GetBR(), DetectorConstruction::GetEC(), DetectorConstruction::GetMaterial(), and DetectorConstruction::GetSizes().

+ Here is the call graph for this function:

void DetectorConstructionMessenger::SetNewValue ( G4UIcommand command,
G4String  newValues 
)
virtual

Reimplemented from G4UImessenger.

Definition at line 100 of file DetectorConstructionMessenger.cc.

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

References fTarget, fXtalAngleCmd, fXtalBRCmd, fXtalECCmd, fXtalMaterialCmd, fXtalSizeCmd, G4UIcmdWith3VectorAndUnit::GetNew3VectorValue(), DetectorConstruction::SetAngles(), DetectorConstruction::SetBR(), DetectorConstruction::SetEC(), DetectorConstruction::SetMaterial(), and DetectorConstruction::SetSizes().

+ Here is the call graph for this function:

Member Data Documentation

G4UIdirectory* DetectorConstructionMessenger::fMyXtalDirectory
private

Definition at line 58 of file DetectorConstructionMessenger.hh.

View newest version in sPHENIX GitHub at line 58 of file DetectorConstructionMessenger.hh

Referenced by DetectorConstructionMessenger().

DetectorConstruction* DetectorConstructionMessenger::fTarget
private

Definition at line 56 of file DetectorConstructionMessenger.hh.

View newest version in sPHENIX GitHub at line 56 of file DetectorConstructionMessenger.hh

Referenced by GetCurrentValue(), and SetNewValue().

G4UIcmdWith3VectorAndUnit* DetectorConstructionMessenger::fXtalAngleCmd
private

Definition at line 63 of file DetectorConstructionMessenger.hh.

View newest version in sPHENIX GitHub at line 63 of file DetectorConstructionMessenger.hh

Referenced by DetectorConstructionMessenger(), GetCurrentValue(), SetNewValue(), and ~DetectorConstructionMessenger().

G4UIcmdWith3VectorAndUnit* DetectorConstructionMessenger::fXtalBRCmd
private

Definition at line 62 of file DetectorConstructionMessenger.hh.

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

Referenced by DetectorConstructionMessenger(), GetCurrentValue(), SetNewValue(), and ~DetectorConstructionMessenger().

G4UIcmdWithAString* DetectorConstructionMessenger::fXtalECCmd
private

Definition at line 64 of file DetectorConstructionMessenger.hh.

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

Referenced by DetectorConstructionMessenger(), GetCurrentValue(), SetNewValue(), and ~DetectorConstructionMessenger().

G4UIcmdWithAString* DetectorConstructionMessenger::fXtalMaterialCmd
private

Definition at line 60 of file DetectorConstructionMessenger.hh.

View newest version in sPHENIX GitHub at line 60 of file DetectorConstructionMessenger.hh

Referenced by DetectorConstructionMessenger(), GetCurrentValue(), SetNewValue(), and ~DetectorConstructionMessenger().

G4UIcmdWith3VectorAndUnit* DetectorConstructionMessenger::fXtalSizeCmd
private

Definition at line 61 of file DetectorConstructionMessenger.hh.

View newest version in sPHENIX GitHub at line 61 of file DetectorConstructionMessenger.hh

Referenced by DetectorConstructionMessenger(), GetCurrentValue(), SetNewValue(), and ~DetectorConstructionMessenger().


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