This class introduces displacements of RP. It actually shifts and rotates PSimHit positions. It doesn't test whether the displaced hit is still on the detector's surface. This check takes place later in the process. It is done via edge effectivity. More...
#include <RPDisplacementGenerator.h>
Public Types | |
typedef ROOT::Math::Rotation3D | RotationMatrix |
Public Member Functions | |
PSimHit | displace (const PSimHit &) |
returns displaced PSimHit More... | |
RPDisplacementGenerator (const edm::ParameterSet &, RPDetId, const edm::EventSetup &) | |
Static Public Member Functions | |
static uint32_t | rawToDecId (uint32_t raw) |
Private Member Functions | |
Local3DPoint | displacePoint (const Local3DPoint &) |
displaces a point More... | |
Private Attributes | |
RPDetId | detId_ |
ID of the detector. More... | |
bool | isOn_ |
set to false to bypass displacements More... | |
DDRotationMatrix | rotation_ |
DDTranslation | shift_ |
displacement More... | |
This class introduces displacements of RP. It actually shifts and rotates PSimHit positions. It doesn't test whether the displaced hit is still on the detector's surface. This check takes place later in the process. It is done via edge effectivity.
PSimHit points are given in the "local Det frame" (PSimHit.h)
Definition at line 28 of file RPDisplacementGenerator.h.
typedef ROOT::Math::Rotation3D RPDisplacementGenerator::RotationMatrix |
Definition at line 30 of file RPDisplacementGenerator.h.
RPDisplacementGenerator::RPDisplacementGenerator | ( | const edm::ParameterSet & | ps, |
RPDetId | _detId, | ||
const edm::EventSetup & | iSetup | ||
) |
Definition at line 19 of file RPDisplacementGenerator.cc.
References detId_, g, relativeConstraints::geom, edm::EventSetup::get(), get, edm::ParameterSet::getParameter(), CTPPSRPAlignmentCorrectionData::getRotationMatrix(), CTPPSRPAlignmentCorrectionData::getTranslation(), isOn_, dqm-mbProfile::log, LogDebug, rawToDecId(), rotation_, shift_, and edm::EventSetup::tryToGet().
returns displaced PSimHit
Definition at line 69 of file RPDisplacementGenerator.cc.
References displacePoint(), SiStripBadComponentsDQMServiceTemplate_cfg::ep, input, isOn_, and LogDebug.
|
private |
displaces a point
input is in mm, shifts are in mm too
Definition at line 60 of file RPDisplacementGenerator.cc.
References AlCaHLTBitMon_ParallelJobs::p, rotation_, shift_, and findQualityFiles::v.
Referenced by displace().
|
static |
Definition at line 92 of file RPDisplacementGenerator.cc.
References CTPPSDetId::maskArm, TotemRPDetId::maskPlane, CTPPSDetId::maskRP, CTPPSDetId::maskStation, CTPPSDetId::startArmBit, TotemRPDetId::startPlaneBit, CTPPSDetId::startRPBit, and CTPPSDetId::startStationBit.
Referenced by DeadChannelsManager::isChannelDead(), and RPDisplacementGenerator().
|
private |
ID of the detector.
Definition at line 41 of file RPDisplacementGenerator.h.
Referenced by RPDisplacementGenerator().
|
private |
set to false to bypass displacements
Definition at line 48 of file RPDisplacementGenerator.h.
Referenced by displace(), and RPDisplacementGenerator().
|
private |
Definition at line 45 of file RPDisplacementGenerator.h.
Referenced by displacePoint(), and RPDisplacementGenerator().
|
private |
displacement
Definition at line 44 of file RPDisplacementGenerator.h.
Referenced by displacePoint(), and RPDisplacementGenerator().