File indexing completed on 2025-01-18 09:13:08
0001
0002
0003
0004
0005
0006
0007
0008
0009 #pragma once
0010
0011 const char* head_xml =
0012 R""""(<?xml version="1.0" encoding="UTF-8"?>
0013 <lccdd xmlns:compact="http://www.lcsim.org/schemas/compact/1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" xs:noNamespaceSchemaLocation="http://www.lcsim.org/schemas/compact/1.0/compact.xsd">
0014 <info name="Cylinder" title="Cylinder Detector" author="Andreas.Salzburger@cern.ch" url="" status="alpha" version="0">
0015 <comment>Test conversion of cylinder elements</comment>
0016 </info>
0017
0018 <materials>
0019 <element Z="1" formula="H" name="H" >
0020 <atom type="A" unit="g/mol" value="1.00794" />
0021 </element>
0022 <material name="Vacuum">
0023 <D type="density" unit="g/cm3" value="0.00000001" />
0024 <fraction n="1" ref="H" />
0025 </material>
0026 <material name="Air">
0027 <D type="density" unit="g/cm3" value="0.00000001" />
0028 <fraction n="1" ref="H" />
0029 </material>
0030 </materials>
0031
0032 <define>
0033 <!--World-->
0034 <constant name="world_size" value="10.*m"/>
0035 <constant name="world_x" value="world_size"/>
0036 <constant name="world_y" value="world_size"/>
0037 <constant name="world_z" value="world_size"/>
0038 </define>
0039 )"""";
0040
0041 const char* segmentation_xml =
0042 R""""(<readouts>
0043 <readout name="PixelReadout">
0044 <segmentation type="CartesianGridXY" grid_size_x="0.05*mm" grid_size_y="0.05*mm"/>
0045 <id>system:4,layer:4,stave:8,module:4,sensor:1,x:24:-12,y:-12</id>
0046 </readout>
0047 </readouts>
0048 )"""";
0049
0050 const char* end_xml = "</lccdd>";