37 #include "DetectorMessenger.hh"
39 #include "DetectorConstruction.hh"
53 fN03Dir->
SetGuidance(
"UI commands of this example");
59 fAbsMaterCmd->
SetGuidance(
"Select Material of the Absorber.");
64 fGapMaterCmd->
SetGuidance(
"Select Material of the Gap.");
69 fAbsThickCmd->
SetGuidance(
"Set Thickness of the Absorber");
76 fGapThickCmd->
SetGuidance(
"Set Thickness of the Gap");
83 fSizeYZCmd->
SetGuidance(
"Set tranverse size of the calorimeter");
92 fNbLayersCmd->
SetRange(
"NbLayers>0 && NbLayers<500");
96 fUpdateCmd->
SetGuidance(
"Update calorimeter geometry.");
97 fUpdateCmd->
SetGuidance(
"This command MUST be applied before \"beamOn\" ");
98 fUpdateCmd->
SetGuidance(
"if you changed geometrical value(s).");
102 fMagFieldCmd->
SetGuidance(
"Define magnetic field.");
103 fMagFieldCmd->
SetGuidance(
"Magnetic field will be in Z direction.");
114 delete fAbsMaterCmd;
delete fGapMaterCmd;
115 delete fAbsThickCmd;
delete fGapThickCmd;
116 delete fSizeYZCmd;
delete fUpdateCmd;
126 if( command == fAbsMaterCmd )
129 if( command == fGapMaterCmd )
132 if( command == fAbsThickCmd )
134 ->GetNewDoubleValue(newValue));}
136 if( command == fGapThickCmd )
139 if( command == fSizeYZCmd )
142 if( command == fNbLayersCmd )
145 if( command == fUpdateCmd )
148 if( command == fMagFieldCmd )