Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion geometry/mollerMother.gdml
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@

<!-- Front Tracking Detectors -->
<physvol>
<file name="tracking/GEMDetectors.gdml"/>
<file name="tracking/GEMTSDetectors.gdml"/>
<positionref ref="trackingDetectorVirtualPlaneFront1_pos"/>
</physvol>

Expand Down
197 changes: 197 additions & 0 deletions geometry/mollerParallel.gdml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@

<define>
&positions;
<!-- GEM rotor positions -->
<constant name="n_rots_01" value="0"/>
<constant name="n_rots_23" value="0"/>
<!-- Trigger scintillator volume pacement indices -->
<variable name="j" value="0"/>
<variable name="k" value="0"/>

</define>

<materials>
Expand Down Expand Up @@ -105,6 +112,57 @@

<box name="Showermax_stack_VirtualPlane_solid" lunit="mm" x="160" y="265" z="0.5"/>

<!-- Trigger scintillator virtual detector cross sections US=12 DS=34 -->

<xtru name="trigScintVirtual_solid_plane12" lunit="mm">
<twoDimVertex x="-207" y="1065"/>
<twoDimVertex x="-226" y="1061"/>
<twoDimVertex x="-242" y="1048"/>
<twoDimVertex x="-251" y="1030"/>
<twoDimVertex x="-160" y="625"/>
<twoDimVertex x="-152" y="605"/>
<twoDimVertex x="-139" y="591"/>
<twoDimVertex x="-121" y="581"/>
<twoDimVertex x="-50" y="583"/>
<twoDimVertex x="0" y="585"/>
<twoDimVertex x="50" y="583"/>
<twoDimVertex x="121" y="581"/>
<twoDimVertex x="139" y="591"/>
<twoDimVertex x="152" y="605"/>
<twoDimVertex x="251" y="1010"/>
<twoDimVertex x="251" y="1030"/>
<twoDimVertex x="242" y="1048"/>
<twoDimVertex x="226" y="1061"/>
<twoDimVertex x="207" y="1065"/>
<section zOrder="0" zPosition="0" xOffset="0" yOffset="0" scalingFactor="1"/>
<section zOrder="1" zPosition="3" xOffset="0" yOffset="0" scalingFactor="1"/>
</xtru>

<xtru name="trigScintVirtual_solid_plane34" lunit="mm">
<twoDimVertex x="-207" y="1096"/>
<twoDimVertex x="-226" y="1092"/>
<twoDimVertex x="-242" y="1079"/>
<twoDimVertex x="-251" y="1061"/>
<twoDimVertex x="-160" y="656"/>
<twoDimVertex x="-152" y="637"/>
<twoDimVertex x="-139" y="622"/>
<twoDimVertex x="-121" y="612"/>
<twoDimVertex x="-50" y="615"/>
<twoDimVertex x="0" y="616"/>
<twoDimVertex x="50" y="615"/>
<twoDimVertex x="121" y="612"/>
<twoDimVertex x="139" y="622"/>
<twoDimVertex x="152" y="637"/>
<twoDimVertex x="251" y="1042"/>
<twoDimVertex x="251" y="1061"/>
<twoDimVertex x="242" y="1079"/>
<twoDimVertex x="226" y="1092"/>
<twoDimVertex x="207" y="1096"/>
<section zOrder="0" zPosition="0" xOffset="0" yOffset="0" scalingFactor="1"/>
<section zOrder="1" zPosition="3" xOffset="0" yOffset="0" scalingFactor="1"/>
</xtru>


</solids>

<structure>
Expand Down Expand Up @@ -948,6 +1006,122 @@
<auxiliary auxtype="DetNo" auxvalue="35"/>
</volume>

<!-- US Plane trigger scintillator virtual detector logs: DetNo 400-406 -->

<volume name="trigScintVirtual_log_0">
<materialref ref="G4_Galactic"/>
<solidref ref="trigScintVirtual_solid_plane12"/>
<auxiliary auxtype="SensDet" auxvalue="planeDet"/>
<auxiliary auxtype="DetNo" auxvalue="400"/>
<auxiliary auxtype="Color" auxvalue="cyan"/>
</volume>

<volume name="trigScintVirtual_log_1">
<materialref ref="G4_Galactic"/>
<solidref ref="trigScintVirtual_solid_plane12"/>
<auxiliary auxtype="SensDet" auxvalue="planeDet"/>
<auxiliary auxtype="DetNo" auxvalue="401"/>
<auxiliary auxtype="Color" auxvalue="cyan"/>
</volume>

<volume name="trigScintVirtual_log_2">
<materialref ref="G4_Galactic"/>
<solidref ref="trigScintVirtual_solid_plane12"/>
<auxiliary auxtype="SensDet" auxvalue="planeDet"/>
<auxiliary auxtype="DetNo" auxvalue="402"/>
<auxiliary auxtype="Color" auxvalue="cyan"/>
</volume>
<volume name="trigScintVirtual_log_3">
<materialref ref="G4_Galactic"/>
<solidref ref="trigScintVirtual_solid_plane12"/>
<auxiliary auxtype="SensDet" auxvalue="planeDet"/>
<auxiliary auxtype="DetNo" auxvalue="403"/>
<auxiliary auxtype="Color" auxvalue="cyan"/>
</volume>

<volume name="trigScintVirtual_log_4">
<materialref ref="G4_Galactic"/>
<solidref ref="trigScintVirtual_solid_plane12"/>
<auxiliary auxtype="SensDet" auxvalue="planeDet"/>
<auxiliary auxtype="DetNo" auxvalue="404"/>
<auxiliary auxtype="Color" auxvalue="cyan"/>
</volume>

<volume name="trigScintVirtual_log_5">
<materialref ref="G4_Galactic"/>
<solidref ref="trigScintVirtual_solid_plane12"/>
<auxiliary auxtype="SensDet" auxvalue="planeDet"/>
<auxiliary auxtype="DetNo" auxvalue="405"/>
<auxiliary auxtype="Color" auxvalue="cyan"/>
</volume>

<volume name="trigScintVirtual_log_6">
<materialref ref="G4_Galactic"/>
<solidref ref="trigScintVirtual_solid_plane12"/>
<auxiliary auxtype="SensDet" auxvalue="planeDet"/>
<auxiliary auxtype="DetNo" auxvalue="406"/>
<auxiliary auxtype="Color" auxvalue="cyan"/>
</volume>


<!-- DS Plane trigger scintillator virtual detector logs: DetNo 407-413 -->
<volume name="trigScintVirtual_log_7">
<materialref ref="G4_Galactic"/>
<solidref ref="trigScintVirtual_solid_plane34"/>
<auxiliary auxtype="SensDet" auxvalue="planeDet"/>
<auxiliary auxtype="DetNo" auxvalue="407"/>
<auxiliary auxtype="Color" auxvalue="cyan"/>
</volume>

<volume name="trigScintVirtual_log_8">
<materialref ref="G4_Galactic"/>
<solidref ref="trigScintVirtual_solid_plane34"/>
<auxiliary auxtype="SensDet" auxvalue="planeDet"/>
<auxiliary auxtype="DetNo" auxvalue="408"/>
<auxiliary auxtype="Color" auxvalue="cyan"/>
</volume>

<volume name="trigScintVirtual_log_9">
<materialref ref="G4_Galactic"/>
<solidref ref="trigScintVirtual_solid_plane34"/>
<auxiliary auxtype="SensDet" auxvalue="planeDet"/>
<auxiliary auxtype="DetNo" auxvalue="409"/>
<auxiliary auxtype="Color" auxvalue="cyan"/>
</volume>

<volume name="trigScintVirtual_log_10">
<materialref ref="G4_Galactic"/>
<solidref ref="trigScintVirtual_solid_plane34"/>
<auxiliary auxtype="SensDet" auxvalue="planeDet"/>
<auxiliary auxtype="DetNo" auxvalue="410"/>
<auxiliary auxtype="Color" auxvalue="cyan"/>
</volume>

<volume name="trigScintVirtual_log_11">
<materialref ref="G4_Galactic"/>
<solidref ref="trigScintVirtual_solid_plane34"/>
<auxiliary auxtype="SensDet" auxvalue="planeDet"/>
<auxiliary auxtype="DetNo" auxvalue="411"/>
<auxiliary auxtype="Color" auxvalue="cyan"/>
</volume>

<volume name="trigScintVirtual_log_12">
<materialref ref="G4_Galactic"/>
<solidref ref="trigScintVirtual_solid_plane34"/>
<auxiliary auxtype="SensDet" auxvalue="planeDet"/>
<auxiliary auxtype="DetNo" auxvalue="412"/>
<auxiliary auxtype="Color" auxvalue="cyan"/>
</volume>

<volume name="trigScintVirtual_log_13">
<materialref ref="G4_Galactic"/>
<solidref ref="trigScintVirtual_solid_plane34"/>
<auxiliary auxtype="SensDet" auxvalue="planeDet"/>
<auxiliary auxtype="DetNo" auxvalue="413"/>
<auxiliary auxtype="Color" auxvalue="cyan"/>
</volume>


<volume name="mainDetectorVirtualPlane_log">
<materialref ref="G4_Galactic"/>
<solidref ref="midVirtualPlane_solid"/>
Expand Down Expand Up @@ -1571,7 +1745,30 @@
<volumeref ref="gemVirtualPlane4_log"/>
<positionref ref="trackingDetectorVirtualPlaneBack2_pos"/>
</physvol>

<!-- US Plane trigger scintillator virtual detectors: DetNo 400-406 -->
<loop for="j" from="0" to="6" step="1">
<physvol name="TRIG_virtual_plane0_[j+1]">
<volumeref ref="trigScintVirtual_log[j+1]"/>
<rotation name="TRIG_virtual_plane0_rot_[j+1]"
z="(-j)*360./7 - 90 + n_rots_01*360./28"
unit="deg"/>
<positionref ref="TRIGSCINT_virtualPlane_pos_0"/>
</physvol>
</loop>

<!-- DS Plane trigger scintillator virtual detectors: DetNo 407-413 -->
<loop for="j" from="0" to="6" step="1">
<physvol name="TRIG_virtual_plane3_[j+1]">
<volumeref ref="trigScintVirtual_log[7+j+1]"/>
<rotation name="TRIG_virtual_plane3_rot_[j+1]"
z="(-j)*360./7 - 90 + n_rots_23*360./28"
unit="deg"/>
<positionref ref="TRIGSCINT_virtualPlane_pos_3"/>
</physvol>
</loop>


<!-- Main detector plane -->
<physvol name="mainDetectorVirtualPlane_phys">
<volumeref ref="mainDetectorVirtualPlane_log"/>
Expand Down
4 changes: 4 additions & 0 deletions geometry/positions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -138,3 +138,7 @@
<rotation name="showerMaxStackVirtualPlane_26_rot" z="-321.43" unit="deg" />
<rotation name="showerMaxStackVirtualPlane_27_rot" z="-334.29" unit="deg" />
<rotation name="showerMaxStackVirtualPlane_28_rot" z="-347.14" unit="deg" />

<!-- trigger scintillator virtual detector position -->
<position name="TRIGSCINT_virtualPlane_pos_0" unit="mm" x="0" y="0" z="19724+80.0"/>
<position name="TRIGSCINT_virtualPlane_pos_3" unit="mm" x="0" y="0" z="19724+920.3"/>
Loading
Loading