Back to home page

EIC code displayed by LXR

 
 

    


Warning, /DD4hep/examples/ClientTests/compact/CaloEndcapReflection.xml is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0" encoding="UTF-8"?>
0002 <lccdd>
0003 <!-- #==========================================================================
0004      #  AIDA Detector description implementation 
0005      #==========================================================================
0006      # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
0007      # All rights reserved.
0008      #
0009      # For the licensing terms see $DD4hepINSTALL/LICENSE.
0010      # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
0011      #
0012      #==========================================================================
0013 -->
0014 
0015   <info name="clic_sid_cdr"
0016         title="CLIC Silicon Detector CDR"
0017         author="Markus Frank"
0018         url="https://twiki.cern.ch/twiki/bin/view/CLIC/ClicSidCdr"
0019         status="development"
0020         version="1.0">
0021     <comment>Test for reflections with left handed coordinates of the ECAL/HCAL encap</comment>
0022   </info>
0023 
0024   <define>
0025     <include ref="${DD4hepINSTALL}/DDDetectors/compact/SiDConstants.xml"/>
0026   </define>
0027 
0028   <includes>
0029     <gdmlFile  ref="${DD4hepINSTALL}/DDDetectors/compact/elements.xml"/>
0030     <gdmlFile  ref="${DD4hepINSTALL}/DDDetectors/compact/materials.xml"/>
0031   </includes>
0032   
0033   <comment>Common Generic visualization attributes</comment>
0034   <display>
0035     <vis name="InvisibleNoDaughters"      showDaughters="false" visible="false"/>
0036     <vis name="InvisibleWithDaughters"    showDaughters="true" visible="false"/>
0037     <vis name="GreenVis"   alpha="1" r="0.0" g="1.0" b="0.0" showDaughters="true" visible="true"/>
0038     <vis name="RedVis"     alpha="1" r="1.0" g="0.0" b="0.0" showDaughters="true" visible="true"/>
0039     <vis name="BlueVis"    alpha="1" r="0.0" g="0.0" b="1.0" showDaughters="true" visible="true"/>
0040     <vis name="YellowVis"  alpha="1" r="1.0" g="1.0" b="0.0" showDaughters="true" visible="true"/>
0041     <vis name="PinkVis"    alpha="1" r="0.9" g="0.3" b="0.8" showDaughters="true" visible="true"/>
0042   </display>
0043 
0044   <detectors>
0045     <detector id="EcalEndcap_ID" name="EcalEndcapA" type="DD4hep_PolyhedraEndcapCalorimeter2" reflect="false" readout="EcalEndcapAHits" vis="InvisibleWithDaughters" calorimeterType="EM_ENDCAP">
0046 
0047       <dimensions numsides="(int) CaloSides" zmin="EcalEndcap_zmin" rmin="EcalEndcap_rmin" rmax="EcalEndcap_rmax" />
0048       <layer repeat="3" vis="YellowVis">
0049         <slice material = "Silicon" thickness = "1*cm" sensitive="yes" limits="cal_limits" vis="InvisibleNoDaughters"/>
0050       </layer>       
0051       <layer repeat="3" vis="RedVis">
0052         <slice material = "Silicon" thickness = "1*cm" sensitive="yes" limits="cal_limits" vis="InvisibleNoDaughters"/>
0053       </layer>
0054       <layer repeat="3" vis="BlueVis">
0055         <slice material = "Silicon" thickness = "1*cm" sensitive="yes" limits="cal_limits" vis="InvisibleNoDaughters"/>
0056       </layer>
0057       <layer repeat="3" vis="PinkVis">
0058         <slice material = "Silicon" thickness = "1*cm" sensitive="yes" limits="cal_limits" vis="InvisibleNoDaughters"/>
0059       </layer>
0060     </detector>
0061     <detector id="EcalEndcap_ID+100" name="EcalEndcapB" type="DD4hep_ReflectedDetector"
0062               sensitive="true" sdref="EcalEndcapA"    readout="EcalEndcapBHits">
0063       <sensitive type="calorimeter"/>
0064       <reflect type="Z"/>
0065     </detector>
0066   </detectors>
0067 
0068   <!--  Definition of the readout segmentation/definition  -->
0069   <readouts>
0070     <readout name="EcalEndcapAHits">
0071       <segmentation type="CartesianGridXY" grid_size_x="3.5" grid_size_y="3.5" />
0072       <id>system:8,barrel:3,module:4,layer:6,slice:5,x:32:-16,y:-16</id>
0073     </readout>
0074     <readout name="EcalEndcapBHits">
0075       <segmentation type="CartesianGridXY" grid_size_x="3.5" grid_size_y="3.5" />
0076       <id>system:8,barrel:3,module:4,layer:6,slice:5,x:32:-16,y:-16</id>
0077     </readout>
0078   </readouts>
0079 
0080   <detectors>
0081     <detector id="HcalEndcap_ID" name="HcalEndcapA" type="DD4hep_PolyhedraEndcapCalorimeter2" readout="HcalEndcapAHits" reflect="false" vis="InvisibleWithDaughters" calorimeterType="HAD_ENDCAP">
0082       <dimensions numsides="(int) CaloSides" zmin="HcalEndcap_zmin" rmin="HcalEndcap_rmin" rmax="HcalEndcap_rmax" />
0083       <layer repeat="2" vis="YellowVis">
0084         <slice material="Polystyrene" thickness="3*cm" sensitive="yes" limits="cal_limits" vis="InvisibleNoDaughters"/>        
0085       </layer>
0086       <layer repeat="2" vis="RedVis">
0087         <slice material="Polystyrene" thickness="3*cm" sensitive="yes" limits="cal_limits" vis="InvisibleNoDaughters"/>        
0088       </layer>
0089       <layer repeat="2" vis="BlueVis">
0090         <slice material="Polystyrene" thickness="3*cm" sensitive="yes" limits="cal_limits" vis="InvisibleNoDaughters"/>        
0091       </layer>
0092       <layer repeat="2" vis="PinkVis">
0093         <slice material="Polystyrene" thickness="3*cm" sensitive="yes" limits="cal_limits" vis="InvisibleNoDaughters"/>        
0094       </layer>
0095     </detector>
0096     <detector id="HcalEndcap_ID+100" name="HcalEndcapB" type="DD4hep_ReflectedDetector"
0097               sensitive="true" sdref="HcalEndcapA"    readout="HcalEndcapBHits">
0098       <sensitive type="calorimeter"/>
0099       <reflect type="Z"/>
0100     </detector>
0101   </detectors>
0102 
0103   <!--  Definition of the readout segmentation/definition  -->
0104   <readouts>
0105     <readout name="HcalEndcapAHits">
0106       <segmentation type="CartesianGridXY" grid_size_x="3.0*cm" grid_size_y="3.0*cm" />
0107       <id>system:8,barrel:3,module:4,layer:8,slice:5,x:32:-16,y:-16</id>
0108     </readout>
0109     <readout name="HcalEndcapBHits">
0110       <segmentation type="CartesianGridXY" grid_size_x="3.0*cm" grid_size_y="3.0*cm" />
0111       <id>system:8,barrel:3,module:4,layer:8,slice:5,x:32:-16,y:-16</id>
0112     </readout>
0113   </readouts>
0114 
0115   <comment>Beampipe</comment>
0116   <include ref="${DD4hepINSTALL}/DDDetectors/compact/SiD/SiD_Beampipe.xml"/>
0117 
0118   <fields>
0119     <field name="GlobalSolenoid" type="solenoid" 
0120            inner_field="5.0*tesla"
0121            outer_field="-1.5*tesla" 
0122            zmax="SolenoidCoilOuterZ"
0123            outer_radius="SolenoidalFieldRadius">
0124     </field>
0125   </fields>
0126 </lccdd>