Go to the documentation of this file.
13 #include <Math/RotationZYX.h>
14 #include <Math/Rotation3D.h>
36 if (alignments.isValid()) {
48 rotation_ = R_l.Inverse() * R_m.Inverse() * R_l;
49 shift_ = R_l.Inverse() * R_m.Inverse() * S_m;
51 LogDebug(
"RPDisplacementGenerator").log([&](
auto &
log) {
52 log <<
" det id = " << decId <<
", isOn = " <<
isOn_ <<
"\n";
76 LogDebug(
"RPDisplacementGenerator::displace\n") <<
" entry point: " <<
ep <<
" -> " << dep <<
"\n"
77 <<
" exit point : " << xp <<
" -> " << dxp <<
"\n";
Event setup record containing the real (actual) geometry information.
Local3DPoint displacePoint(const Local3DPoint &)
displaces a point
static const std::string input
DDRotationMatrix rotation_
math::XYZVectorD getTranslation() const
static const uint32_t startArmBit
ROOT::Math::Rotation3D DDRotationMatrix
A DDRotationMatrix is currently implemented with a ROOT Rotation3D.
static uint32_t rawToDecId(uint32_t raw)
static const uint32_t startPlaneBit
std::optional< T > tryToGet() const
static const uint32_t startStationBit
RPDetId detId_
ID of the detector.
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
bool isOn_
set to false to bypass displacements
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > XYZVectorD
spatial vector with cartesian internal representation
Geometrical description of a sensor.
static const uint32_t maskStation
ROOT::Math::Rotation3D RotationMatrix
Event setup record containing the misaligned geometry information. It is used for alignment studies o...
T getParameter(std::string const &) const
static const uint32_t startRPBit
RPDisplacementGenerator(const edm::ParameterSet &, RPDetId, const edm::EventSetup &)
PSimHit displace(const PSimHit &)
returns displaced PSimHit
ROOT::Math::Rotation3D getRotationMatrix() const
Alignment correction for an element of the CT-PPS detector. Within the geometry description,...
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 maskPlane
Point3DBase< float, LocalTag > Local3DPoint
static const uint32_t maskArm
DDTranslation shift_
displacement
static const uint32_t maskRP