Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
XMLFragments.hpp File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Variables

const char * head_xml
 
const char * segmentation_xml
 
const char * end_xml = "</lccdd>"
 

Variable Documentation

const char* end_xml = "</lccdd>"

Definition at line 17 of file XMLFragments.hpp.

View newest version in sPHENIX GitHub at line 17 of file XMLFragments.hpp

Referenced by BOOST_AUTO_TEST_CASE().

const char* head_xml
Initial value:
=
R""""(<?xml version="1.0" encoding="UTF-8"?> <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"> <info name="Cylinder" title="Cylinder Detector" author="Andreas.Salzburger@cern.ch" url="" status="alpha" version="0"> <comment>Test conversion of cylinder elements</comment> </info> <materials> <element Z="1" formula="H" name="H" > <atom type="A" unit="g/mol" value="1.00794" /> </element> <material name="Vacuum"> <D type="density" unit="g/cm3" value="0.00000001" /> <fraction n="1" ref="H" /> </material> <material name="Air"> <D type="density" unit="g/cm3" value="0.00000001" /> <fraction n="1" ref="H" /> </material> </materials> <define> <!--World--> <constant name="world_size" value="10.*m"/> <constant name="world_x" value="world_size"/> <constant name="world_y" value="world_size"/> <constant name="world_z" value="world_size"/> </define> )""""

Definition at line 11 of file XMLFragments.hpp.

View newest version in sPHENIX GitHub at line 11 of file XMLFragments.hpp

Referenced by BOOST_AUTO_TEST_CASE().

const char* segmentation_xml
Initial value:
=
R""""(<readouts> <readout name="PixelReadout"> <segmentation type="CartesianGridXY" grid_size_x="0.05*mm" grid_size_y="0.05*mm"/> <id>system:4,layer:4,stave:8,module:4,sensor:1,x:24:-12,y:-12</id> </readout> </readouts> )""""

Definition at line 14 of file XMLFragments.hpp.

View newest version in sPHENIX GitHub at line 14 of file XMLFragments.hpp

Referenced by BOOST_AUTO_TEST_CASE().