Skip to content
Snippets Groups Projects
det.xml 1.46 KiB
<?xml version="1.0" encoding="UTF-8"?>
<lccdd>
 
  <info name="EcalMatrix"
	title="Test with Chunxiu Liu's EcalMatrix"
	author="Tao Lin"
	url="http://cepcgit.ihep.ac.cn"
	status="development"
	version="v0">
    <comment>Test with Chunxiu Liu's EcalMatrix</comment>        
  </info>

  <includes>
    <gdmlFile  ref="elements.xml"/>
    <gdmlFile  ref="materials.xml"/>
  </includes>

  <define>
    <constant name="world_size" value="30*m"/>
    <constant name="world_x" value="world_size"/>
    <constant name="world_y" value="world_size"/>
    <constant name="world_z" value="world_size"/>
  </define>

  <display>
    <vis name="Invisible" showDaughters="false" visible="false"/>
    <vis name="InvisibleWithChildren" showDaughters="true" visible="false"/>
    <vis name="VisibleRed"  r="1.0" g="0.0" b="0.0" showDaughters="true" visible="true"/>
    <vis name="VisibleBlue" r="0.0" g="0.0" b="1.0" showDaughters="false" visible="true"/>
    <vis name="VisibleGreen" alpha="1.0" r="0.0" g="1.0" b="0.0" drawingStyle="solid" lineStyle="solid" showDaughters="true" visible="true"/>
  </display>

  <detectors>
    <detector id="1" name="CaloDetector" type="EcalMatrix" readout="CaloHitsCollection" vis="VisibleGreen" sensitive="true">
      <position x="0"  y="0"  z="1835*mm+30*cm"/>
      <dimensions dx="30*cm"  dy="30*cm"  dz="30*cm"/>
    </detector>
  </detectors>
  
  <readouts>
    <readout name="CaloHitsCollection">
      <id>system:8</id>
    </readout>
  </readouts>

</lccdd>