1 #ifndef DETECTOR_DESCRIPTION_DD_PARSING_CONTEXT_H 2 #define DETECTOR_DESCRIPTION_DD_PARSING_CONTEXT_H 4 #include "DD4hep/Detector.h" 8 #include <unordered_map> 9 #include <unordered_set> 51 dd4hep::Solid
make(dd4hep::Solid firstSolid, dd4hep::Solid secondSolid) {
79 std::unordered_map<std::string, dd4hep::Assembly>
assemblies;
81 std::unordered_map<std::string, dd4hep::Rotation3D>
rotations;
82 std::unordered_map<std::string, std::string>
rotRevMap;
83 std::unordered_map<std::string, dd4hep::Solid>
shapes;
84 std::unordered_map<std::string, dd4hep::Volume>
volumes;
91 std::variant<BooleanShape<dd4hep::UnionSolid>,
const std::string secondSolidName
std::vector< std::pair< std::string, double > > compMaterialsVec
std::unordered_map< std::string, dd4hep::Volume > volumes
dd4hep::Solid make(dd4hep::Solid firstSolid, dd4hep::Solid secondSolid)
std::unordered_map< std::string, std::variant< BooleanShape< dd4hep::UnionSolid >, BooleanShape< dd4hep::SubtractionSolid >, BooleanShape< dd4hep::IntersectionSolid > > > unresolvedShapes
BooleanShape(const std::string &aName, const std::string &bName, dd4hep::Transform3D t)
std::unordered_map< std::string, std::vector< std::string > > unresolvedVectors
~DDParsingContext()=default
const std::string & ns() const
std::unordered_map< std::string, dd4hep::Rotation3D > rotations
std::unordered_map< std::string, std::string > rotRevMap
DDParsingContext(dd4hep::Detector &det, bool makePayloadArg=false, bool validateArg=false)
const std::string firstSolidName
std::unordered_map< std::string, dd4hep::Solid > shapes
CompositeMaterial(const std::string &n, double f)
Namespace of DDCMS conversion namespace.
std::vector< std::string > namespaces
std::unordered_map< std::string, dd4hep::Assembly > assemblies
std::unordered_map< std::string, std::vector< CompositeMaterial > > compMaterialsRefs
dd4hep::Transform3D transform
DDParsingContext & operator=(const DDParsingContext &)=delete
dd4hep::Detector & description
std::unordered_set< std::string > assemblySolids
DDParsingContext()=delete