1 #ifndef SimPPS_RPDigiProducer_RP_DISPLACEMENT_GENERATOR_H 2 #define SimPPS_RPDigiProducer_RP_DISPLACEMENT_GENERATOR_H 6 #include <Math/Rotation3D.h> 29 using Translation = ROOT::Math::DisplacementVector3D<ROOT::Math::Cartesian3D<double>>;
This class introduces displacements of RP. It actually shifts and rotates PSimHit positions...
RPDetId detId_
ID of the detector.
static uint32_t rawToDecId(uint32_t raw)
Translation shift_
displacement
bool isOn_
set to false to bypass displacements
ROOT::Math::Rotation3D RotationMatrix
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > Translation
PSimHit displace(const PSimHit &)
returns displaced PSimHit
RPDisplacementGenerator(const edm::ParameterSet &, RPDetId, const edm::EventSetup &)
Local3DPoint displacePoint(const Local3DPoint &)
displaces a point