12 const HepGeom::Transform3D& tr,
19 #include "Geometry/CaloEventSetup/interface/CaloGeometryLoader.icc" 28 const HepGeom::Transform3D& tr,
31 std::vector<CCGFloat>
pv ;
32 pv.reserve( vv.size() ) ;
33 for(
unsigned int i ( 0 ) ;
i != vv.size() ; ++
i )
36 pv.emplace_back( factor*vv[
i] ) ;
39 std::vector<GlobalPoint> corners (8);
51 0.25*( corners[0].
y() +
55 0.25*( corners[0].
z() +
64 0.25*( corners[4].
y() +
68 0.25*( corners[4].
z() +
73 geom->
newCell( front, back, corners[0],
93 const std::vector<double>& fvec = valNcrys.doubles();
96 assert(fvec.size() == 1);
106 const std::vector<double>& fmvec = valNmods.
doubles() ;
109 assert(fmvec.size() == 1);
void setNumberOfCrystalPerModule(const int nncrys)
const std::vector< double > & doubles() const
a reference to the double-valued values stored in the given instance of DDValue
bool nextSibling()
set the current node to the next sibling ...
CaloGeometryLoader< EcalEndcapGeometry > EcalEGL
CaloCellGeometry::CCGFloat CCGFloat
std::vector< double > ParmVec
bool DDfetch(const DDsvalues_type *, DDValue &)
helper for retrieving DDValues from DDsvalues_type *.
void setNumberOfModules(const int nnmods)
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type
std::maps an index to a DDValue. The index corresponds to the index assigned to the name of the std::...
CaloCellGeometry::CCGFloat CCGFloat
static const CCGFloat * getParmPtr(const std::vector< CCGFloat > &vd, ParMgr *mgr, ParVecVec &pvv)
void newCell(const GlobalPoint &f1, const GlobalPoint &f2, const GlobalPoint &f3, const CCGFloat *parm, const DetId &detId) override
DDsvalues_type mergedSpecifics() const
void fillGeom(T *geom, const ParmVec &pv, const HepGeom::Transform3D &tr, const DetId &id)
void fillNamedParams(const DDFilteredView &fv, T *geom)
static const double k_ScaleFromDDDtoGeant
static void createCorners(const std::vector< CCGFloat > &pv, const Tr3D &tr, std::vector< GlobalPoint > &co)
bool firstChild()
set the current node to the first child ...