CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes
cms::DDDetector Class Reference

#include <DDDetector.h>

Public Types

using Detector = dd4hep::Detector
 
using Volume = dd4hep::Volume
 

Public Member Functions

 DDDetector (const std::string &, const std::string &)
 
 DDDetector ()=delete
 
Detector const * description () const
 
DDPartSelectionMap const & partsels () const
 
DDSpecParRegistry const & specpars () const
 
DDVectorsMap const & vectors () const
 
Volume worldVolume () const
 
 ~DDDetector ()
 

Private Member Functions

void process (const std::string &)
 

Private Attributes

Detectorm_description = nullptr
 
DDPartSelectionMap m_partsels
 
DDSpecParRegistry m_specpars
 
const std::string m_tag
 
DDVectorsMap m_vectors
 

Detailed Description

Definition at line 13 of file DDDetector.h.

Member Typedef Documentation

using cms::DDDetector::Detector = dd4hep::Detector

Definition at line 15 of file DDDetector.h.

using cms::DDDetector::Volume = dd4hep::Volume

Definition at line 16 of file DDDetector.h.

Constructor & Destructor Documentation

cms::DDDetector::DDDetector ( const std::string &  ,
const std::string &   
)
explicit
cms::DDDetector::DDDetector ( )
delete
DDDetector::~DDDetector ( )

Definition at line 20 of file DDDetector.cc.

21 {
22  Detector::destroyInstance(m_tag);
23 }
const std::string m_tag
Definition: DDDetector.h:50

Member Function Documentation

Detector const* cms::DDDetector::description ( ) const
inline
DDPartSelectionMap const& cms::DDDetector::partsels ( ) const
inline

Definition at line 32 of file DDDetector.h.

32  {
33  return m_partsels;
34  }
DDPartSelectionMap m_partsels
Definition: DDDetector.h:48
void DDDetector::process ( const std::string &  )
private
DDSpecParRegistry const& cms::DDDetector::specpars ( ) const
inline

Definition at line 36 of file DDDetector.h.

References LaserDQM_cfg::process, and AlCaHLTBitMon_QueryRunRegistry::string.

36  {
37  return m_specpars;
38  }
DDSpecParRegistry m_specpars
Definition: DDDetector.h:49
DDVectorsMap const& cms::DDDetector::vectors ( ) const
inline

Definition at line 28 of file DDDetector.h.

Referenced by DDVectorRegistryESProducer::produce().

28  {
29  return m_vectors;
30  }
DDVectorsMap m_vectors
Definition: DDDetector.h:47
dd4hep::Volume DDDetector::worldVolume ( ) const

Definition at line 34 of file DDDetector.cc.

Referenced by cms::DTGeometryBuilder::build().

34  {
35  assert(m_description);
36  return m_description->worldVolume();
37 }
Detector * m_description
Definition: DDDetector.h:46

Member Data Documentation

Detector* cms::DDDetector::m_description = nullptr
private

Definition at line 46 of file DDDetector.h.

DDPartSelectionMap cms::DDDetector::m_partsels
private

Definition at line 48 of file DDDetector.h.

DDSpecParRegistry cms::DDDetector::m_specpars
private

Definition at line 49 of file DDDetector.h.

const std::string cms::DDDetector::m_tag
private

Definition at line 50 of file DDDetector.h.

DDVectorsMap cms::DDDetector::m_vectors
private

Definition at line 47 of file DDDetector.h.