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);
87 rot.rotateAxes(newX, newY, newZ);