CMS 3D CMS Logo

Public Types | Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes

CaloGeometryLoader< T > Class Template Reference

#include <CaloGeometryLoader.h>

List of all members.

Public Types

typedef std::vector< double > ParmVec
typedef
CaloSubdetectorGeometry::ParVec 
ParVec
typedef
CaloSubdetectorGeometry::ParVecVec 
ParVecVec
typedef boost::shared_ptr
< CaloSubdetectorGeometry
PtrType

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 (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

DDSpecificsFilter m_filter
T::NumberingScheme m_scheme

Detailed Description

template<class T>
class CaloGeometryLoader< T >

Templated class for calo subdetector geometry loaders from DDD.

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 >
typedef boost::shared_ptr< CaloSubdetectorGeometry > CaloGeometryLoader< T >::PtrType

Definition at line 30 of file CaloGeometryLoader.h.


Constructor & Destructor Documentation

template<class T >
CaloGeometryLoader< T >::CaloGeometryLoader ( )
template<class T >
virtual CaloGeometryLoader< T >::~CaloGeometryLoader ( ) [inline, virtual]

Definition at line 39 of file CaloGeometryLoader.h.

{}

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 ( 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.

template<class T >
DDSpecificsFilter CaloGeometryLoader< T >::m_filter [private]

Definition at line 63 of file CaloGeometryLoader.h.

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

Definition at line 62 of file CaloGeometryLoader.h.