46 :myDetector(theDetector)
55 QweakSimDir->SetGuidance(
"UI commands specific to this example.");
60 UpdateCmd =
new G4UIcmdWithoutParameter(
"/HallC/GeometryUpdate",
this);
61 UpdateCmd->SetGuidance(
"Update Qweak geometry.");
62 UpdateCmd->SetGuidance(
"This command MUST be applied before \"beamOn\" ");
63 UpdateCmd->SetGuidance(
"if you changed geometrical value(s).");
64 UpdateCmd->AvailableForStates(G4State_Idle);
67 DumpGeometry_Cmd->SetGuidance(
"Dump geometry tree, with optional overlap check.");
72 ShowHallFloor_Cmd =
new G4UIcmdWithoutParameter(
"/HallC/Visibility/ShowHallFloor",
this);
76 HideHallFloor_Cmd =
new G4UIcmdWithoutParameter(
"/HallC/Visibility/HideHallFloor",
this);
102 G4cout <<
"#### Messenger: Updating geometry " << G4endl;
116 G4cout <<
"#### Messenger: Dump Geometry " << G4endl;
123 G4cout <<
"#### Messenger: Show Hall Floor " << G4endl;
130 G4cout <<
"#### Messenger: Hide Hall Floor " << G4endl;
QweakSimDetectorConstruction * myDetector
main class of QweakSim. All experiment components are are placed here.
G4UIcmdWithoutParameter * UpdateCmd
G4UIdirectory * QweakSimDir
G4UIcmdWithoutParameter * HideHallFloor_Cmd
G4UIdirectory * VisibilityDir
void SetNewValue(G4UIcommand *, G4String)
void DumpGeometry(G4bool surfchk=false, G4VPhysicalVolume *aVolume=0, G4int depth=0)
QweakSimDetectorMessenger(QweakSimDetectorConstruction *)
~QweakSimDetectorMessenger()
G4UIcmdWithoutParameter * ShowHallFloor_Cmd
G4UIcmdWithABool * DumpGeometry_Cmd