1 #ifndef GEOMETRY_CALOGEOMETRY_CALOGEOMETRYEP_H
2 #define GEOMETRY_CALOGEOMETRY_CALOGEOMETRYEP_H 1
6 #include "boost/shared_ptr.hpp"
53 iRecord.template getRecord< typename T::AlignmentRecord >().
get( alignments ) ;
56 ( alignments->m_align.size() == T::numberOfAlignments() ) ) ;
57 alignPtr = alignments.
product() ;
60 iRecord.template getRecord<GlobalPositionRcd>().
get( globals ) ;
66 iRecord.template getRecord<IdealGeometryRecord>().
get( cpv ) ;
69 PtrType ptr ( loader.
load( &(*cpv), alignPtr, globalPtr ) ) ;
PtrType produceAligned(const typename T::AlignedRecord &iRecord)
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
boost::shared_ptr< CaloSubdetectorGeometry > PtrType
T const * product() const
CaloGeometryLoader< T > LoaderType
PtrType load(const DDCompactView *cpv, const Alignments *alignments=0, const Alignments *globals=0)
LoaderType::PtrType PtrType