#include <DDDetector.h>
Public Types | |
using | Detector = dd4hep::Detector |
using | DetElement = dd4hep::DetElement |
using | HandleMap = dd4hep::Detector::HandleMap |
using | PlacedVolume = dd4hep::PlacedVolume |
using | Volume = dd4hep::Volume |
Public Member Functions | |
DDDetector ()=delete | |
DDDetector (const std::string &, const std::string &, bool bigXML=false) | |
Detector const * | description () const |
const HandleMap & | detectors () const |
The map of sub-detectors. More... | |
DetElement | findElement (const std::string &) const |
Find DetElement as child of the top level volume by it's absolute path. More... | |
TGeoManager & | manager () const |
The geometry manager of this instance. More... | |
DDPartSelectionMap const & | partsels () const |
DDSpecParRegistry const & | specpars () const |
DDVectorsMap const & | vectors () const |
DetElement | world () const |
Reference to the top-most (world) detector element. More... | |
PlacedVolume | worldPlacement () const |
Access to the physical volume of the world detector element. More... | |
Volume | worldVolume () const |
Handle to the world volume containing everything. More... | |
Private Member Functions | |
void | process (const std::string &) |
void | processXML (const std::string &) |
Private Attributes | |
Detector * | m_description = nullptr |
DDPartSelectionMap | m_partsels |
DDSpecParRegistry | m_specpars |
const std::string | m_tag |
DDVectorsMap | m_vectors |
Definition at line 11 of file DDDetector.h.
using cms::DDDetector::Detector = dd4hep::Detector |
Definition at line 13 of file DDDetector.h.
using cms::DDDetector::DetElement = dd4hep::DetElement |
Definition at line 14 of file DDDetector.h.
using cms::DDDetector::HandleMap = dd4hep::Detector::HandleMap |
Definition at line 15 of file DDDetector.h.
using cms::DDDetector::PlacedVolume = dd4hep::PlacedVolume |
Definition at line 16 of file DDDetector.h.
using cms::DDDetector::Volume = dd4hep::Volume |
Definition at line 17 of file DDDetector.h.
|
explicit |
|
delete |
|
inline |
Definition at line 46 of file DDDetector.h.
References m_description.
Referenced by cms::DDG4Builder::BuildGeometry(), and cms::DDDWorld::DDDWorld().
const dd4hep::Detector::HandleMap & DDDetector::detectors | ( | ) | const |
The map of sub-detectors.
Definition at line 53 of file DDDetector.cc.
References cms::cuda::assert(), and m_description.
Referenced by DDCMSDetector::analyze().
dd4hep::DetElement DDDetector::findElement | ( | const std::string & | path | ) | const |
Find DetElement as child of the top level volume by it's absolute path.
Definition at line 63 of file DDDetector.cc.
References cms::cuda::assert(), m_description, and castor_dqm_sourceclient_file_cfg::path.
TGeoManager & DDDetector::manager | ( | ) | const |
The geometry manager of this instance.
Definition at line 58 of file DDDetector.cc.
References cms::cuda::assert(), and m_description.
|
inline |
|
private |
Definition at line 25 of file DDDetector.cc.
References MillePedeFileConverter_cfg::fileName, MainPageGenerator::files, m_description, Skims_PA_cff::name, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 31 of file DDDetector.cc.
References writedatasetfile::args, common_cff::doc, m_description, Skims_PA_cff::name, dumpparser::parse(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 26 of file DDDetector.h.
References m_specpars.
Referenced by cms::DDG4Builder::BuildGeometry(), DDDWorld::DDDWorld(), and cms::DDCompactView::specpars().
|
inline |
Definition at line 22 of file DDDetector.h.
References m_vectors.
Referenced by MTDParametersFromDD::build(), TrackerParametersFromDD::build(), HGCalParametersFromDD::build(), and cms::DDCompactView::getVector().
dd4hep::DetElement DDDetector::world | ( | ) | const |
Reference to the top-most (world) detector element.
Definition at line 48 of file DDDetector.cc.
References cms::cuda::assert(), and m_description.
Referenced by worldPlacement().
dd4hep::PlacedVolume DDDetector::worldPlacement | ( | ) | const |
Access to the physical volume of the world detector element.
Definition at line 46 of file DDDetector.cc.
References world().
dd4hep::Volume DDDetector::worldVolume | ( | ) | const |
Handle to the world volume containing everything.
Definition at line 41 of file DDDetector.cc.
References cms::cuda::assert(), and m_description.
Referenced by EcalSimParametersFromDD::build(), CaloSimParametersFromDD::build(), cms::DTGeometryBuilder::build(), magneticfield::MagGeoBuilder::build(), ME0GeometryBuilder::build(), GEMGeometryBuilderFromDDD::build(), RPCGeometryBuilderFromDDD::build(), CSCGeometryParsFromDD::build(), DDCmsMTDConstruction::construct(), and cms::DDFilteredView::DDFilteredView().
|
private |
Definition at line 52 of file DDDetector.h.
Referenced by description(), detectors(), findElement(), manager(), process(), processXML(), world(), and worldVolume().
|
private |
Definition at line 54 of file DDDetector.h.
Referenced by partsels().
|
private |
Definition at line 55 of file DDDetector.h.
Referenced by specpars().
|
private |
Definition at line 56 of file DDDetector.h.
|
private |
Definition at line 53 of file DDDetector.h.
Referenced by vectors().