Go to the source code of this file.
Definition at line 149 of file generate_voltpc.pl.
152 $volTPC =
"voltpc.gdml";
153 $volTPC =
">" . $volTPC;
159 xsi:noNamespaceSchemaLocation="GDMLSchema/
gdml.xsd">
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
for($it=0;$it< $RaceTrack_number;$it++)
open(RACETRACK) or die("Could not open file $RACETRACK for writing")
Definition at line 41 of file generate_voltpc.pl.
43 # Set up the output file.
44 $volTPC =
"voltpc.gdml";
45 $volTPC =
">>" . $volTPC;
50 <box
name="World" lunit="cm"
54 <box
name="DetEnclosure" lunit="cm"
58 <box
name="Cryostat" lunit="cm"
66 <box
name="TPCPlane" lunit="cm"
79 <volume
name="volTPCWire">
80 <materialref ref="STEEL_STAINLESS_Fe7Cr2Ni" />
81 <solidref ref="TPCWire" />
83 <volume
name="volTPCPlane">
84 <materialref ref="LAr"/>
85 <solidref ref="TPCPlane"/>
92 <volumeref ref=
"volTPCWire"/>
93 <position
name=
"posTPCWire$i" unit=
"cm" x=
"0" y=
"0" z=
"$wire_zpos"/>
94 <rotation name=
"rTPCWire$i" unit=
"deg" x=
"60" y=
"0" z=
"0"/>
100 <volume
name=
"volTPC">
101 <materialref ref=
"LAr" />
102 <solidref ref=
"TPC" />
104 <volumeref ref=
"volTPCPlane"/>
105 <position name=
"posTPCPlane1" unit=
"cm" x=
"-0.45*$TPCWidth" y=
"0" z=
"0"/>
108 <volumeref ref=
"volTPCPlane"/>
109 <position name=
"posTPCPlane2" unit=
"cm" x=
"-0.475*$TPCWidth" y=
"0" z=
"0"/>
110 <rotation name=
"rTPCPlane2" unit=
"deg" x=
"0" y=
"180" z=
"0"/>
113 <volume name=
"volCryostat">
114 <materialref ref=
"LAr" />
115 <solidref ref=
"Cryostat" />
117 <volumeref ref=
"volTPC"/>
118 <position name=
"posTPC" unit=
"cm" x=
"0" y=
"0" z=
"0"/>
121 <volume name=
"volDetEnclosure">
122 <materialref ref=
"Air"/>
123 <solidref ref=
"DetEnclosure"/>
125 <volumeref ref=
"volCryostat"/>
126 <position name=
"posCryostat" unit=
"cm" x=
"0" y=
"0" z=
"0"/>
129 <volume name=
"volWorld" >
130 <materialref ref=
"Air"/>
131 <solidref ref=
"World"/>
133 <volumeref ref=
"volDetEnclosure"/>
134 <position name=
"posDetEnclosure" unit=
"cm" x=
"0.5*$TPCWidth" y=
"0" z=
"0.5*$TPCLength"/>
140 <world ref=
"volWorld" />
process_name opflash particleana ie ie ie z
then source grid fermiapp products dune setup_dune_fermiapp sh exit else echo No setup file found exit fi setup
process_name opflash particleana ie x
do one_file $F done echo for F in find $TOP name CMakeLists txt print
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)
open(RACETRACK) or die("Could not open file $RACETRACK for writing")
$ArgonHeight =$CryostatHeight-2*$SteelThickness |
$ArgonLength =$CryostatLength-2*$SteelThickness |
$ArgonWidth =$CryostatWidth-2*$SteelThickness |
$CavernHeight =$ArgonHeight+$TotalPadding |
$CavernLength =$ArgonLength+2*$TotalPadding |
$CavernWidth =$ArgonWidth+2*$TotalPadding |
$SteelThickness =0.5*2.54 |
$TotalPadding =$ConcretePadding+$GlassFoamPadding+$SteelThickness |
$TPCHeight =$CryostatHeight |
$TPCLength =$CryostatLength |
$TPCWidth =$CryostatWidth |