Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
XMLFragments.hpp
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file XMLFragments.hpp
1
// This file is part of the Acts project.
2
//
3
// Copyright (C) 2023 CERN for the benefit of the Acts project
4
//
5
// This Source Code Form is subject to the terms of the Mozilla Public
6
// License, v. 2.0. If a copy of the MPL was not distributed with this
7
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
9
#pragma once
10
11
const
char
*
head_xml
=
12
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> )"""";
13
14
const
char
*
segmentation_xml
=
15
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> )"""";
16
17
const
char
*
end_xml
=
"</lccdd>"
;
18
acts
blob
sPHENIX
Tests
UnitTests
Plugins
DD4hep
XMLFragments.hpp
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:46
using
1.8.2 with
sPHENIX GitHub integration