CMS 3D CMS Logo

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

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

Public Member Functions

 CaloGeometryLoader ()
 
PtrType load (const DDCompactView *cpv, const Alignments *alignments=0, const Alignments *globals=0)
 
virtual ~CaloGeometryLoader ()
 

Static Public Attributes

static const double k_ScaleFromDDDtoGeant
 

Private Member Functions

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

Private Attributes

DDAndFilter< DDSpecificsMatchesValueFilter, DDSpecificsMatchesValueFilterm_filter
 
T::NumberingScheme m_scheme
 

Detailed Description

template<class T>
class CaloGeometryLoader< T >

Definition at line 24 of file CaloGeometryLoader.h.

Member Typedef Documentation

template<class T >
typedef std::vector< double > CaloGeometryLoader< T >::ParmVec

Definition at line 28 of file CaloGeometryLoader.h.

Definition at line 32 of file CaloGeometryLoader.h.

Definition at line 33 of file CaloGeometryLoader.h.

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

Definition at line 30 of file CaloGeometryLoader.h.

Constructor & Destructor Documentation

template<class T >
CaloGeometryLoader< T >::CaloGeometryLoader ( )
template<class T >
virtual CaloGeometryLoader< T >::~CaloGeometryLoader ( )
inlinevirtual

Member Function Documentation

template<class T >
void CaloGeometryLoader< T >::fillGeom ( T geom,
const ParmVec pv,
const HepGeom::Transform3D &  tr,
const DetId id 
)
private
template<class T >
void CaloGeometryLoader< T >::fillNamedParams ( const DDFilteredView fv,
T geom 
)
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 = 0,
const Alignments globals = 0 
)
template<class T >
void CaloGeometryLoader< T >::makeGeometry ( const DDCompactView cpv,
T geom,
const Alignments alignments,
const Alignments globals 
)
private

Member Data Documentation

template<class T >
const double CaloGeometryLoader< T >::k_ScaleFromDDDtoGeant
static

Definition at line 35 of file CaloGeometryLoader.h.

Definition at line 64 of file CaloGeometryLoader.h.

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

Definition at line 62 of file CaloGeometryLoader.h.