206 my $WirePlusRotation = $UVAngle + 90;
207 my $WireMinusRotation = $UVAngle - 90;
209 $ROTATIONS =
"microboone/micro-rotations" . $suffix .
".gdml";
211 $ROTATIONS =
">" . $ROTATIONS;
214 print ROTATIONS <<EOF;
217 <rotation
name="rPlus30AboutX" unit="deg"
x="30"
y="0"
z="0"/>
218 <rotation
name="rPlus60AboutX" unit="deg"
x="60"
y="0"
z="0"/>
219 <rotation
name="rPlus90AboutX" unit="deg"
x="90"
y="0"
z="0"/>
220 <rotation
name="rMinus90AboutX" unit="deg"
x="-90"
y="0"
z="0"/>
221 <rotation
name="rPlusUVAngleAboutX" unit="deg"
x="150"
y="0"
z="0"/>
222 <rotation
name="rPlus150AboutX" unit="deg"
x="150"
y="0"
z="0"/>
223 <rotation
name="rPlus180AboutX" unit="deg"
x="180"
y="0"
z="0"/>
224 <rotation
name="rMinusUVAngleAboutX" unit="deg"
x="-30"
y="0"
z="0"/>
225 <rotation
name="rPlus30AboutY" unit="deg"
x="0"
y="30"
z="0"/>
226 <rotation
name="rPlus60AboutY" unit="deg"
x="0"
y="60"
z="0"/>
227 <rotation
name="rPlus90AboutY" unit="deg"
x="0"
y="90"
z="0"/>
228 <rotation
name="rPlus180AboutY" unit="deg"
x="0"
y="180"
z="0"/>
229 <rotation
name="rMinus90AboutY" unit="deg"
x="0"
y="-90"
z="0"/>
230 <rotation
name="rPlus90AboutZ" unit="deg"
x="0"
y="0"
z="90"/>
231 <rotation
name="rMinus90AboutZ" unit="deg"
x="0"
y="0"
z="-90"/>
232 <rotation
name="rPlus180AboutZ" unit="deg"
x="0"
y="0"
z="180"/>
233 <rotation
name="rMinus180AboutZ" unit="deg"
x="0"
y="0"
z="-180"/>
234 <rotation
name="rMinus90AboutYPlus180AboutZ" unit="deg"
x="0"
y="-90"
z="180"/>
235 <rotation
name="rMinus90AboutYMinus90AboutZ" unit="deg"
x="0"
y="-90"
z="-90"/>
236 <rotation
name="rPlus90AboutYPlus180AboutZ" unit="deg"
x="0"
y="90"
z="180"/>
237 <rotation
name="rMinus90AboutYPlus90AboutZ" unit="deg"
x="0"
y="-90"
z="90"/>
238 <rotation
name="rPlus90AboutYMinus90AboutZ" unit="deg"
x="0"
y="90"
z="-90"/>
239 <rotation
name="rPlus90AboutXPlus90AboutZ" unit="deg"
x="90"
y="0"
z="90"/>
240 <rotation
name="rPlus90AboutXPlus180AboutZ" unit="deg"
x="90"
y="0"
z="180"/>
241 <rotation
name="rPlus90AboutXMinus90AboutY" unit="deg"
x="90"
y="-90"
z="0"/>
242 <rotation
name="rPlus90AboutXMinus90AboutZ" unit="deg"
x="90"
y="0"
z="-90"/>
243 <rotation
name="rPlus90AboutXPlus90AboutY" unit="deg"
x="90"
y="90"
z="0"/>
244 <rotation
name="rPMTRotation1" unit="deg"
x="90"
y="270"
z="0"/>
process_name opflash particleana ie ie ie z
process_name opflash particleana ie x
process_name can override from command line with o or output proton mvapid_weights muon_all_BDT weights xml
do one_file $F done echo for F in find $TOP name CMakeLists txt print
my($xml, $fcl, $workdir, $check, $merge)
process_name opflash particleana ie ie y
for($it=0;$it< $RaceTrack_number;$it++)
print OUTPUT<< EOF;< setup name="Default"version="1.0">< worldref="volWorld"/></setup ></gdml > EOF close(OUTPUT)
push(@gdmlFiles, $RACETRACK)
open(RACETRACK) or die("Could not open file $RACETRACK for writing")