#include <EDepSimBuilder.hh>
Definition at line 224 of file EDepSimBuilder.hh.
EDepSim::BuilderMessenger::BuilderMessenger |
( |
EDepSim::Builder * |
c, |
|
|
const char * |
guide = NULL |
|
) |
| |
Definition at line 75 of file EDepSimBuilder.cc.
89 fOpacityCMD->SetGuidance(
"Set the log of the relative opacity." 90 " Useful values are between [-0.5, 0.5], and" 91 " +/-10 makes the object opague or transparent." 92 " A value of 0 leaves the opacity unchanged.");
98 "Set the log of the relative opacity of the daughters.");
102 fCheckCMD->SetGuidance(
"If this is true then check for overlaps");
103 fCheckCMD->SetParameterName(
"check",
false);
106 fSensitiveCMD->SetGuidance(
"Set the name of the sensitive detector");
107 G4UIparameter* nameParam =
new G4UIparameter(
's');
108 nameParam->SetParameterName(
"Name");
110 G4UIparameter* typeParam =
new G4UIparameter(
's');
111 typeParam->SetParameterName(
"Type");
115 =
new G4UIcmdWithADoubleAndUnit(
CommandName(
"maxHitSagitta"),
this);
121 =
new G4UIcmdWithADoubleAndUnit(
CommandName(
"maxHitLength"),
this);
G4String GetName(void)
Return the base name of the object that this builds.
EDepSim::Builder * fBuilder
G4UIcmdWithADoubleAndUnit * fMaximumHitSagittaCMD
G4UIcmdWithADoubleAndUnit * fMaximumHitLengthCMD
G4UIcmdWithADouble * fDaughterOpacityCMD
G4UIcmdWithABool * fCheckCMD
G4UIdirectory * fDirectory
The UI directory for this messenger.
G4String fDirName
The directory name for this messenger.
G4UIcommand * fSensitiveCMD
G4String CommandName(G4String cmd)
Build a command name with the directory prefix.
G4UIcmdWithADouble * fOpacityCMD
EDepSim::BuilderMessenger::~BuilderMessenger |
( |
| ) |
|
|
virtual |
Definition at line 157 of file EDepSimBuilder.cc.
G4UIcmdWithADoubleAndUnit * fMaximumHitSagittaCMD
G4UIcmdWithADoubleAndUnit * fMaximumHitLengthCMD
G4UIcmdWithADouble * fDaughterOpacityCMD
G4UIcmdWithABool * fCheckCMD
G4UIdirectory * fDirectory
The UI directory for this messenger.
G4UIcommand * fSensitiveCMD
G4UIcmdWithADouble * fOpacityCMD
G4String EDepSim::BuilderMessenger::CommandName |
( |
G4String |
cmd | ) |
|
|
inline |
Build a command name with the directory prefix.
Definition at line 249 of file EDepSimBuilder.hh.
G4String GetDirectory(void)
Return the name of the directory.
G4String EDepSim::BuilderMessenger::GetDirectory |
( |
void |
| ) |
|
|
inline |
Return the name of the directory.
Definition at line 246 of file EDepSimBuilder.hh.
G4String fDirName
The directory name for this messenger.
void EDepSim::BuilderMessenger::SetNewValue |
( |
G4UIcommand * |
cmd, |
|
|
G4String |
val |
|
) |
| |
Definition at line 127 of file EDepSimBuilder.cc.
139 std::istringstream buf(
val.c_str());
147 SetMaximumHitSagitta(
EDepSim::Builder * fBuilder
void SetCheck(bool v)
Set the check value.
G4UIcmdWithADoubleAndUnit * fMaximumHitSagittaCMD
G4UIcmdWithADoubleAndUnit * fMaximumHitLengthCMD
G4UIcmdWithADouble * fDaughterOpacityCMD
void SetOpacity(double v)
Set the relative opacity of the constructed object.
G4UIcmdWithABool * fCheckCMD
virtual void SetSensitiveDetector(G4VSensitiveDetector *s)
Set the sensitive detector for this component.
G4UIcommand * fSensitiveCMD
void SetDaughterOpacity(double v)
Set the relative opacity of the object daughters.
G4UIcmdWithADouble * fOpacityCMD
G4UIcmdWithABool* EDepSim::BuilderMessenger::fCheckCMD |
|
private |
G4UIcmdWithADouble* EDepSim::BuilderMessenger::fDaughterOpacityCMD |
|
private |
G4UIdirectory* EDepSim::BuilderMessenger::fDirectory |
|
private |
G4String EDepSim::BuilderMessenger::fDirName |
|
private |
G4UIcmdWithADoubleAndUnit* EDepSim::BuilderMessenger::fMaximumHitLengthCMD |
|
private |
G4UIcmdWithADoubleAndUnit* EDepSim::BuilderMessenger::fMaximumHitSagittaCMD |
|
private |
G4UIcmdWithADouble* EDepSim::BuilderMessenger::fOpacityCMD |
|
private |
G4UIcommand* EDepSim::BuilderMessenger::fSensitiveCMD |
|
private |
The documentation for this class was generated from the following files: