#include <DDParsingContext.h>
Classes | |
struct | BooleanShape |
struct | CompositeMaterial |
Public Member Functions | |
DDParsingContext (dd4hep::Detector &det, bool makePayloadArg=false) | |
DDParsingContext ()=delete | |
DDParsingContext (const DDParsingContext &)=delete | |
const std::string & | ns () const |
DDParsingContext & | operator= (const DDParsingContext &)=delete |
~DDParsingContext ()=default | |
Public Attributes | |
std::unordered_map < std::string, dd4hep::Assembly > | assemblies |
std::unordered_set< std::string > | assemblySolids |
std::unordered_map < std::string, std::vector < CompositeMaterial > > | compMaterialsRefs |
std::vector< std::pair < std::string, double > > | compMaterialsVec |
bool | debug_algorithms = false |
bool | debug_constants = false |
bool | debug_includes = false |
bool | debug_materials = false |
bool | debug_namespaces = false |
bool | debug_placements = false |
bool | debug_rotations = false |
bool | debug_shapes = false |
bool | debug_specpars = false |
bool | debug_volumes = false |
dd4hep::Detector & | description |
bool | makePayload = false |
std::vector< std::string > | namespaces |
std::unordered_map < std::string, dd4hep::Rotation3D > | rotations |
std::unordered_map < std::string, std::string > | rotRevMap |
std::unordered_map < std::string, dd4hep::Solid > | shapes |
std::unordered_map < std::string, std::variant < BooleanShape < dd4hep::UnionSolid > , BooleanShape < dd4hep::SubtractionSolid > , BooleanShape < dd4hep::IntersectionSolid > > > | unresolvedShapes |
std::unordered_map < std::string, std::vector < std::string > > | unresolvedVectors |
std::unordered_map < std::string, dd4hep::Volume > | volumes |
Definition at line 14 of file DDParsingContext.h.
|
inline |
Definition at line 16 of file DDParsingContext.h.
References assemblies, assemblySolids, compMaterialsRefs, compMaterialsVec, makePayload, namespaces, rotations, rotRevMap, shapes, unresolvedShapes, unresolvedVectors, and volumes.
|
delete |
|
delete |
|
default |
|
inline |
Definition at line 40 of file DDParsingContext.h.
References namespaces.
Referenced by cms::DDNamespace::~DDNamespace().
|
delete |
std::unordered_map<std::string, dd4hep::Assembly> cms::DDParsingContext::assemblies |
Definition at line 78 of file DDParsingContext.h.
Referenced by cms::DDNamespace::addAssembly(), cms::DDNamespace::assembly(), OutputDD4hepToDDL::beginRun(), and DDParsingContext().
std::unordered_set<std::string> cms::DDParsingContext::assemblySolids |
Definition at line 79 of file DDParsingContext.h.
Referenced by cms::DDNamespace::addAssembly(), cms::DDNamespace::addAssemblySolid(), OutputDD4hepToDDL::beginRun(), and DDParsingContext().
std::unordered_map<std::string, std::vector<CompositeMaterial> > cms::DDParsingContext::compMaterialsRefs |
Definition at line 87 of file DDParsingContext.h.
Referenced by OutputDD4hepToDDL::beginRun(), and DDParsingContext().
std::vector<std::pair<std::string, double> > cms::DDParsingContext::compMaterialsVec |
Definition at line 86 of file DDParsingContext.h.
Referenced by OutputDD4hepToDDL::beginRun(), and DDParsingContext().
bool cms::DDParsingContext::debug_algorithms = false |
Definition at line 72 of file DDParsingContext.h.
bool cms::DDParsingContext::debug_constants = false |
Definition at line 65 of file DDParsingContext.h.
Referenced by cms::DDNamespace::addConstantNS().
bool cms::DDParsingContext::debug_includes = false |
Definition at line 64 of file DDParsingContext.h.
bool cms::DDParsingContext::debug_materials = false |
Definition at line 66 of file DDParsingContext.h.
bool cms::DDParsingContext::debug_namespaces = false |
Definition at line 71 of file DDParsingContext.h.
Referenced by cms::DDNamespace::DDNamespace(), and cms::DDNamespace::~DDNamespace().
bool cms::DDParsingContext::debug_placements = false |
Definition at line 70 of file DDParsingContext.h.
Referenced by convert_boolean(), and placeAssembly().
bool cms::DDParsingContext::debug_rotations = false |
Definition at line 67 of file DDParsingContext.h.
bool cms::DDParsingContext::debug_shapes = false |
Definition at line 68 of file DDParsingContext.h.
Referenced by cms::DDNamespace::addSolidNS().
bool cms::DDParsingContext::debug_specpars = false |
Definition at line 73 of file DDParsingContext.h.
bool cms::DDParsingContext::debug_volumes = false |
Definition at line 69 of file DDParsingContext.h.
Referenced by cms::DDNamespace::addAssembly(), cms::DDNamespace::addAssemblySolid(), cms::DDNamespace::addVolume(), and cms::DDNamespace::addVolumeNS().
dd4hep::Detector& cms::DDParsingContext::description |
Definition at line 76 of file DDParsingContext.h.
Referenced by cms::DDNamespace::addConstantNS(), convert_boolean(), cms::DDNamespace::material(), cms::DDAlgoArguments::resolveValue(), cms::DDNamespace::vecDbl(), and cms::DDNamespace::vecFloat().
bool cms::DDParsingContext::makePayload = false |
Definition at line 74 of file DDParsingContext.h.
Referenced by cms::DDNamespace::addRotation(), and DDParsingContext().
std::vector<std::string> cms::DDParsingContext::namespaces |
Definition at line 84 of file DDParsingContext.h.
Referenced by cms::DDNamespace::DDNamespace(), DDParsingContext(), ns(), and cms::DDNamespace::~DDNamespace().
std::unordered_map<std::string, dd4hep::Rotation3D> cms::DDParsingContext::rotations |
Definition at line 80 of file DDParsingContext.h.
Referenced by cms::DDNamespace::addRotation(), algorithm(), OutputDD4hepToDDL::beginRun(), DDParsingContext(), and cms::DDNamespace::rotation().
std::unordered_map<std::string, std::string> cms::DDParsingContext::rotRevMap |
Definition at line 81 of file DDParsingContext.h.
Referenced by cms::DDNamespace::addRotation(), OutputDD4hepToDDL::beginRun(), DDParsingContext(), and cms::rotation_utils::rotName().
std::unordered_map<std::string, dd4hep::Solid> cms::DDParsingContext::shapes |
Definition at line 82 of file DDParsingContext.h.
Referenced by cms::DDNamespace::addSolidNS(), convert_boolean(), DDParsingContext(), and cms::DDNamespace::solid().
std::unordered_map<std::string, std::variant<BooleanShape<dd4hep::UnionSolid>, BooleanShape<dd4hep::SubtractionSolid>, BooleanShape<dd4hep::IntersectionSolid> > > cms::DDParsingContext::unresolvedShapes |
Definition at line 93 of file DDParsingContext.h.
Referenced by convert_boolean(), and DDParsingContext().
std::unordered_map<std::string, std::vector<std::string> > cms::DDParsingContext::unresolvedVectors |
Definition at line 88 of file DDParsingContext.h.
Referenced by DDParsingContext().
std::unordered_map<std::string, dd4hep::Volume> cms::DDParsingContext::volumes |
Definition at line 83 of file DDParsingContext.h.
Referenced by cms::DDNamespace::addVolume(), cms::DDNamespace::addVolumeNS(), DDParsingContext(), and cms::DDNamespace::volume().