Skip to content
Snippets Groups Projects
Commit 365d5594 authored by Sylvester Joosten's avatar Sylvester Joosten
Browse files

Fix ZDC HCal segmentation

parent acbd2ae2
Branches
Tags
1 merge request!89Fix ZDC HCal segmentation
Pipeline #22523 failed
File added
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<lccdd> <lccdd>
<define> <define>
<constant name="Pi" value="3.14159265359"/> <constant name="Pi" value="3.14159265359"/>
<constant name="degree" value="3.14159265359/180.0"/>
<constant name="world_side" value="30*m"/> <constant name="world_side" value="30*m"/>
<constant name="world_x" value="world_side"/> <constant name="world_x" value="world_side"/>
<constant name="world_y" value="world_side"/> <constant name="world_y" value="world_side"/>
......
...@@ -40,16 +40,26 @@ ...@@ -40,16 +40,26 @@
</detector> </detector>
</detectors> </detectors>
<define>
<constant name="ZDC_HCAL_PbScint1Min_index" value="1 + ffi_ZDC_Gap_NRepeat" />
<constant name="ZDC_HCAL_PbScint1Max_index" value="ZDC_HCAL_PbScint1Min_index + ffi_ZDC_PbScint_NRepeat - 1" />
<constant name="ZDC_HCAL_SiPbMin_index" value="ZDC_HCAL_PbScint1Max_index + 1" />
<constant name="ZDC_HCAL_SiPbMax_index" value="ZDC_HCAL_SiPbMin_index + ffi_ZDC_SiPb_NRepeat - 1" />
<constant name="ZDC_HCAL_PbScint2Min_index" value="1 + ZDC_HCAL_SiPbMin_index + ffi_ZDC_Gap_NRepeat" />
<constant name="ZDC_HCAL_PbScint2Max_index" value="ZDC_HCAL_PbScint2Min_index + ffi_ZDC_PbScint_NRepeat - 1" />
</define>
<readouts> <readouts>
<readout name="ffi_ZDC_HCAL_Hits"> <readout name="ffi_ZDC_HCAL_Hits">
<segmentation type="MultiSegmentation" key="layer"> <segmentation type="MultiSegmentation" key="layer">
<segmentation name="Si_LG_grid" type="CartesianGridXY" key_min="1" key_max="12" grid_size_x="1.0*cm" grid_size_y="1.0*cm"/> <segmentation name="Si_LG_grid" type="CartesianGridXY" key_min="ZDC_HCAL_SiPbMin_index" key_max="ZDC_HCAL_SiPbMax_index" grid_size_x="1.0*cm" grid_size_y="1.0*cm"/>
<segmentation name="Scint_grid" type="CartesianGridXY" key_min="14" key_max="32" grid_size_x="10.0*cm" grid_size_y="10.0*cm"/> <segmentation name="Scint_grid" type="CartesianGridXY" key_min="ZDC_HCAL_PbScint1Min_index" key_max="ZDC_HCAL_PbScint1Max_index" grid_size_x="10.0*cm" grid_size_y="10.0*cm"/>
<segmentation name="Scint_grid" type="CartesianGridXY" key_min="34" key_max="52" grid_size_x="10.0*cm" grid_size_y="10.0*cm"/> <segmentation name="Scint_grid" type="CartesianGridXY" key_min="ZDC_HCAL_PbScint2Min_index" key_max="ZDC_HCAL_PbScint2Max_index" grid_size_x="10.0*cm" grid_size_y="10.0*cm"/>
</segmentation> </segmentation>
<hits_collections> <hits_collections>
<hits_collection name="ffiZDCSiPbHits" key="layer" key_min="1" key_max="12"/> <hits_collection name="ffiZDCScintHits" key="layer" key_min="ZDC_HCAL_PbScint1Min_index" key_max="ZDC_HCAL_PbScint1Max_index"/>
<hits_collection name="ffiZDCScintHits" key="layer" key_min="14" key_max="52"/> <hits_collection name="ffiZDCSiPbHits" key="layer" key_min="ZDC_HCAL_SiPbMin_index" key_max="ZDC_HCAL_SiPbMax_index"/>
<hits_collection name="ffiZDCScintHits" key="layer" key_min="ZDC_HCAL_PbScint2Min_index" key_max="ZDC_HCAL_PbScint2Max_index"/>
</hits_collections> </hits_collections>
<id>system:8,layer:12,slice:12,x:32:-16,y:-16</id> <id>system:8,layer:12,slice:12,x:32:-16,y:-16</id>
</readout> </readout>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment