Back to home page

EIC code displayed by LXR

 
 

    


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

0001 <lccdd>
0002 <!-- #==========================================================================
0003      #  AIDA Detector description implementation 
0004      #==========================================================================
0005      # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
0006      # All rights reserved.
0007      #
0008      # For the licensing terms see $DD4hepINSTALL/LICENSE.
0009      # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
0010      #
0011      #==========================================================================
0012 -->
0013 
0014   <info name="TestMaterialProperties"
0015     title="Test reading of TGeo's Material Properties"
0016     author="Markus Frank"
0017     url="None"
0018     status="development"
0019     version="1.0">
0020     <comment>Test reading of TGeo's Material Properties</comment>
0021   </info>
0022 
0023   <define>
0024     <constant name="world_side" value="1*m"/>
0025     <constant name="world_x"    value="world_side/2"/>
0026     <constant name="world_y"    value="world_side/2"/>
0027     <constant name="world_z"    value="world_side/2"/>
0028   </define>
0029   <debug>
0030     <type name="surface" value="1"/>
0031   </debug>
0032 
0033   <properties>
0034     <matrix name="RINDEX__Air" coldim="2" values="  
0035               2.034*eV 1. 
0036               2.068*eV 1.
0037               2.103*eV 1.
0038               2.139*eV 1.
0039               2.177*eV 1.
0040               2.216*eV 1.
0041               2.256*eV 1.
0042               2.298*eV 1.
0043               2.341*eV 1.
0044               2.386*eV 1.
0045               2.433*eV 1.
0046               2.481*eV 1.
0047               2.532*eV 1.
0048               2.585*eV 1.
0049               2.640*eV 1.
0050               2.697*eV 1.
0051               2.757*eV 1.
0052               2.820*eV 1.
0053               2.885*eV 1.
0054               2.954*eV 1.
0055               3.026*eV 1.
0056               3.102*eV 1.
0057               3.181*eV 1.
0058               3.265*eV 1.
0059               3.353*eV 1.
0060               3.446*eV 1.
0061               3.545*eV 1.
0062               3.649*eV 1.
0063               3.760*eV 1.
0064               3.877*eV 1.
0065               4.002*eV 1.
0066               4.136*eV 1.
0067     "/>
0068     <matrix name="RINDEX__Water" coldim="2" values="  
0069               2.034*eV 1.3435 
0070               2.068*eV 1.344 
0071               2.103*eV 1.3445 
0072               2.139*eV 1.345  
0073               2.177*eV 1.3455
0074               2.216*eV 1.346
0075               2.256*eV 1.3465
0076               2.298*eV 1.347
0077               2.341*eV 1.3475
0078               2.386*eV 1.348
0079               2.433*eV 1.3485 
0080               2.481*eV 1.3492 
0081               2.532*eV 1.35   
0082               2.585*eV 1.3505
0083               2.640*eV 1.351
0084               2.697*eV 1.3518 
0085               2.757*eV 1.3522 
0086               2.820*eV 1.3530 
0087               2.885*eV 1.3535 
0088               2.954*eV 1.354
0089               3.026*eV 1.3545 
0090               3.102*eV 1.355 
0091               3.181*eV 1.3555 
0092               3.265*eV 1.356  
0093               3.353*eV 1.3568
0094               3.446*eV 1.3572 
0095               3.545*eV 1.358  
0096               3.649*eV 1.3585 
0097               3.760*eV 1.359  
0098               3.877*eV 1.3595
0099               4.002*eV 1.36   
0100               4.136*eV 1.3608
0101     "/>
0102     <matrix name="ABSLENGTH__Water" coldim="2" values="  
0103               2.034*eV 3.448*m  
0104               2.068*eV 4.082*m  
0105               2.103*eV 6.329*m  
0106               2.139*eV 9.174*m 
0107               2.177*eV 12.346*m 
0108               2.216*eV 13.889*m
0109               2.256*eV 15.152*m 
0110               2.298*eV 17.241*m 
0111               2.341*eV 18.868*m 
0112               2.386*eV 20.000*m 
0113               2.433*eV 26.316*m 
0114               2.481*eV 35.714*m
0115               2.532*eV 45.455*m 
0116               2.585*eV 47.619*m 
0117               2.640*eV 52.632*m 
0118               2.697*eV 52.632*m 
0119               2.757*eV 55.556*m 
0120               2.820*eV 52.632*m
0121               2.885*eV 52.632*m 
0122               2.954*eV 47.619*m 
0123               3.026*eV 45.455*m 
0124               3.102*eV 41.667*m 
0125               3.181*eV 37.037*m 
0126               3.265*eV 33.333*m
0127               3.353*eV 30.000*m 
0128               3.446*eV 28.500*m 
0129               3.545*eV 27.000*m 
0130               3.649*eV 24.500*m 
0131               3.760*eV 22.000*m 
0132               3.877*eV 19.500*m
0133               4.002*eV 17.500*m 
0134               4.136*eV 14.500*m
0135     "/>
0136     <matrix name= "FASTCOMPONENT__Water" coldim="2" values="  
0137               2.034*eV 1
0138               2.068*eV 1
0139               2.103*eV 1
0140               2.139*eV 1
0141               2.177*eV 1
0142               2.216*eV 1
0143               2.256*eV 1
0144               2.298*eV 1
0145               2.341*eV 1
0146               2.386*eV 1
0147               2.433*eV 1
0148               2.481*eV 1
0149               2.532*eV 1
0150               2.585*eV 1
0151               2.640*eV 1
0152               2.697*eV 1
0153               2.757*eV 1
0154               2.820*eV 1
0155               2.885*eV 1
0156               2.954*eV 1
0157               3.026*eV 1
0158               3.102*eV 1
0159               3.181*eV 1
0160               3.265*eV 1
0161               3.353*eV 1
0162               3.446*eV 1
0163               3.545*eV 1
0164               3.649*eV 1
0165               3.760*eV 1
0166               3.877*eV 1
0167               4.002*eV 1
0168               4.136*eV 1
0169     "/>
0170     <matrix name= "SLOWCOMPONENT__Water" coldim="2" values="  
0171               2.034*eV 0.01
0172               2.068*eV 1
0173               2.103*eV 2
0174               2.139*eV 3
0175               2.177*eV 4
0176               2.216*eV 5
0177               2.256*eV 6
0178               2.298*eV 7
0179               2.341*eV 8
0180               2.386*eV 9
0181               2.433*eV 8
0182               2.481*eV 7
0183               2.532*eV 6
0184               2.585*eV 4
0185               2.640*eV 3
0186               2.697*eV 2
0187               2.757*eV 1
0188               2.820*eV 0.01
0189               2.885*eV 1
0190               2.954*eV 2
0191               3.026*eV 3
0192               3.102*eV 4
0193               3.181*eV 5
0194               3.265*eV 6
0195               3.353*eV 7
0196               3.446*eV 8
0197               3.545*eV 9
0198               3.649*eV 8
0199               3.760*eV 7
0200               3.877*eV 6
0201               4.002*eV 5
0202               4.136*eV 4
0203     "/>
0204    <matrix name= "MIEHG__Water" coldim="2" values="  
0205               1.56962*eV   167024.4*m   
0206               1.58974*eV   158726.7*m   
0207               1.61039*eV   150742.0*m     
0208               1.63157*eV   143062.5*m   
0209               1.65333*eV   135680.2*m   
0210               1.67567*eV   128587.4*m     
0211               1.69863*eV   121776.3*m   
0212               1.72222*eV   115239.5*m   
0213               1.74647*eV   108969.5*m     
0214               1.77142*eV   102958.8*m   
0215               1.79710*eV   97200.35*m   
0216               1.82352*eV   91686.86*m     
0217               1.85074*eV   86411.33*m   
0218               1.87878*eV   81366.79*m   
0219               1.90769*eV   76546.42*m     
0220               1.93749*eV   71943.46*m   
0221               1.96825*eV   67551.29*m   
0222               1.99999*eV   63363.36*m     
0223               2.03278*eV   59373.25*m   
0224               2.06666*eV   55574.61*m   
0225               2.10169*eV   51961.24*m     
0226               2.13793*eV   48527.00*m   
0227               2.17543*eV   45265.87*m   
0228               2.21428*eV   42171.94*m     
0229               2.25454*eV   39239.39*m   
0230               2.29629*eV   36462.50*m   
0231               2.33962*eV   33835.68*m     
0232               2.38461*eV   31353.41*m   
0233               2.43137*eV   29010.30*m   
0234               2.47999*eV   26801.03*m     
0235               2.53061*eV   24720.42*m   
0236               2.58333*eV   22763.36*m   
0237               2.63829*eV   20924.88*m     
0238               2.69565*eV   19200.07*m   
0239               2.75555*eV   17584.16*m   
0240               2.81817*eV   16072.45*m     
0241               2.88371*eV   14660.38*m   
0242               2.95237*eV   13343.46*m   
0243               3.02438*eV   12117.33*m     
0244               3.09999*eV   10977.70*m   
0245               3.17948*eV   9920.416*m   
0246               3.26315*eV   8941.407*m     
0247               3.35134*eV   8036.711*m   
0248               3.44444*eV   7202.470*m   
0249               3.54285*eV   6434.927*m     
0250               3.64705*eV   5730.429*m   
0251               3.75757*eV   5085.425*m   
0252               3.87499*eV   4496.467*m     
0253               3.99999*eV   3960.210*m   
0254               4.13332*eV   3473.413*m   
0255               4.27585*eV   3032.937*m     
0256               4.42856*eV   2635.746*m   
0257               4.59258*eV   2278.907*m   
0258               4.76922*eV   1959.588*m     
0259               4.95999*eV   1675.064*m   
0260               5.16665*eV   1422.710*m   
0261               5.39129*eV   1200.004*m     
0262               5.63635*eV   1004.528*m   
0263               5.90475*eV   833.9666*m   
0264               6.19998*eV   686.1063*m     
0265     "/>
0266    <ignore>
0267     <matrix name= "REFLECTIVITY__Water" coldim="2" values="  
0268               2.034*eV 
0269               2.068*eV 
0270               2.103*eV 
0271               2.139*eV 
0272               2.177*eV 
0273               2.216*eV 
0274               2.256*eV 
0275               2.298*eV 
0276               2.341*eV 
0277               2.386*eV 
0278               2.433*eV 
0279               2.481*eV 
0280               2.532*eV 
0281               2.585*eV 
0282               2.640*eV 
0283               2.697*eV 
0284               2.757*eV 
0285               2.820*eV 
0286               2.885*eV 
0287               2.954*eV 
0288               3.026*eV 
0289               3.102*eV 
0290               3.181*eV 
0291               3.265*eV 
0292               3.353*eV 
0293               3.446*eV 
0294               3.545*eV 
0295               3.649*eV 
0296               3.760*eV 
0297               3.877*eV 
0298               4.002*eV 
0299               4.136*eV 
0300     "/>
0301     </ignore>
0302   </properties>
0303 
0304   <includes>
0305     <gdmlFile  ref="${DD4hepINSTALL}/DDDetectors/compact/elements.xml"/>
0306   </includes>
0307 
0308   <materials>
0309     <material name="Air">
0310       <D type="density" unit="g/cm3" value="0.0012"/>
0311       <fraction n="0.754" ref="N"/>
0312       <fraction n="0.234" ref="O"/>
0313       <fraction n="0.012" ref="Ar"/>
0314       <property name="RINDEX"        ref="RINDEX__Air"/>
0315     </material>
0316     <!-- We model vakuum just as very thin air -->
0317     <material name="Vacuum">  
0318       <D type="density" unit="g/cm3" value="0.0000000001" />
0319       <fraction n="0.754" ref="N"/>
0320       <fraction n="0.234" ref="O"/>
0321       <fraction n="0.012" ref="Ar"/>
0322     </material>
0323     <material name="Water">
0324       <D type="density" value="1.0" unit="g/cm3"/>
0325       <composite n="2" ref="H"/>
0326       <composite n="1" ref="O"/>
0327       <property name="RINDEX"              ref="RINDEX__Water"/>
0328       <property name="ABSLENGTH"           ref="ABSLENGTH__Water"/>
0329       <property name="FASTCOMPONENT"       ref="FASTCOMPONENT__Water"/>
0330       <property name="SLOWCOMPONENT"       ref="SLOWCOMPONENT__Water"/>
0331       <property name="MIEHG"               ref="MIEHG__Water"/>
0332       <constant name="SCINTILLATIONYIELD"  value="50.0/MeV"/>
0333       <constant name="RESOLUTIONSCALE"     value="1.0"/>
0334       <constant name="FASTTIMECONSTANT"    value="1.0*ns"/>
0335       <constant name="SLOWTIMECONSTANT"    value="10.0*ns"/>
0336       <constant name="YIELDRATIO"          value="0.8"/>
0337       <constant name="MIEHG_FORWARD"       value="0.99"/>
0338       <constant name="MIEHG_BACKWARD"      value="0.99"/>
0339       <constant name="MIEHG_FORWARD_RATIO" value="0.8"/>
0340     </material>
0341   </materials>
0342 
0343   <display>
0344     <vis name="TankVis"    alpha="0.5"   r="0"   g="0.0" b="1.0"  showDaughters="true"  visible="true"/>
0345     <vis name="BubbleVis"  alpha="0.3"   r="1"   g="0.0" b="0.0"  showDaughters="true"  visible="true"/>
0346   </display>
0347 
0348   <surfaces>
0349     <alt___opticalsurface name="/world/BubbleDevice#WaterSurface" finish="ground" model="unified" type="dielectric_dielectric">
0350       <property name="RINDEX"                  coldim="2" values="2.034*eV  1.35  4.136*eV  1.40"/>
0351       <property name="SPECULARLOBECONSTANT"    coldim="2" values="2.034*eV  0.3   4.136*eV  0.3 "/>
0352       <property name="SPECULARSPIKECONSTANT"   coldim="2" values="2.034*eV  0.2   4.136*eV  0.2 "/>
0353       <property name="BACKSCATTERCONSTANT"     coldim="2" values="2.034*eV  0.2   4.136*eV  0.2 "/>
0354     </alt___opticalsurface>
0355     <opticalsurface name="/world/BubbleDevice#WaterSurface" finish="Rough_LUT" model="DAVIS" type="dielectric_LUTDAVIS"/>
0356     <opticalsurface name="/world/BubbleDevice#AirSurface" finish="polished" model="glisur" type="dielectric_dielectric">
0357       <property name="REFLECTIVITY"            coldim="2" values="2.034*eV  0.3   4.136*eV  0.5"/>
0358       <property name="EFFICIENCY"              coldim="2" values="2.034*eV  0.8   4.136*eV  1.0"/>
0359     </opticalsurface>
0360   </surfaces>
0361 
0362   <detectors>
0363     <detector name="BubbleDevice" type="DD4hep_OpNovice" vis="TankVis" id ="1" sensitive="true" readout="BubbleDeviceHits">
0364       <tank   x="1*m"    y="1*m"    z="1*m"    material="Water"  vis="TankVis"/>
0365       <bubble x="0.5*m"  y="0.5*m"  z="0.5*m"  material="Air"    vis="BubbleVis"/>
0366     </detector>
0367   </detectors>
0368 
0369   <readouts>
0370     <readout name="BubbleDeviceHits">
0371       <id>system:6,tank:2,bubble:2,x:12:-6,y:24:-6</id>
0372     </readout>
0373   </readouts>
0374 
0375 </lccdd>