DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
DetectorChecksum.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 : M.Frank
11 //
12 //==========================================================================
13 #ifndef DDCORE_SRC_PLUGINS_DETECTORCHECKSUM_H
14 #define DDCORE_SRC_PLUGINS_DETECTORCHECKSUM_H
15 
17 #include <DD4hep/Detector.h>
18 #include <DD4hep/GeoHandler.h>
19 #include <DD4hep/DD4hepUnits.h>
20 
22 #include <sstream>
23 
25 
27 namespace dd4hep {
28 
30  namespace detail {
31 
33 
38  class DetectorChecksum: public GeoHandler {
39  public:
40  using hash_t = uint64_t;
41  struct entry_t {
42  hash_t hash { 0 };
43  std::string data { "" };
44  };
45  using ElementMap = std::map<Atom, entry_t>;
46  using MaterialMap = std::map<Material, entry_t>;
47  using LimitMap = std::map<LimitSet, entry_t>;
48  using PlacementMap = std::map<PlacedVolume, entry_t>;
49  using RegionMap = std::map<Region, entry_t>;
50  using SensDetMap = std::map<SensitiveDetector, entry_t>;
51  using VolumeMap = std::map<Volume, entry_t>;
52  using IdSpecMap = std::map<IDDescriptor, entry_t>;
53  using SegmentationMap = std::map<Segmentation, entry_t>;
54  using VisMap = std::map<VisAttr, entry_t>;
55  using AlignmentMap = std::map<Alignment, entry_t>;
56  using SolidMap = std::map<Solid, entry_t>;
57  using FieldMap = std::map<OverlayedField, entry_t>;
58  using TrafoMap = std::map<const TGeoMatrix*, entry_t>;
59  using MapOfDetElements = std::map<DetElement, entry_t>;
60 
62 
67  class GeometryInfo: public GeoHandler::GeometryInfo {
68  public:
86 
87  GeometryInfo() = default;
88  };
89 
93  mutable std::stringstream debug_hash;
94 
95  std::string m_len_unit_nam = "mm";
96  std::string m_ang_unit_nam = "deg";
97  std::string m_ene_unit_nam = "GeV";
98  std::string m_densunit_nam = "g/cm3";
99  std::string m_atomunit_nam = "g/mole";
100  double m_len_unit = dd4hep::mm;
101  double m_ang_unit = dd4hep::deg;
102  double m_ene_unit = dd4hep::GeV;
103  double m_densunit = dd4hep::g/dd4hep::cm3;
104  double m_atomunit = dd4hep::g/dd4hep::mole;
105 
106  double m_len__def = dd4hep::mm;
107  double m_ang__def = dd4hep::deg;
108  double m_ene__def = dd4hep::GeV;
109  double m_dens_def = dd4hep::g/dd4hep::cm3;
110  double m_atom_def = dd4hep::g/dd4hep::mole;
111 
112  entry_t empty_entry { 0UL, "" };
113  std::string newline = "";
114 
116  mutable int precision { 6 };
118  int hash_meshes { 0 };
120  int hash_readout { 0 };
122  int max_level { 1 };
124  int have_hash_strings { 0 };
126  int debug { 4 };
127  int reorder { 1 };
128  int write_files { 1 };
129 
130  GeometryInfo& data() const {
131  return *m_dataPtr;
132  }
133  void configure();
134  void hash_debug(const std::string& prefix, const entry_t& str, int flag=0) const;
135  entry_t make_entry(std::stringstream& log) const;
136  std::stringstream logger() const;
137 
139  DetectorChecksum(Detector& description);
140 
142  virtual ~DetectorChecksum();
143 
144  template <typename T> std::string refName(T handle) const;
145  template <typename T> std::string attr_name(T handle) const;
146  void collect_det_elements(DetElement top) const;
147 
149  void analyzeDetector(DetElement top);
150  typedef std::vector<hash_t> hashes_t;
151  void checksumPlacement(PlacedVolume pv, hashes_t& hashes, bool recursive) const;
152  void checksumDetElement(int level, DetElement det, hashes_t& hashes, bool recursive) const;
153 
155  virtual const entry_t& handleHeader() const;
156 
158  virtual const entry_t& handleMaterial(Material medium) const;
159 
161  virtual const entry_t& handleElement(Atom element) const;
162 
164  virtual const entry_t& handleSolid(Solid solid) const;
165 
167  virtual const entry_t& handleVolume(Volume volume) const;
168  virtual void collectVolume(Volume volume) const;
169 
171  virtual const entry_t& handlePlacement(PlacedVolume node) const;
172 
174  const entry_t& handleAlignment(Alignment alignment) const;
175 
178 
180  virtual const entry_t& handleRegion(Region region) const;
181 
183  virtual const entry_t& handleVis(VisAttr vis) const;
184 
186  virtual const entry_t& handleIdSpec(IDDescriptor idspec) const;
187 
189  virtual const entry_t& handleLimitSet(LimitSet limitset) const;
190 
191  virtual const entry_t& handleDetElement(DetElement det) const;
192 
194  virtual const entry_t& handleSensitive(SensitiveDetector sens_det) const;
195 
197  virtual const entry_t& handleSegmentation(Segmentation seg) const;
198 
200  virtual const entry_t& handlePosition(const TGeoMatrix* trafo) const;
201 
203  virtual const entry_t& handleRotation(const TGeoMatrix* trafo) const;
204 
206  virtual const entry_t& handleField(OverlayedField field) const;
207 
210 
212  void dump_elements() const;
214  void dump_materials() const;
216  void dump_solids() const;
218  void dump_volumes() const;
220  void dump_positions() const;
222  void dump_rotations() const;
224  void dump_placements() const;
226  void dump_detelements() const;
228  void dump_iddescriptors() const;
230  void dump_segmentations() const;
232  void dump_sensitives() const;
233 
234  };
235  } // End namespace xml
236 } // End namespace dd4hep
237 #endif // DDCORE_SRC_PLUGINS_DETECTORCHECKSUM_H
dd4hep::detail::DetectorChecksum::reorder
int reorder
Definition: DetectorChecksum.h:127
dd4hep::detail::DetectorChecksum::MaterialMap
std::map< Material, entry_t > MaterialMap
Definition: DetectorChecksum.h:46
dd4hep::detail::DetectorChecksum::debug_hash
std::stringstream debug_hash
Definition: DetectorChecksum.h:93
dd4hep::detail::DetectorChecksum::handleHeader
virtual const entry_t & handleHeader() const
Add header information in Detector format.
Definition: DetectorChecksum.cpp:1053
dd4hep::detail::DetectorChecksum::handleDetElement
virtual const entry_t & handleDetElement(DetElement det) const
Definition: DetectorChecksum.cpp:914
dd4hep::detail::DetectorChecksum::attr_name
std::string attr_name(T handle) const
Definition: DetectorChecksum.cpp:152
dd4hep::detail::DetectorChecksum::PlacementMap
std::map< PlacedVolume, entry_t > PlacementMap
Definition: DetectorChecksum.h:48
dd4hep::detail::DetectorChecksum::dump_materials
void dump_materials() const
Dump materials used in this apparatus.
Definition: DetectorChecksum.cpp:1299
dd4hep::detail::DetectorChecksum::FieldMap
std::map< OverlayedField, entry_t > FieldMap
Definition: DetectorChecksum.h:57
dd4hep::detail::DetectorChecksum::checksumPlacement
void checksumPlacement(PlacedVolume pv, hashes_t &hashes, bool recursive) const
Definition: DetectorChecksum.cpp:1260
dd4hep::detail::DetectorChecksum::TrafoMap
std::map< const TGeoMatrix *, entry_t > TrafoMap
Definition: DetectorChecksum.h:58
dd4hep::detail::DetectorChecksum::SensDetMap
std::map< SensitiveDetector, entry_t > SensDetMap
Definition: DetectorChecksum.h:50
dd4hep::detail::DetectorChecksum::GeometryInfo::mapOfIdSpecs
IdSpecMap mapOfIdSpecs
Definition: DetectorChecksum.h:77
dd4hep::Atom
Handle class describing an element in the periodic table.
Definition: Objects.h:242
dd4hep::detail::DetectorChecksum::dump_positions
void dump_positions() const
Dump positions used in this apparatus.
Definition: DetectorChecksum.cpp:1309
dd4hep::detail::DetectorChecksum::newline
std::string newline
Definition: DetectorChecksum.h:113
dd4hep::detail::DetectorChecksum
Geometry converter from dd4hep to Geant 4 in Detector format.
Definition: DetectorChecksum.h:38
dd4hep::detail::DetectorChecksum::entry_t
Definition: DetectorChecksum.h:41
dd4hep::detail::DetectorChecksum::collect_det_elements
void collect_det_elements(DetElement top) const
Definition: DetectorChecksum.cpp:1070
dd4hep::detail::DetectorChecksum::m_len_unit
double m_len_unit
Definition: DetectorChecksum.h:100
dd4hep::SensitiveDetector
Handle class to hold the information of a sensitive detector.
Definition: DetElement.h:44
dd4hep::detail::DetectorChecksum::handleSolid
virtual const entry_t & handleSolid(Solid solid) const
Convert the geometry type solid into the corresponding gdml string.
Definition: DetectorChecksum.cpp:244
Detector.h
dd4hep::detail::DetectorChecksum::dump_placements
void dump_placements() const
Dump placements used in this apparatus.
Definition: DetectorChecksum.cpp:1324
dd4hep::Detector::Properties
std::map< std::string, PropertyValues > Properties
Definition: Detector.h:95
dd4hep::detail::DetectorChecksum::dump_solids
void dump_solids() const
Dump solids used in this apparatus.
Definition: DetectorChecksum.cpp:1304
dd4hep::detail::DetectorChecksum::m_len_unit_nam
std::string m_len_unit_nam
Definition: DetectorChecksum.h:95
dd4hep::detail::DetectorChecksum::GeometryInfo::mapOfDetElements
MapOfDetElements mapOfDetElements
Definition: DetectorChecksum.h:84
dd4hep::PlacedVolume
Handle class holding a placed volume (also called physical volume)
Definition: Volumes.h:163
dd4hep::VisAttr
Handle class describing visualization attributes.
Definition: Objects.h:324
dd4hep::detail::DetectorChecksum::GeometryInfo::mapOfPlacements
PlacementMap mapOfPlacements
Definition: DetectorChecksum.h:73
dd4hep::detail::DetectorChecksum::AlignmentMap
std::map< Alignment, entry_t > AlignmentMap
Definition: DetectorChecksum.h:55
dd4hep::detail::DetectorChecksum::dump_detelements
void dump_detelements() const
Dump detelements used in this apparatus.
Definition: DetectorChecksum.cpp:1344
dd4hep::detail::DetectorChecksum::dump_volumes
void dump_volumes() const
Dump volumes used in this apparatus.
Definition: DetectorChecksum.cpp:1319
dd4hep::detail::DetectorChecksum::SolidMap
std::map< Solid, entry_t > SolidMap
Definition: DetectorChecksum.h:56
dd4hep::detail::DetectorChecksum::GeometryInfo::mapOfVis
VisMap mapOfVis
Definition: DetectorChecksum.h:75
dd4hep::detail::DetectorChecksum::hash_readout
int hash_readout
Property: Include readout property in detector hash.
Definition: DetectorChecksum.h:120
dd4hep::detail::DetectorChecksum::handleSegmentation
virtual const entry_t & handleSegmentation(Segmentation seg) const
Convert the segmentation of a SensitiveDetector into the corresponding Detector object.
Definition: DetectorChecksum.cpp:966
dd4hep::detail::DetectorChecksum::have_hash_strings
int have_hash_strings
Property: Keep hash-strings, not only hash values (debugging)
Definition: DetectorChecksum.h:124
dd4hep::detail::DetectorChecksum::GeometryInfo::mapOfAlignments
AlignmentMap mapOfAlignments
Definition: DetectorChecksum.h:83
dd4hep::IDDescriptor
Class implementing the ID encoding of the detector response.
Definition: IDDescriptor.h:37
dd4hep::detail::DetectorChecksum::handleMaterial
virtual const entry_t & handleMaterial(Material medium) const
Convert the geometry type material into the corresponding gdml string.
Definition: DetectorChecksum.cpp:212
dd4hep::detail::DetectorChecksum::hash_t
uint64_t hash_t
Definition: DetectorChecksum.h:40
dd4hep::detail::DetectorChecksum::data
GeometryInfo & data() const
Definition: DetectorChecksum.h:130
dd4hep::detail::DetectorChecksum::dump_elements
void dump_elements() const
Dump elements used in this apparatus.
Definition: DetectorChecksum.cpp:1294
dd4hep::detail::DetectorChecksum::dump_iddescriptors
void dump_iddescriptors() const
Dump iddescriptors used in this apparatus.
Definition: DetectorChecksum.cpp:1329
dd4hep::detail::DetectorChecksum::~DetectorChecksum
virtual ~DetectorChecksum()
Standard destructor.
Definition: DetectorChecksum.cpp:132
dd4hep::detail::DetectorChecksum::handleIdSpec
virtual const entry_t & handleIdSpec(IDDescriptor idspec) const
Convert the geometry id dictionary entry to the corresponding gdml string.
Definition: DetectorChecksum.cpp:1001
dd4hep::Solid_type< TGeoShape >
dd4hep::detail::DetectorChecksum::m_dens_def
double m_dens_def
Definition: DetectorChecksum.h:109
dd4hep::detail::DetectorChecksum::logger
std::stringstream logger() const
Definition: DetectorChecksum.cpp:157
dd4hep::detail::DetectorChecksum::max_level
int max_level
Property: maximum depth level for printouts.
Definition: DetectorChecksum.h:122
dd4hep::detail::DetectorChecksum::hash_debug
void hash_debug(const std::string &prefix, const entry_t &str, int flag=0) const
Definition: DetectorChecksum.cpp:1120
dd4hep::detail::DetectorChecksum::dump_sensitives
void dump_sensitives() const
Dump sensitives used in this apparatus.
Definition: DetectorChecksum.cpp:1339
dd4hep::detail::DetectorChecksum::handleField
virtual const entry_t & handleField(OverlayedField field) const
Convert the electric or magnetic fields into the corresponding gdml string.
Definition: DetectorChecksum.cpp:1025
dd4hep::OverlayedField
Class describing a field overlay with several sources.
Definition: Fields.h:138
dd4hep::detail::DetectorChecksum::GeometryInfo::header
entry_t header
Definition: DetectorChecksum.h:85
dd4hep::detail::DetectorChecksum::handleElement
virtual const entry_t & handleElement(Atom element) const
Convert the geometry type element into the corresponding gdml string.
Definition: DetectorChecksum.cpp:189
dd4hep::detail::DetectorChecksum::SegmentationMap
std::map< Segmentation, entry_t > SegmentationMap
Definition: DetectorChecksum.h:53
dd4hep::Material
Handle class describing a material.
Definition: Objects.h:272
dd4hep::detail::DetectorChecksum::handleRotation
virtual const entry_t & handleRotation(const TGeoMatrix *trafo) const
Convert the Rotation into the corresponding gdml string.
Definition: DetectorChecksum.cpp:675
dd4hep::detail::DetectorChecksum::debug
int debug
Property: debug level.
Definition: DetectorChecksum.h:126
dd4hep::detail::DetectorChecksum::dump_rotations
void dump_rotations() const
Dump rotations used in this apparatus.
Definition: DetectorChecksum.cpp:1314
dd4hep::detail::DetectorChecksum::GeometryInfo::mapOfFields
FieldMap mapOfFields
Definition: DetectorChecksum.h:82
dd4hep::detail::DetectorChecksum::m_ang_unit
double m_ang_unit
Definition: DetectorChecksum.h:101
dd4hep::detail::DetectorChecksum::m_atomunit
double m_atomunit
Definition: DetectorChecksum.h:104
dd4hep::DetElement
Handle class describing a detector element.
Definition: DetElement.h:188
dd4hep::detail::DetectorChecksum::write_files
int write_files
Definition: DetectorChecksum.h:128
dd4hep::Volume
Handle class holding a placed volume (also called physical volume)
Definition: Volumes.h:370
dd4hep::detail::DetectorChecksum::handleVolume
virtual const entry_t & handleVolume(Volume volume) const
Convert the geometry type logical volume into the corresponding gdml string.
Definition: DetectorChecksum.cpp:813
dd4hep::detail::DetectorChecksum::VisMap
std::map< VisAttr, entry_t > VisMap
Definition: DetectorChecksum.h:54
dd4hep::detail::GeoHandler
The base class for all dd4hep geometry crawlers.
Definition: GeoHandler.h:87
dd4hep::detail::DetectorChecksum::refName
std::string refName(T handle) const
Definition: DetectorChecksum.cpp:138
dd4hep::detail::DetectorChecksum::hash_meshes
int hash_meshes
Property: Include meshed solids in detector hash.
Definition: DetectorChecksum.h:118
dd4hep::detail::DetectorChecksum::MapOfDetElements
std::map< DetElement, entry_t > MapOfDetElements
Definition: DetectorChecksum.h:59
dd4hep::LimitSet
Handle class describing a set of limits as they are used for simulation.
Definition: Objects.h:425
dd4hep::detail::DetectorChecksum::m_atom_def
double m_atom_def
Definition: DetectorChecksum.h:110
dd4hep::detail::DetectorChecksum::entry_t::hash
hash_t hash
Definition: DetectorChecksum.h:42
dd4hep::detail::DetectorChecksum::handleAlignment
const entry_t & handleAlignment(Alignment alignment) const
Convert alignment entry into the corresponding gdml string.
Definition: DetectorChecksum.cpp:764
dd4hep::detail::DetectorChecksum::m_len__def
double m_len__def
Definition: DetectorChecksum.h:106
dd4hep::detail::DetectorChecksum::GeometryInfo::mapOfElements
ElementMap mapOfElements
Definition: DetectorChecksum.h:69
dd4hep::detail::DetectorChecksum::GeometryInfo::mapOfRegions
RegionMap mapOfRegions
Definition: DetectorChecksum.h:74
dd4hep::detail::DetectorChecksum::m_densunit
double m_densunit
Definition: DetectorChecksum.h:103
dd4hep::Region
Handle class describing a region as used in simulation.
Definition: Objects.h:462
dd4hep::Alignment
Main handle class to hold an alignment object.
Definition: Alignments.h:115
dd4hep::detail::DetectorChecksum::DetectorChecksum
DetectorChecksum(Detector &description)
Initializing Constructor.
Definition: DetectorChecksum.cpp:128
dd4hep::detail::DetectorChecksum::dump_segmentations
void dump_segmentations() const
Dump segmentations used in this apparatus.
Definition: DetectorChecksum.cpp:1334
dd4hep::detail::DetectorChecksum::collectVolume
virtual void collectVolume(Volume volume) const
Dump logical volume in GDML format to output stream.
Definition: DetectorChecksum.cpp:795
dd4hep::detail::DetectorChecksum::m_densunit_nam
std::string m_densunit_nam
Definition: DetectorChecksum.h:98
dd4hep::detail::DetectorChecksum::handlePosition
virtual const entry_t & handlePosition(const TGeoMatrix *trafo) const
Convert the Position into the corresponding gdml string.
Definition: DetectorChecksum.cpp:657
dd4hep::detail::DetectorChecksum::handlePlacement
virtual const entry_t & handlePlacement(PlacedVolume node) const
Convert the geometry type volume placement into the corresponding gdml string.
Definition: DetectorChecksum.cpp:880
dd4hep::detail::DetectorChecksum::RegionMap
std::map< Region, entry_t > RegionMap
Definition: DetectorChecksum.h:49
dd4hep::detail::DetectorChecksum::GeometryInfo::mapOfVolumes
VolumeMap mapOfVolumes
Definition: DetectorChecksum.h:72
dd4hep::detail::DetectorChecksum::IdSpecMap
std::map< IDDescriptor, entry_t > IdSpecMap
Definition: DetectorChecksum.h:52
dd4hep::detail::DetectorChecksum::handleProperties
const entry_t & handleProperties(Detector::Properties &prp) const
Handle the geant 4 specific properties.
dd4hep::detail::DetectorChecksum::handleSensitive
virtual const entry_t & handleSensitive(SensitiveDetector sens_det) const
Convert the geometry type SensitiveDetector into the corresponding gdml string.
Definition: DetectorChecksum.cpp:937
dd4hep::detail::DetectorChecksum::m_ang__def
double m_ang__def
Definition: DetectorChecksum.h:107
dd4hep::detail::DetectorChecksum::GeometryInfo::mapOfPositions
TrafoMap mapOfPositions
Definition: DetectorChecksum.h:80
dd4hep::detail::DetectorChecksum::GeometryInfo::mapOfSegmentations
SegmentationMap mapOfSegmentations
Definition: DetectorChecksum.h:78
dd4hep::detail::DetectorChecksum::checksumDetElement
void checksumDetElement(int level, DetElement det, hashes_t &hashes, bool recursive) const
Definition: DetectorChecksum.cpp:1133
dd4hep::detail::DetectorChecksum::empty_entry
entry_t empty_entry
Definition: DetectorChecksum.h:112
dd4hep::detail::DetectorChecksum::VolumeMap
std::map< Volume, entry_t > VolumeMap
Definition: DetectorChecksum.h:51
dd4hep::detail::DetectorChecksum::m_ene_unit
double m_ene_unit
Definition: DetectorChecksum.h:102
dd4hep::detail::DetectorChecksum::handleLimitSet
virtual const entry_t & handleLimitSet(LimitSet limitset) const
Convert the geometry type LimitSet into the corresponding gdml string.
Definition: DetectorChecksum.cpp:744
dd4hep::detail::DetectorChecksum::GeometryInfo::mapOfSolids
SolidMap mapOfSolids
Definition: DetectorChecksum.h:71
dd4hep::detail::DetectorChecksum::ElementMap
std::map< Atom, entry_t > ElementMap
Definition: DetectorChecksum.h:45
dd4hep::detail::DetectorChecksum::precision
int precision
Property: precision of hashed printouts.
Definition: DetectorChecksum.h:116
dd4hep::detail::DetectorChecksum::GeometryInfo
Data structure of the geometry converter from dd4hep to Geant 4 in Detector format.
Definition: DetectorChecksum.h:67
dd4hep::detail::DetectorChecksum::make_entry
entry_t make_entry(std::stringstream &log) const
Definition: DetectorChecksum.cpp:164
dd4hep::detail::DetectorChecksum::m_detDesc
Detector & m_detDesc
Reference to detector description.
Definition: DetectorChecksum.h:91
dd4hep
Namespace for the AIDA detector description toolkit.
Definition: AlignmentsCalib.h:28
det
DetElement::Object * det
Definition: AlignmentsCalculator.cpp:66
dd4hep::detail::DetectorChecksum::m_dataPtr
GeometryInfo * m_dataPtr
Definition: DetectorChecksum.h:92
dd4hep::detail::DetectorChecksum::m_ene__def
double m_ene__def
Definition: DetectorChecksum.h:108
dd4hep::Detector
The main interface to the dd4hep detector description package.
Definition: Detector.h:90
dd4hep::detail::DetectorChecksum::GeometryInfo::mapOfLimits
LimitMap mapOfLimits
Definition: DetectorChecksum.h:76
dd4hep::detail::DetectorChecksum::analyzeDetector
void analyzeDetector(DetElement top)
Create geometry conversion in Detector format.
Definition: DetectorChecksum.cpp:1083
dd4hep::Segmentation
Handle class supporting generic Segmentations of sensitive detectors.
Definition: Segmentations.h:41
dd4hep::detail::DetectorChecksum::configure
void configure()
Definition: DetectorChecksum.cpp:172
dd4hep::detail::DetectorChecksum::LimitMap
std::map< LimitSet, entry_t > LimitMap
Definition: DetectorChecksum.h:47
dd4hep::detail::DetectorChecksum::GeometryInfo::mapOfMaterials
MaterialMap mapOfMaterials
Definition: DetectorChecksum.h:70
dd4hep::detail::DetectorChecksum::hashes_t
std::vector< hash_t > hashes_t
Definition: DetectorChecksum.h:150
DD4hepUnits.h
dd4hep::detail::DetectorChecksum::GeometryInfo::mapOfRotations
TrafoMap mapOfRotations
Definition: DetectorChecksum.h:81
dd4hep::detail::DetectorChecksum::handleVis
virtual const entry_t & handleVis(VisAttr vis) const
Convert the geometry visualisation attributes to the corresponding gdml string.
Definition: DetectorChecksum.cpp:693
dd4hep::detail::DetectorChecksum::GeometryInfo::GeometryInfo
GeometryInfo()=default
dd4hep::detail::DetectorChecksum::m_ang_unit_nam
std::string m_ang_unit_nam
Definition: DetectorChecksum.h:96
dd4hep::detail::DetectorChecksum::handleRegion
virtual const entry_t & handleRegion(Region region) const
Convert the geometry type region into the corresponding gdml string.
Definition: DetectorChecksum.cpp:727
dd4hep::detail::DetectorChecksum::entry_t::data
std::string data
Definition: DetectorChecksum.h:43
handle
void handle(const O *o, const C &c, F pmf)
Definition: LCDDConverter.cpp:1105
dd4hep::detail::DetectorChecksum::m_atomunit_nam
std::string m_atomunit_nam
Definition: DetectorChecksum.h:99
dd4hep::detail::DetectorChecksum::m_ene_unit_nam
std::string m_ene_unit_nam
Definition: DetectorChecksum.h:97
dd4hep::detail::DetectorChecksum::GeometryInfo::mapOfSensDets
SensDetMap mapOfSensDets
Definition: DetectorChecksum.h:79
GeoHandler.h