CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes
CaloGeometryLoader< T > Class Template Reference

#include <CaloGeometryLoader.h>

Public Types

using ParmVec = std::vector< double >
 
using ParVec = CaloSubdetectorGeometry::ParVec
 
using ParVecVec = CaloSubdetectorGeometry::ParVecVec
 
using PtrType = std::unique_ptr< CaloSubdetectorGeometry >
 

Public Member Functions

 CaloGeometryLoader ()
 
PtrType load (const DDCompactView *cpv, const Alignments *alignments=nullptr, const Alignments *globals=nullptr)
 
PtrType load (const cms::DDCompactView *cpv, const Alignments *alignments=nullptr, const Alignments *globals=nullptr)
 
virtual ~CaloGeometryLoader ()=default
 

Static Public Attributes

static constexpr double k_ScaleFromDD4hep = (1.0 / dd4hep::cm)
 
static constexpr double k_ScaleFromDDD = 0.1
 

Private Member Functions

void fillGeom (T *geom, const ParmVec &pv, const HepGeom::Transform3D &tr, const DetId &id, const double &scale)
 
void fillNamedParams (const DDFilteredView &fv, T *geom)
 
void fillNamedParams (const cms::DDFilteredView &fv, T *geom)
 
unsigned int getDetIdForDD4hepNode (const cms::DDFilteredView &fv)
 
unsigned int getDetIdForDDDNode (const DDFilteredView &fv)
 
void makeGeometry (const DDCompactView *cpv, T *geom, const Alignments *alignments, const Alignments *globals)
 
void makeGeometry (const cms::DDCompactView *cpv, T *geom, const Alignments *alignments, const Alignments *globals)
 

Private Attributes

T::NumberingScheme m_scheme
 

Detailed Description

template<class T>
class CaloGeometryLoader< T >

Definition at line 22 of file CaloGeometryLoader.h.

Member Typedef Documentation

template<class T >
using CaloGeometryLoader< T >::ParmVec = std::vector<double>

Definition at line 24 of file CaloGeometryLoader.h.

Definition at line 26 of file CaloGeometryLoader.h.

Definition at line 27 of file CaloGeometryLoader.h.

template<class T >
using CaloGeometryLoader< T >::PtrType = std::unique_ptr<CaloSubdetectorGeometry>

Definition at line 25 of file CaloGeometryLoader.h.

Constructor & Destructor Documentation

template<class T >
CaloGeometryLoader< T >::CaloGeometryLoader ( )
inline

Definition at line 32 of file CaloGeometryLoader.h.

32 {}
template<class T >
virtual CaloGeometryLoader< T >::~CaloGeometryLoader ( )
virtualdefault

Member Function Documentation

template<class T >
void CaloGeometryLoader< T >::fillGeom ( T geom,
const ParmVec pv,
const HepGeom::Transform3D &  tr,
const DetId id,
const double &  scale 
)
private
template<class T >
void CaloGeometryLoader< T >::fillNamedParams ( const DDFilteredView fv,
T geom 
)
private
template<class T >
void CaloGeometryLoader< T >::fillNamedParams ( const cms::DDFilteredView fv,
T geom 
)
private
template<class T >
unsigned int CaloGeometryLoader< T >::getDetIdForDD4hepNode ( const cms::DDFilteredView fv)
private
template<class T >
unsigned int CaloGeometryLoader< T >::getDetIdForDDDNode ( const DDFilteredView fv)
private
template<class T >
PtrType CaloGeometryLoader< T >::load ( const DDCompactView cpv,
const Alignments alignments = nullptr,
const Alignments globals = nullptr 
)
template<class T >
PtrType CaloGeometryLoader< T >::load ( const cms::DDCompactView cpv,
const Alignments alignments = nullptr,
const Alignments globals = nullptr 
)
template<class T >
void CaloGeometryLoader< T >::makeGeometry ( const DDCompactView cpv,
T geom,
const Alignments alignments,
const Alignments globals 
)
private
template<class T >
void CaloGeometryLoader< T >::makeGeometry ( const cms::DDCompactView cpv,
T geom,
const Alignments alignments,
const Alignments globals 
)
private

Member Data Documentation

template<class T >
constexpr double CaloGeometryLoader< T >::k_ScaleFromDD4hep = (1.0 / dd4hep::cm)
static

Definition at line 30 of file CaloGeometryLoader.h.

template<class T >
constexpr double CaloGeometryLoader< T >::k_ScaleFromDDD = 0.1
static

Definition at line 29 of file CaloGeometryLoader.h.

template<class T >
T::NumberingScheme CaloGeometryLoader< T >::m_scheme
private

Definition at line 53 of file CaloGeometryLoader.h.