22 #include "CLHEP/Units/GlobalSystemOfUnits.h" 32 const std::vector<DetId>& detids(rgeo.
detIds());
36 std::vector<double>::const_iterator tranStart;
37 std::vector<double>::const_iterator shapeStart;
38 std::vector<double>::const_iterator rotStart;
39 std::vector<std::string>::const_iterator strStart;
41 for (
unsigned int id = 0;
id < detids.size(); ++
id) {
63 float be = *(shapeStart + 0) / cm;
64 float te = *(shapeStart + 1) / cm;
65 float ap = *(shapeStart + 2) / cm;
66 float ti = *(shapeStart + 3) / cm;
67 float nstrip = *(shapeStart + 4);
68 float npad = *(shapeStart + 5);
72 std::vector<float> pars;
73 pars.emplace_back(be);
74 pars.emplace_back(te);
75 pars.emplace_back(ap);
76 pars.emplace_back(nstrip);
77 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()