lcdd/examples/segmentation
diff -u -r1.1 -r1.2
--- CellReadout2D.lcdd 6 Sep 2013 02:26:58 -0000 1.1
+++ CellReadout2D.lcdd 14 Sep 2013 01:38:24 -0000 1.2
@@ -8,14 +8,15 @@
</header>
<iddict>
<idspec name="CalHits" length="64">
- <idfield signed="false" label="layer" length="7" start="0" />
- <idfield signed="false" label="system" length="3" start="7" />
- <idfield signed="true" label="ix" length="16" start="32" />
- <idfield signed="true" label="iy" length="16" start="48" />
+ <idfield signed="false" label="system" length="3" start="0" />
+ <idfield signed="false" label="layer" length="7" start="3" />
+ <idfield signed="false" label="slice" length="2" start="5" />
+ <idfield signed="false" label="ix" length="16" start="32" />
+ <idfield signed="false" label="iy" length="16" start="48" />
</idspec>
</iddict>
<sensitive_detectors>
- <calorimeter name="CellReadout2DTest" ecut="0.0" eunit="MeV" verbose="0" hits_collection="CalHits">
+ <calorimeter name="CellReadout2DTest" ecut="0.0" eunit="MeV" verbose="2" hits_collection="CalHits">
<idspecref ref="CalHits" />
<cell_readout_2d cell_size_x="1.0" cell_size_y="1.0" lunit="cm" />
</calorimeter>
@@ -89,7 +90,7 @@
<volumeref ref="TestBeamCalorimeterTest_layerType0_slice0" />
<positionref ref="TestBeamCalorimeterTest_layerType0_slice0_position" />
<rotationref ref="identity_rot" />
- <physvolid field_name="slice" value="0" />
+ <physvolid field_name="slice" value="1" />
</physvol>
</volume>
<volume name="TestBeamCalorimeterTest_envelope">
@@ -99,7 +100,7 @@
<volumeref ref="TestBeamCalorimeterTest_layerType0" />
<positionref ref="TestBeamCalorimeterTest_layer0_position" />
<rotationref ref="identity_rot" />
- <physvolid field_name="layer" value="0" />
+ <physvolid field_name="layer" value="2" />
</physvol>
</volume>
<volume name="tracking_volume">
@@ -109,7 +110,7 @@
<volumeref ref="TestBeamCalorimeterTest_envelope" />
<positionref ref="TestBeamCalorimeterTest_position" />
<rotationref ref="identity_rot" />
- <physvolid field_name="system" value="0" />
+ <physvolid field_name="system" value="3" />
</physvol>
<regionref ref="TrackingRegion" />
</volume>