DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
XMLParsers.h
Go to the documentation of this file.
1 //==========================================================================
2 // AIDA Detector description implementation
3 //--------------------------------------------------------------------------
4 // Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
5 // All rights reserved.
6 //
7 // For the licensing terms see $DD4hepINSTALL/LICENSE.
8 // For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
9 //
10 // \author Markus Frank
11 // \date 2017-03-15
12 // \version 1.0
13 //
14 //==========================================================================
15 #ifndef XML_XMLPARSERS_H
16 #define XML_XMLPARSERS_H
17 
18 // Framework include files
19 #include <DD4hep/AlignmentData.h>
20 #include <XML/XMLElements.h>
21 
22 // C/C++ include files
23 
24 
26 namespace dd4hep {
27 
28  // Forward declarations
29  class OpaqueDataBlock;
30 
32  namespace xml {
33 
35  bool setXMLParserDebug(bool new_value);
36 
38 
44  void parse(Handle_t e, RotationZYX& rot);
45 
47 
54  void parse(Handle_t e, Position& pos);
55 
57 
64  void parse(Handle_t e, Translation3D& tr);
65 
67 
89  void parse(Handle_t e, Delta& delta);
90 
92 
99  void parse_delta(Handle_t e, OpaqueDataBlock& block);
100 
102 
111  void parse_mapping(Handle_t e, OpaqueDataBlock& block);
112 
114 
124  void parse_sequence(Handle_t e, OpaqueDataBlock& block);
125 
126 
127  } /* End namespace xml */
128 } /* End namespace dd4hep */
129 #endif // XML_XMLPARSERS_H
dd4hep::xml::parse_sequence
void parse_sequence(Handle_t e, OpaqueDataBlock &block)
Converts linear STL containers from their string representation.
Definition: XMLParsers.cpp:125
delta
const Delta * delta
Definition: AlignmentsCalculator.cpp:67
dd4hep::xml::parse_delta
void parse_delta(Handle_t e, OpaqueDataBlock &block)
Parse delta into an opaque data block.
Definition: XMLParsers.cpp:99
dd4hep::xml::parse
void parse(Handle_t e, RotationZYX &rot)
Convert rotation XML objects to dd4hep::RotationZYX.
Definition: XMLParsers.cpp:48
dd4hep::xml::setXMLParserDebug
bool setXMLParserDebug(bool new_value)
Set debug print level for this module. Default is OFF.
Definition: XMLParsers.cpp:41
dd4hep::Translation3D
ROOT::Math::Translation3D Translation3D
Definition: Objects.h:119
dd4hep::xml
Namespace for the AIDA detector description toolkit supporting XML utilities.
Definition: ConditionsTags.h:27
dd4hep::Position
ROOT::Math::XYZVector Position
Definition: Objects.h:81
XMLElements.h
dd4hep
Namespace for the AIDA detector description toolkit.
Definition: AlignmentsCalib.h:28
dd4hep::xml::parse_mapping
void parse_mapping(Handle_t e, OpaqueDataBlock &block)
Converts opaque maps to OpaqueDataBlock objects.
Definition: XMLParsers.cpp:105
dd4hep::RotationZYX
ROOT::Math::RotationZYX RotationZYX
Definition: Objects.h:105
AlignmentData.h