Skip to content
Snippets Groups Projects
Commit c43180ce authored by Whitney Armstrong's avatar Whitney Armstrong
Browse files

modified: generate_eps

	modified:   ../../topside/roman_pots.xml
parent 4da04529
Branches
Tags
No related merge requests found
......@@ -47,8 +47,8 @@ set -- "${POSITIONAL[@]}" # restore positional parameters
#dawncut 1 0 0 100 ${INPUT_FILE} ${FILE_TAG}_temp0.prim
#dawncut -1 0 0 100 ${FILE_TAG}_temp0.prim ${FILE_TAG}.prim
#cp ${INPUT_FILE} ${FILE_TAG}.prim
dawncut 1 0 -0.01666 10 ${INPUT_FILE} ${FILE_TAG}_temp0.prim
dawncut -1 0 0.01666 0 ${FILE_TAG}_temp0.prim ${FILE_TAG}.prim
dawncut 1 0 -0.01666 100 ${INPUT_FILE} ${FILE_TAG}_temp0.prim
dawncut -1 0 0.01666 -100 ${FILE_TAG}_temp0.prim ${FILE_TAG}.prim
dawn -d ${FILE_TAG}.prim
ps2pdf ${FILE_TAG}.eps ${FILE_TAG}_full.pdf
......
......@@ -8,7 +8,7 @@
</display>
<detectors>
<detector id="ForwardRomanPot_ID" name = "RomanPot1" type="RomanPot" readout="ForwardRomanPotHits" vis = "RedVis">
<detector id="ForwardRomanPot_ID" name = "RomanPot1" type="RomanPot" readout="ForwardRomanPotHits" vis = "InvisibleWithDaughters">
<position x="20.0*cm+ CrossingSlope*30.0*m" y="0.0" z="30.0*m" z_offset="0.0*m" rotation="true" vmax="10*cm" v="2*cm" />
<dimensions x="10.0*cm" y="10.0*cm" delta="0.005*cm" />
<frame x="40.0*cm" y="30.0*cm" z="2*cm" />
......@@ -18,7 +18,7 @@
<slice material="Vacuum" thickness="1.0*mm" vis="InvisibleWithDaughters" />
</layer>
</detector>
<detector id="ForwardRomanPot_ID+1" name = "RomanPot2" type="RomanPot" readout="ForwardRomanPotHits" vis = "RedVis">
<detector id="ForwardRomanPot_ID+1" name = "RomanPot2" type="RomanPot" readout="ForwardRomanPotHits" vis = "InvisibleWithDaughters">
<position x="20.0*cm+ CrossingSlope*30.5*m" y="0.0" z="30.5*m" z_offset="0.0*m" rotation="true" vmax="10*cm" v="2*cm" />
<dimensions x="10.0*cm" y="10.0*cm" delta="0.005*cm" />
<frame x="40.0*cm" y="30.0*cm" z="2*cm" />
......@@ -28,7 +28,7 @@
<slice material="Vacuum" thickness="1.0*mm" vis="InvisibleWithDaughters" />
</layer>
</detector>
<detector id="ForwardRomanPot_ID+2" name = "RomanPot3" type="RomanPot" readout="ForwardRomanPotHits" vis = "RedVis">
<detector id="ForwardRomanPot_ID+2" name = "RomanPot3" type="RomanPot" readout="ForwardRomanPotHits" vis = "InvisibleWithDaughters">
<position x="30.0*cm+ CrossingSlope*33.0*m" y="0.0" z="33.0*m" z_offset="0.0*m" rotation="true" vmax="10*cm" v="2.5*cm" />
<dimensions x="10.0*cm" y="10.0*cm" delta="0.005*cm" />
<frame x="40.0*cm" y="30.0*cm" z="2*cm" />
......@@ -38,7 +38,7 @@
<slice material="Vacuum" thickness="1.0*mm" vis="InvisibleWithDaughters" />
</layer>
</detector>
<detector id="ForwardRomanPot_ID+3" name = "RomanPot4" type="RomanPot" readout="ForwardRomanPotHits" vis = "RedVis">
<detector id="ForwardRomanPot_ID+3" name = "RomanPot4" type="RomanPot" readout="ForwardRomanPotHits" vis = "InvisibleWithDaughters">
<position x="30.0*cm+ CrossingSlope*33.5*m" y="0.0" z="33.5*m" z_offset="0.0*m" rotation="true" vmax="10*cm" v="2.5*cm" />
<dimensions x="10.0*cm" y="10.0*cm" delta="0.005*cm" />
<frame x="40.0*cm" y="30.0*cm" z="2*cm" />
......@@ -48,7 +48,7 @@
<slice material="Vacuum" thickness="1.0*mm" vis="InvisibleWithDaughters" />
</layer>
</detector>
<detector id="ForwardRomanPot_ID+4" name = "RomanPot44" type="RomanPot" readout="ForwardRomanPotHits" vis = "RedVis">
<detector id="ForwardRomanPot_ID+4" name = "RomanPot44" type="RomanPot" readout="ForwardRomanPotHits" vis = "InvisibleWithDaughters">
<position x="40.0*cm+ CrossingSlope*(B2PF_CenterPosition-B2PF_Length/2.0-0.6*m)" y="0.0" z="B2PF_CenterPosition-B2PF_Length/2.0-0.6*m"
z_offset="0.0*m" rotation="true" vmax="10*cm" v="2.0*cm" />
<dimensions x="10.0*cm" y="10.0*cm" delta="0.005*cm" />
......@@ -59,7 +59,7 @@
<slice material="Vacuum" thickness="1.0*mm" vis="InvisibleWithDaughters" />
</layer>
</detector>
<detector id="ForwardRomanPot_ID+5" name = "RomanPot45" type="RomanPot" readout="ForwardRomanPotHits" vis = "RedVis">
<detector id="ForwardRomanPot_ID+5" name = "RomanPot45" type="RomanPot" readout="ForwardRomanPotHits" vis = "InvisibleWithDaughters">
<position x="40.0*cm+ CrossingSlope*(B2PF_CenterPosition-B2PF_Length/2.0-0.3*m)" y="0.0" z="(B2PF_CenterPosition-B2PF_Length/2.0-0.3*m)"
z_offset="0.0*m" rotation="true" vmax="10*cm" v="2.0*cm" />
<dimensions x="10.0*cm" y="10.0*cm" delta="0.005*cm" />
......@@ -70,7 +70,7 @@
<slice material="Vacuum" thickness="1.0*mm" vis="InvisibleWithDaughters" />
</layer>
</detector>
<detector id="ForwardRomanPot_ID+6" name = "RomanPot46" type="RomanPot" readout="ForwardRomanPotHits" vis = "RedVis">
<detector id="ForwardRomanPot_ID+6" name = "RomanPot46" type="RomanPot" readout="ForwardRomanPotHits" vis = "InvisibleWithDaughters">
<position x="45.0*cm+ CrossingSlope*(QPFC1_CenterPosition-QPFC1_Length/2.0 - 0.3*m)" y="0.0" z="(QPFC1_CenterPosition-QPFC1_Length/2.0 - 0.3*m)"
z_offset="0.0*m" rotation="true" vmax="10*cm" v="3.0*cm" />
<dimensions x="10.0*cm" y="10.0*cm" delta="0.005*cm" />
......@@ -81,7 +81,7 @@
<slice material="Vacuum" thickness="1.0*mm" vis="InvisibleWithDaughters" />
</layer>
</detector>
<detector id="ForwardRomanPot_ID+7" name = "RomanPot47" type="RomanPot" readout="ForwardRomanPotHits" vis = "RedVis">
<detector id="ForwardRomanPot_ID+7" name = "RomanPot47" type="RomanPot" readout="ForwardRomanPotHits" vis = "InvisibleWithDaughters">
<position x="45.0*cm+ CrossingSlope*(QPFC1_CenterPosition-QPFC1_Length/2.0 - 0.6*m)" y="0.0" z="(QPFC1_CenterPosition-QPFC1_Length/2.0 - 0.6*m)"
z_offset="0.0*m" rotation="false" vmax="10*cm" v="5.0*cm" />
<dimensions x="10.0*cm" y="10.0*cm" delta="0.005*cm" />
......@@ -92,7 +92,7 @@
<slice material="Vacuum" thickness="1.0*mm" vis="InvisibleWithDaughters" />
</layer>
</detector>
<detector id="ForwardRomanPot_ID+8" name = "RomanPot48" type="RomanPot" readout="ForwardRomanPotHits" vis = "RedVis">
<detector id="ForwardRomanPot_ID+8" name = "RomanPot48" type="RomanPot" readout="ForwardRomanPotHits" vis = "InvisibleWithDaughters">
<position x="45.0*cm+ CrossingSlope*(QPFC2_CenterPosition-QPFC2_Length/2.0 - 0.6*m)" y="0.0" z="(QPFC2_CenterPosition-QPFC2_Length/2.0 - 0.6*m)"
z_offset="0.0*m" rotation="true" vmax="10*cm" v="1.0*cm" />
<dimensions x="10.0*cm" y="10.0*cm" delta="0.005*cm" />
......@@ -103,7 +103,7 @@
<slice material="Vacuum" thickness="1.0*mm" vis="InvisibleWithDaughters" />
</layer>
</detector>
<detector id="ForwardRomanPot_ID+9" name = "RomanPot49" type="RomanPot" readout="ForwardRomanPotHits" vis = "RedVis">
<detector id="ForwardRomanPot_ID+9" name = "RomanPot49" type="RomanPot" readout="ForwardRomanPotHits" vis = "InvisibleWithDaughters">
<position x="45.0*cm+ CrossingSlope*(QPFC2_CenterPosition-QPFC2_Length/2.0 - 0.3*m)" y="0.0" z="(QPFC2_CenterPosition-QPFC2_Length/2.0 - 0.3*m)"
z_offset="0.0*m" rotation="false" vmax="10*cm" v="1.0*cm" />
<dimensions x="10.0*cm" y="10.0*cm" delta="0.005*cm" />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment