Implements a set of measurements given by survey, tipically a wheel.
Contains DTSurveyChambers and the displacements and rotations for each are calculated.
- Date
- 2007/12/06 01:53:28
- Revision
- 1.3
- Author
- Pablo Martinez Ruiz del Arbol
Definition at line 25 of file DTSurvey.h.
void DTSurvey::FillWheelInfo |
( |
| ) |
|
|
private |
Definition at line 120 of file DTSurvey.cc.
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;
References zMuMuMuonUserData::alpha, zMuMuMuonUserData::beta, funct::cos(), delta, CustomPhysics_cfi::gamma, dqmdumpme::k, nameOfWheelInfoFile, OffsetZ, Rot, and funct::sin().
Referenced by DTSurvey().
Definition at line 34 of file DTSurvey.cc.
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;
References DTSurveyChamber::addPoint(), chambers, gather_cfg::cout, delta, change_name::diff, PVValHelper::dx, PVValHelper::dy, PVValHelper::dz, debug_messages_cfi::errors, FrontierConditions_GlobalTag_cff::file, DTGeometry::idToDet(), nameOfChamberInfoFile, OffsetZ, alignCSCRings::r, DetId::rawId(), SiStripPI::rms, Rot, hcal_runs::rt, relativeConstraints::station, GeomDet::toLocal(), x, PV3DBase< T, PVType, FrameType >::x(), y, PV3DBase< T, PVType, FrameType >::y(), z, and PV3DBase< T, PVType, FrameType >::z().