22 #include "CLHEP/Units/GlobalSystemOfUnits.h" 35 const std::vector<DetId>& detids(rgeo.
detIds());
39 std::vector<double>::const_iterator tranStart;
40 std::vector<double>::const_iterator shapeStart;
41 std::vector<double>::const_iterator rotStart;
42 std::vector<std::string>::const_iterator strStart;
44 for (
unsigned int id = 0;
id < detids.size(); ++
id)
57 *(rotStart+3), *(rotStart+4), *(rotStart+5),
58 *(rotStart+6), *(rotStart+7), *(rotStart+8));
61 float be = *(shapeStart+0)/cm;
62 float te = *(shapeStart+1)/cm;
63 float ap = *(shapeStart+2)/cm;
64 float ti = *(shapeStart+3)/cm;
65 float nstrip = *(shapeStart+4);
66 float npad = *(shapeStart+5);
70 std::vector<float> pars;
71 pars.emplace_back(be);
72 pars.emplace_back(te);
73 pars.emplace_back(ap);
74 pars.emplace_back(nstrip);
75 pars.emplace_back(npad);
~ME0GeometryBuilderFromCondDB()
std::vector< double >::const_iterator rotStart(size_t ind) const
TkRotation & rotateAxes(const Basic3DVector< T > &newX, const Basic3DVector< T > &newY, const Basic3DVector< T > &newZ)
std::vector< std::string >::const_iterator strStart(size_t ind) const
std::vector< double >::const_iterator tranStart(size_t ind) const
const std::vector< DetId > & detIds() const
ME0Geometry * build(const RecoIdealGeometry &rgeo)
ESHandle< TrackerGeometry > geometry
std::vector< double >::const_iterator shapeStart(size_t ind) const
ME0GeometryBuilderFromCondDB()