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

#include <geant4/tree/geant4-10.6-release/examples/extended/biasing/GB03/include/GB03DetectorMessenger.hh>

+ Inheritance diagram for GB03DetectorMessenger:
+ Collaboration diagram for GB03DetectorMessenger:

Public Member Functions

 GB03DetectorMessenger (GB03DetectorConstruction *)
 
virtual ~GB03DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
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

GB03DetectorConstructionfDetector
 
G4UIdirectoryfDirectory
 
G4UIcmdWithAStringfAbsMaterialCmd
 
G4UIcmdWithAStringfGapMaterialCmd
 
G4UIcmdWithAnIntegerfNumLayerCmd
 
G4UIcmdWithAnIntegerfVerboseCmd
 

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 42 of file GB03DetectorMessenger.hh.

View newest version in sPHENIX GitHub at line 42 of file GB03DetectorMessenger.hh

Constructor & Destructor Documentation

GB03DetectorMessenger::GB03DetectorMessenger ( GB03DetectorConstruction det)

Definition at line 41 of file GB03DetectorMessenger.cc.

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

References G4UIcommand::AvailableForStates(), fAbsMaterialCmd, fDirectory, fGapMaterialCmd, fNumLayerCmd, fVerboseCmd, G4State_Idle, G4Material::GetMaterialTable(), G4Material::GetNumberOfMaterials(), G4UIcmdWithAString::SetCandidates(), G4UIcommand::SetGuidance(), G4UIcmdWithAString::SetParameterName(), G4UIcmdWithAnInteger::SetParameterName(), and G4UIcommand::SetRange().

+ Here is the call graph for this function:

GB03DetectorMessenger::~GB03DetectorMessenger ( )
virtual

Definition at line 83 of file GB03DetectorMessenger.cc.

View newest version in sPHENIX GitHub at line 83 of file GB03DetectorMessenger.cc

References fAbsMaterialCmd, fDirectory, fGapMaterialCmd, fNumLayerCmd, and fVerboseCmd.

Member Function Documentation

G4String GB03DetectorMessenger::GetCurrentValue ( G4UIcommand command)
virtual

Reimplemented from G4UImessenger.

Definition at line 112 of file GB03DetectorMessenger.cc.

View newest version in sPHENIX GitHub at line 112 of file GB03DetectorMessenger.cc

References G4UIcommand::ConvertToString(), fAbsMaterialCmd, fDetector, fGapMaterialCmd, fNumLayerCmd, fVerboseCmd, GB03DetectorConstruction::GetAbsorberMaterial(), GB03DetectorConstruction::GetGapMaterial(), GB03DetectorConstruction::GetNumberOfLayers(), and GB03DetectorConstruction::GetVerboseLevel().

+ Here is the call graph for this function:

void GB03DetectorMessenger::SetNewValue ( G4UIcommand command,
G4String  newValue 
)
virtual

Reimplemented from G4UImessenger.

Definition at line 94 of file GB03DetectorMessenger.cc.

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

References fAbsMaterialCmd, fDetector, fGapMaterialCmd, fNumLayerCmd, fVerboseCmd, G4UIcmdWithAnInteger::GetNewIntValue(), GB03DetectorConstruction::SetAbsorberMaterial(), GB03DetectorConstruction::SetGapMaterial(), GB03DetectorConstruction::SetNumberOfLayers(), and GB03DetectorConstruction::SetVerboseLevel().

+ Here is the call graph for this function:

Member Data Documentation

G4UIcmdWithAString* GB03DetectorMessenger::fAbsMaterialCmd
private

Definition at line 55 of file GB03DetectorMessenger.hh.

View newest version in sPHENIX GitHub at line 55 of file GB03DetectorMessenger.hh

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

GB03DetectorConstruction* GB03DetectorMessenger::fDetector
private

Definition at line 52 of file GB03DetectorMessenger.hh.

View newest version in sPHENIX GitHub at line 52 of file GB03DetectorMessenger.hh

Referenced by GetCurrentValue(), and SetNewValue().

G4UIdirectory* GB03DetectorMessenger::fDirectory
private

Definition at line 54 of file GB03DetectorMessenger.hh.

View newest version in sPHENIX GitHub at line 54 of file GB03DetectorMessenger.hh

Referenced by GB03DetectorMessenger(), and ~GB03DetectorMessenger().

G4UIcmdWithAString* GB03DetectorMessenger::fGapMaterialCmd
private

Definition at line 56 of file GB03DetectorMessenger.hh.

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

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

G4UIcmdWithAnInteger* GB03DetectorMessenger::fNumLayerCmd
private

Definition at line 57 of file GB03DetectorMessenger.hh.

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

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

G4UIcmdWithAnInteger* GB03DetectorMessenger::fVerboseCmd
private

Definition at line 58 of file GB03DetectorMessenger.hh.

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

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


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