CMS 3D CMS Logo

RPDisplacementGenerator.h
Go to the documentation of this file.
1 #ifndef SimPPS_RPDigiProducer_RP_DISPLACEMENT_GENERATOR_H
2 #define SimPPS_RPDigiProducer_RP_DISPLACEMENT_GENERATOR_H
3 
8 #include <Math/Rotation3D.h>
9 #include <map>
10 
11 namespace edm {
12  class ParameterSet;
13  class EventSetup;
14 } // namespace edm
15 
16 class PSimHit;
17 
29 public:
30  typedef ROOT::Math::Rotation3D RotationMatrix;
31 
33 
35  PSimHit displace(const PSimHit &);
36 
37  static uint32_t rawToDecId(uint32_t raw);
38 
39 private:
42 
46 
48  bool isOn_;
49 
52 };
53 
54 #endif
RPDisplacementGenerator::displacePoint
Local3DPoint displacePoint(const Local3DPoint &)
displaces a point
Definition: RPDisplacementGenerator.cc:60
edm
HLT enums.
Definition: AlignableModifier.h:19
RPDisplacementGenerator::rotation_
DDRotationMatrix rotation_
Definition: RPDisplacementGenerator.h:45
DDRotationMatrix
ROOT::Math::Rotation3D DDRotationMatrix
A DDRotationMatrix is currently implemented with a ROOT Rotation3D.
Definition: DDRotationMatrix.h:8
RPDisplacementGenerator::rawToDecId
static uint32_t rawToDecId(uint32_t raw)
Definition: RPDisplacementGenerator.cc:92
RPDisplacementGenerator::detId_
RPDetId detId_
ID of the detector.
Definition: RPDisplacementGenerator.h:41
DDTranslation
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
Definition: DDTranslation.h:7
Point3DBase< float, LocalTag >
RPDisplacementGenerator::isOn_
bool isOn_
set to false to bypass displacements
Definition: RPDisplacementGenerator.h:48
edm::ParameterSet
Definition: ParameterSet.h:36
ParameterSet
Definition: Functions.h:16
DDTranslation.h
edm::EventSetup
Definition: EventSetup.h:57
RPDisplacementGenerator
This class introduces displacements of RP. It actually shifts and rotates PSimHit positions....
Definition: RPDisplacementGenerator.h:28
RPDisplacementGenerator::RotationMatrix
ROOT::Math::Rotation3D RotationMatrix
Definition: RPDisplacementGenerator.h:30
RPDetId
uint32_t RPDetId
Definition: RPSimTypes.h:11
RPSimTypes.h
RPDisplacementGenerator::RPDisplacementGenerator
RPDisplacementGenerator(const edm::ParameterSet &, RPDetId, const edm::EventSetup &)
Definition: RPDisplacementGenerator.cc:19
RPDisplacementGenerator::displace
PSimHit displace(const PSimHit &)
returns displaced PSimHit
Definition: RPDisplacementGenerator.cc:69
TotemRPDetId.h
EventSetup
PSimHit
Definition: PSimHit.h:15
RPDisplacementGenerator::shift_
DDTranslation shift_
displacement
Definition: RPDisplacementGenerator.h:44
DDRotationMatrix.h