23 for (
int stationCounter = 0; stationCounter < 4; stationCounter++) {
24 for (
int sectorCounter = 0; sectorCounter < 14; sectorCounter++) {
25 if (
chambers[stationCounter][sectorCounter]->getNumberPoints() > 2) {
37 for (
int cont_stat = 0; cont_stat < 4; cont_stat++) {
39 for (
int cont_sect = 0; cont_sect < 14; cont_sect++) {
75 GlobalPoint rt(
r(0, 0) - disp(0, 0),
r(1, 0) - disp(1, 0),
r(2, 0) - disp(2, 0));
80 TMatrixD rLocal(3, 1);
81 rLocal(0, 0) = rl.
x();
82 rLocal(1, 0) = rl.
y();
83 rLocal(2, 0) = rl.
z();
88 TMatrixD
diff = rLocal - rTeo;
123 wheeltowheel >> zOffset >> deltax >> deltay >> deltaz >>
alpha >>
beta >>
gamma;
124 wheeltowheel.close();
129 delta.ResizeTo(3, 1);
130 delta(0, 0) = deltax / 10.0;
131 delta(1, 0) = deltay / 10.0;
132 delta(2, 0) = deltaz / 10.0;
136 TMatrixD alpha_m(3, 3);
137 TMatrixD beta_m(3, 3);
138 TMatrixD gamma_m(3, 3);
142 for (
int k = 0;
k < 3;
k++) {
162 Rot = alpha_m * beta_m * gamma_m;
166 for (
int stationCounter = 0; stationCounter < 4; stationCounter++) {
167 for (
int sectorCounter = 0; sectorCounter < 14; sectorCounter++) {
168 if (
obj.getChamber(stationCounter, sectorCounter)->getNumberPoints() > 2) {
std::ostream & operator<<(std::ostream &flux, const DTSurvey &obj)
LocalPoint toLocal(const GlobalPoint &gp) const
Conversion to the R.F. of the GeomDet.
void ReadChambers(edm::ESHandle< DTGeometry >)
Sin< T >::type sin(const T &t)
std::string nameOfWheelInfoFile
const DTSurveyChamber * getChamber(int, int) const
const GeomDet * idToDet(DetId) const override
Cos< T >::type cos(const T &t)
DTSurveyChamber *** chambers
void addPoint(int, const TMatrixD &, const TMatrixD &, const TMatrixD &)
std::string nameOfChamberInfoFile
DTSurvey(const std::string &, const std::string &, int)
constexpr uint32_t rawId() const
get the raw id
static char chambers[264][20]