46 :myTriggerScintillator(theTriggerScintillator), fPackage(pkg)
49 Dir =
new G4UIdirectory(
"/TriggerScintillator/");
50 Dir -> SetGuidance(
"Trigger Scintillator Detector control.");
53 ContainerThicknessCmd->SetGuidance(
"Set the thickness (length in Z) of the TriggerScintillator container");
58 ContainerZPositionCmd =
new G4UIcmdWithADoubleAndUnit(
"/TriggerScintillator/SetCenterPositionInZ",
this);
64 ContainerYPositionCmd =
new G4UIcmdWithADoubleAndUnit(
"/TriggerScintillator/SetCenterPositionInY",
this);
70 ContainerXPositionCmd =
new G4UIcmdWithADoubleAndUnit(
"/TriggerScintillator/SetCenterPositionInX",
this);
76 TiltingAngleCmd =
new G4UIcmdWithADoubleAndUnit(
"/TriggerScintillator/SetTiltingAngle",
this);
77 TiltingAngleCmd->SetGuidance(
"Set the tilting angle of the TriggerScintillator Detector");
82 ContainerMatCmd =
new G4UIcmdWithAString(
"/TriggerScintillator/SetContainerMaterial",
this);
83 ContainerMatCmd->SetGuidance(
"Select Material of the TriggerScintillator Container.");
87 DetectorMatCmd =
new G4UIcmdWithAString(
"/TriggerScintillator/SetScintillatorMaterial",
this);
88 DetectorMatCmd->SetGuidance(
"Select Material of the TriggerScintillator Detector.");
93 G4String DirPerPackage_name =
"/TriggerScintillator/TriggerScintillator" + G4UIcommand::ConvertToString(
fPackage+1);
94 DirPerPackage =
new G4UIdirectory(G4String(DirPerPackage_name +
"/"));
95 DirPerPackage -> SetGuidance(
"Individual TriggerScintillator detector control.");
141 G4cout <<
"#### Calling QweakSimTriggerScintillatorMessenger::SetNewValue() " << newValue << G4endl;
145 G4cout <<
"#### Messenger: Setting TriggerScintillator Container Thickness to " << newValue << G4endl;
152 G4cout <<
"#### Messenger: Setting TriggerScintillator Container X position to " << newValue << G4endl;
159 G4cout <<
"#### Messenger: Setting TriggerScintillator Container Y position to " << newValue << G4endl;
166 G4cout <<
"#### Messenger: Setting TriggerScintillator Container Z position to " << newValue << G4endl;
173 G4cout <<
"#### Messenger: Setting TriggerScintillator Container X position to " << newValue << G4endl;
180 G4cout <<
"#### Messenger: Setting TriggerScintillator Container Y position to " << newValue << G4endl;
187 G4cout <<
"#### Messenger: Setting TriggerScintillator Container Z position to " << newValue << G4endl;
196 G4cout <<
"#### Messenger: Setting TriggerScintillator Container Material to " << newValue << G4endl;
203 G4cout <<
"#### Messenger: Setting Scintillator Detector Material to " << newValue << G4endl;
210 G4cout <<
"#### Messenger: Setting Scintillator Detector Tilting Angle to " << newValue << G4endl;
215 G4cout <<
"#### Leaving QweakSimTriggerScintillator Messenger::SetNewValue() " << newValue << G4endl;
G4UIcmdWithADoubleAndUnit * ContainerZPositionCmd
G4UIcmdWithADoubleAndUnit * ContainerZPosition_Pkg_Cmd
void SetTriggerScintillatorCenterPositionInZ(G4double zPos, G4int pkg=0)
void SetTriggerScintillatorCenterPositionInY(G4double yPos, G4int pkg=0)
Definition of the Trigger Scintillator detector.
void SetNewValue(G4UIcommand *, G4String)
G4UIcmdWithAString * DetectorMatCmd
G4UIcmdWithADoubleAndUnit * ContainerYPositionCmd
void SetTriggerScintillatorTiltAngle(G4double tiltangle)
G4UIcmdWithAString * ContainerMatCmd
G4UIcmdWithADoubleAndUnit * ContainerThicknessCmd
QweakSimTriggerScintillator * myTriggerScintillator
void SetTriggerScintillatorCenterPositionInX(G4double xPos, G4int pkg=0)
void SetTriggerScintillatorThickness(G4double thickness)
QweakSimTriggerScintillatorMessenger(QweakSimTriggerScintillator *, G4int pkg=0)
void SetTriggerScintillatorMaterial(G4String materialName)
G4UIcmdWithADoubleAndUnit * TiltingAngleCmd
G4UIcmdWithADoubleAndUnit * ContainerXPositionCmd
G4UIdirectory * DirPerPackage
G4UIcmdWithADoubleAndUnit * ContainerYPosition_Pkg_Cmd
G4UIcmdWithADoubleAndUnit * ContainerXPosition_Pkg_Cmd
~QweakSimTriggerScintillatorMessenger()