Geant4
10.01.p03
|
#include <G4OpticalPhysicsMessenger.hh>
Public Member Functions | |
G4OpticalPhysicsMessenger (G4OpticalPhysics *) | |
virtual | ~G4OpticalPhysicsMessenger () |
virtual void | SetNewValue (G4UIcommand *, G4String) |
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 Member Functions | |
G4OpticalPhysicsMessenger () | |
Not implemented. More... | |
G4OpticalPhysicsMessenger (const G4OpticalPhysicsMessenger &right) | |
Not implemented. More... | |
G4OpticalPhysicsMessenger & | operator= (const G4OpticalPhysicsMessenger &right) |
Not implemented. More... | |
Private Attributes | |
G4OpticalPhysics * | fOpticalPhysics |
associated class More... | |
G4UIdirectory * | fDir |
command directory More... | |
G4UIdirectory * | fDir2 |
G4OpticalProcessIndex | fSelectedProcessIndex |
selected optical process More... | |
G4UIcommand * | fActivateProcessCmd |
selectOpProcess command More... | |
G4UIcmdWithAnInteger * | fSetOpProcessVerboseCmd |
setProcessVerbose command More... | |
G4UIcmdWithAnInteger * | fSetCerenkovMaxPhotonsCmd |
setCerenkovMaxPhotons command More... | |
G4UIcmdWithADouble * | fSetCerenkovMaxBetaChangeCmd |
setCerenkovMaxBetaChange command More... | |
G4UIcmdWithADouble * | fSetScintillationYieldFactorCmd |
setScintillationYieldFactor command More... | |
G4UIcmdWithABool * | fSetScintillationByParticleTypeCmd |
setScintillationByParticleType command More... | |
G4UIcmdWithAString * | fSetWLSTimeProfileCmd |
setWLSTimeProfile command More... | |
G4UIcommand * | fSetTrackSecondariesFirstCmd |
setTrackSecondariesFirst command More... | |
G4UIcmdWithABool * | fSetFiniteRiseTimeCmd |
setFiniteRiseTime command More... | |
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) |
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 > | |
T * | CreateCommand (const G4String &cname, const G4String &dsc) |
Protected Attributes inherited from G4UImessenger | |
G4UIdirectory * | baseDir |
G4String | baseDirName |
G4bool | commandsShouldBeInMaster |
Definition at line 73 of file G4OpticalPhysicsMessenger.hh.
G4OpticalPhysicsMessenger::G4OpticalPhysicsMessenger | ( | G4OpticalPhysics * | opticalPhysics | ) |
Definition at line 60 of file G4OpticalPhysicsMessenger.cc.
References G4UIcommand::AvailableForStates(), fActivateProcessCmd, fDir, fDir2, fSetCerenkovMaxBetaChangeCmd, fSetCerenkovMaxPhotonsCmd, fSetFiniteRiseTimeCmd, fSetOpProcessVerboseCmd, fSetScintillationByParticleTypeCmd, fSetScintillationYieldFactorCmd, fSetTrackSecondariesFirstCmd, fSetWLSTimeProfileCmd, G4OpticalProcessName(), G4State_Idle, G4State_PreInit, kNoProcess, G4UIcmdWithAString::SetCandidates(), G4UIcmdWithAnInteger::SetDefaultValue(), G4UIparameter::SetDefaultValue(), G4UIparameter::SetGuidance(), G4UIcommand::SetGuidance(), G4UIcommand::SetParameter(), G4UIparameter::SetParameterCandidates(), G4UIcmdWithAString::SetParameterName(), G4UIcmdWithAnInteger::SetParameterName(), G4UIcmdWithADouble::SetParameterName(), G4UIcmdWithABool::SetParameterName(), and G4UIcommand::SetRange().
|
virtual |
Definition at line 165 of file G4OpticalPhysicsMessenger.cc.
References fActivateProcessCmd, fDir, fDir2, fSetCerenkovMaxBetaChangeCmd, fSetCerenkovMaxPhotonsCmd, fSetFiniteRiseTimeCmd, fSetOpProcessVerboseCmd, fSetScintillationByParticleTypeCmd, fSetScintillationYieldFactorCmd, and fSetWLSTimeProfileCmd.
|
private |
Not implemented.
|
private |
Not implemented.
|
private |
Not implemented.
|
virtual |
Apply command to the associated object.
Reimplemented from G4UImessenger.
Definition at line 182 of file G4OpticalPhysicsMessenger.cc.
References G4OpticalPhysics::Configure(), G4String::data(), fActivateProcessCmd, FatalException, fOpticalPhysics, fSelectedProcessIndex, fSetCerenkovMaxBetaChangeCmd, fSetCerenkovMaxPhotonsCmd, fSetFiniteRiseTimeCmd, fSetOpProcessVerboseCmd, fSetScintillationByParticleTypeCmd, fSetScintillationYieldFactorCmd, fSetTrackSecondariesFirstCmd, fSetWLSTimeProfileCmd, G4Exception(), G4UIcmdWithABool::GetNewBoolValue(), G4UIcmdWithADouble::GetNewDoubleValue(), G4UIcmdWithAnInteger::GetNewIntValue(), kAbsorption, kBoundary, kCerenkov, kMieHG, kRayleigh, kScintillation, kWLS, G4InuclParticleNames::pn, G4OpticalPhysics::SetFiniteRiseTime(), G4OpticalPhysics::SetMaxBetaChangePerStep(), G4OpticalPhysics::SetMaxNumPhotonsPerStep(), G4OpticalPhysics::SetScintillationByParticleType(), G4OpticalPhysics::SetScintillationYieldFactor(), G4OpticalPhysics::SetTrackSecondariesFirst(), G4VPhysicsConstructor::SetVerboseLevel(), and G4OpticalPhysics::SetWLSTimeProfile().
|
private |
selectOpProcess command
Definition at line 105 of file G4OpticalPhysicsMessenger.hh.
Referenced by G4OpticalPhysicsMessenger(), SetNewValue(), and ~G4OpticalPhysicsMessenger().
|
private |
command directory
Definition at line 98 of file G4OpticalPhysicsMessenger.hh.
Referenced by G4OpticalPhysicsMessenger(), and ~G4OpticalPhysicsMessenger().
|
private |
Definition at line 99 of file G4OpticalPhysicsMessenger.hh.
Referenced by G4OpticalPhysicsMessenger(), and ~G4OpticalPhysicsMessenger().
|
private |
associated class
Definition at line 95 of file G4OpticalPhysicsMessenger.hh.
Referenced by SetNewValue().
|
private |
selected optical process
Definition at line 102 of file G4OpticalPhysicsMessenger.hh.
Referenced by SetNewValue().
|
private |
setCerenkovMaxBetaChange command
Definition at line 115 of file G4OpticalPhysicsMessenger.hh.
Referenced by G4OpticalPhysicsMessenger(), SetNewValue(), and ~G4OpticalPhysicsMessenger().
|
private |
setCerenkovMaxPhotons command
Definition at line 112 of file G4OpticalPhysicsMessenger.hh.
Referenced by G4OpticalPhysicsMessenger(), SetNewValue(), and ~G4OpticalPhysicsMessenger().
|
private |
setFiniteRiseTime command
Definition at line 133 of file G4OpticalPhysicsMessenger.hh.
Referenced by G4OpticalPhysicsMessenger(), SetNewValue(), and ~G4OpticalPhysicsMessenger().
|
private |
setProcessVerbose command
Definition at line 109 of file G4OpticalPhysicsMessenger.hh.
Referenced by G4OpticalPhysicsMessenger(), SetNewValue(), and ~G4OpticalPhysicsMessenger().
|
private |
setScintillationByParticleType command
Definition at line 121 of file G4OpticalPhysicsMessenger.hh.
Referenced by G4OpticalPhysicsMessenger(), SetNewValue(), and ~G4OpticalPhysicsMessenger().
|
private |
setScintillationYieldFactor command
Definition at line 118 of file G4OpticalPhysicsMessenger.hh.
Referenced by G4OpticalPhysicsMessenger(), SetNewValue(), and ~G4OpticalPhysicsMessenger().
|
private |
setTrackSecondariesFirst command
Definition at line 130 of file G4OpticalPhysicsMessenger.hh.
Referenced by G4OpticalPhysicsMessenger(), and SetNewValue().
|
private |
setWLSTimeProfile command
Definition at line 127 of file G4OpticalPhysicsMessenger.hh.
Referenced by G4OpticalPhysicsMessenger(), SetNewValue(), and ~G4OpticalPhysicsMessenger().