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
math::XYZVectorD getTranslation() const
static const uint32_t startArmBit
static uint32_t rawToDecId(uint32_t raw)
ROOT::Math::Rotation3D RotationMatrix
static const uint32_t startPlaneBit
std::optional< T > tryToGet() const
static const uint32_t startStationBit
RPDetId detId_
ID of the detector.
bool isOn_
set to false to bypass displacements
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > XYZVectorD
spatial vector with cartesian internal representation
Translation shift_
displacement
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > Translation
static const uint32_t maskStation
Event setup record containing the misaligned geometry information. It is used for alignment studies o...
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
T getParameter(std::string const &) 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
static const uint32_t maskRP