Commit 30fe162b authored by Jihee Kim's avatar Jihee Kim Committed by Whitney Armstrong
Browse files

Added a gap of crystal blocks as a parameter and added dummy plane

detector, but commented out

	modified:   topside/ecal.xml
parent 651ea2d4
<lccdd>
<define>
<constant name="CrystalEndcap_rmin" value="120.0*mm"/>
<constant name="CrystalEndcap_rmin" value="VertexTrackerInnerRadius"/>
<constant name="CrystalEndcap_rmax" value="EcalEndcapN_rmin"/>
<constant name="CrystalBox_x_length" value="20.0*mm"/>
<constant name="CrystalBox_y_length" value="20.0*mm"/>
<constant name="CrystalBox_z_length" value="200.0*mm"/>
<constant name="CrystalBox_offset" value="0.000001*mm"/>
<constant name="CrystalEndcap_x_pos" value="0.0*m"/>
<constant name="CrystalEndcap_y_pos" value="0.0*m"/>
<constant name="CrystalEndcap_z_pos" value="-EcalEndcap_zmin"/>
......@@ -25,6 +25,24 @@
<detectors>
<comment>
-------------------
Dummy Plane Tracker
-------------------
Plane tracker that gives momentum of incident particles before crystal endcap calorimeter (backward)
</comment>
<!--
<detector
id = "100"
name = "DummyPlaneTracker"
type = "PlaneTracker"
readout ="PlaneTrackerHits"
vis = "GreenVis">
<dimensions x = "700.0*mm" y = "700.0*mm" z= "1.0*mm" rmin= "VertexTrackerInnerRadius+5.0*mm" rmax="EcalEndcapN_rmin+10.0*mm"/>
<position x ="0.0*m" y ="0.0*m" z="CrystalEndcap_z_pos/2.0 + 10.0*mm"/>
</detector>
-->
<comment>
-------------------
Crystal Calorimeter
......@@ -34,11 +52,11 @@
<detector
id="CrystalEndcap_ID"
name="ElectronECAL"
type="Crystal"
type="CrystalCalorimeterEndcap"
readout="CrystalEcalHits"
vis="GreenVis">
<position x="CrystalEndcap_x_pos" y="CrystalEndcap_y_pos" z="CrystalEndcap_z_pos" />
<dimensions rmin="CrystalEndcap_rmin" rmax="CrystalEndcap_rmax" x="CrystalBox_x_length" y="CrystalBox_y_length" z="CrystalBox_z_length"/>
<dimensions rmin="CrystalEndcap_rmin" rmax="CrystalEndcap_rmax" x="CrystalBox_x_length" y="CrystalBox_y_length" z="CrystalBox_z_length" delta="CrystalBox_offset"/>
</detector>
<comment>
......@@ -170,6 +188,12 @@
<!-- Definition of the readout segmentation/definition -->
<readouts>
<!--
<readout name="PlaneTrackerHits">
<segmentation type="CartesianGridXY" grid_size_x="20.0*mm" grid_size_y="20.0*mm" />
<id>system:5,module:4,x:32:-16,y:-16</id>
</readout>
-->
<readout name="CrystalEcalHits">
<segmentation type="CartesianGridXY" grid_size_x="CrystalBox_x_length" grid_size_y="CrystalBox_y_length" />
<id>system:8,sector:4,module:20,x:48:-8,y:-8</id>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment