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++) {
61 sector = (code - (
station + 1) * 10000) / 100 - 1;
75 GlobalPoint rt(
r(0, 0) - disp(0, 0),
r(1, 0) - disp(1, 0),
r(2, 0) - disp(2, 0));
77 const DTChamber *mChamber = static_cast<const DTChamber *>(pDD->
idToDet(mId));
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) {