37 #include "DetectorMessenger.hh"
39 #include "DetectorConstruction.hh"
52 fN03Dir->
SetGuidance(
"UI commands of this example");
58 fAbsMaterCmd->
SetGuidance(
"Select Material of the Absorber.");
63 fGapMaterCmd->
SetGuidance(
"Select Material of the Gap.");
68 fAbsThickCmd->
SetGuidance(
"Set Thickness of the Absorber");
75 fGapThickCmd->
SetGuidance(
"Set Thickness of the Gap");
82 fSizeYZCmd->
SetGuidance(
"Set tranverse size of the calorimeter");
91 fNbLayersCmd->
SetRange(
"NbLayers>0 && NbLayers<500");
95 fUpdateCmd->
SetGuidance(
"Update calorimeter geometry.");
96 fUpdateCmd->
SetGuidance(
"This command MUST be applied before \"beamOn\" ");
97 fUpdateCmd->
SetGuidance(
"if you changed geometrical value(s).");
106 delete fAbsMaterCmd;
delete fGapMaterCmd;
107 delete fAbsThickCmd;
delete fGapThickCmd;
108 delete fSizeYZCmd;
delete fUpdateCmd;
117 if( command == fAbsMaterCmd )
120 if( command == fGapMaterCmd )
123 if( command == fAbsThickCmd )
125 ->GetNewDoubleValue(newValue));}
127 if( command == fGapThickCmd )
130 if( command == fSizeYZCmd )
133 if( command == fNbLayersCmd )
136 if( command == fUpdateCmd )