1 #ifndef GEOMETRY_CALOGEOMETRY_CALOGEOMETRYEP_H
2 #define GEOMETRY_CALOGEOMETRY_CALOGEOMETRYEP_H 1
6 #include "boost/shared_ptr.hpp"
34 typedef typename LoaderType::PtrType
PtrType ;
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())
T const * product() const
CaloGeometryLoader< T > LoaderType
LoaderType::PtrType PtrType