9 #include <Math/RotationZYX.h> 10 #include <Math/Rotation3D.h> 37 rotation_ = R_l.Inverse() * R_m.Inverse() * R_l;
38 shift_ = R_l.Inverse() * R_m.Inverse() * S_m;
40 LogDebug(
"RPDisplacementGenerator").log([&](
auto &
log) {
41 log <<
" det id = " << decId <<
", isOn = " <<
isOn_ <<
"\n";
65 LogDebug(
"RPDisplacementGenerator::displace\n") <<
" entry point: " <<
ep <<
" -> " << dep <<
"\n" 66 <<
" exit point : " << xp <<
" -> " << dxp <<
"\n";
ROOT::Math::Rotation3D getRotationMatrix() const
math::XYZVectorD getTranslation() const
RPDetId detId_
ID of the detector.
static const uint32_t startRPBit
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
static const uint32_t maskStation
static uint32_t rawToDecId(uint32_t raw)
static std::string const input
CTPPSRPAlignmentCorrectionData getFullSensorCorrection(unsigned int id, bool useRPErrors=false) const
static const uint32_t maskRP
Translation shift_
displacement
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > XYZVectorD
spatial vector with cartesian internal representation
static const uint32_t maskArm
bool isOn_
set to false to bypass displacements
ROOT::Math::Rotation3D RotationMatrix
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > Translation
The manager class for TOTEM RP geometry.
static const uint32_t startStationBit
PSimHit displace(const PSimHit &)
returns displaced PSimHit
Container for CTPPS RP alignment corrections. The corrections are stored on two levels - RP and senso...
static const uint32_t startPlaneBit
static const uint32_t startArmBit
RPDisplacementGenerator(bool iIsOn, RPDetId, const CTPPSRPAlignmentCorrectionsData *alignments, const CTPPSGeometry &geom)
static const uint32_t maskPlane
Alignment correction for an element of the CT-PPS detector. Within the geometry description, every sensor (more generally every element) is given its translation and rotation. These two quantities shall be understood in local-to-global coordinate transform. That is, if r_l is a point in local coordinate system and x_g in global, then it holds.
Local3DPoint displacePoint(const Local3DPoint &)
displaces a point
Point3DBase< float, LocalTag > Local3DPoint