CMS 3D CMS Logo

HGCalGeomRotation.h
Go to the documentation of this file.
1 #ifndef Geometry_HGCalCommonData_HGCalGeomRotation_h
2 #define Geometry_HGCalCommonData_HGCalGeomRotation_h
3 
5 public:
8 
9  HGCalGeomRotation(SectorType sectorType) { sectorType_ = sectorType; };
11 
12  void uvMappingFromSector0(WaferCentring waferCentring, int& moduleU, int& moduleV, unsigned sector) const;
13  unsigned uvMappingToSector0(WaferCentring waferCentring, int& moduleU, int& moduleV) const;
14 
15 private:
16  void uvMappingFrom120DegreeSector0(WaferCentring waferCentring, int& moduleU, int& moduleV, unsigned sector) const;
17  void uvMappingFrom60DegreeSector0(WaferCentring waferCentring, int& moduleU, int& moduleV, unsigned sector) const;
18 
19  unsigned uvMappingTo120DegreeSector0(WaferCentring waferCentring, int& moduleU, int& moduleV) const;
20  unsigned uvMappingTo60DegreeSector0(WaferCentring waferCentring, int& moduleU, int& moduleV) const;
21 
22  void RotateModule60DegreesAnticlockwise(int& moduleU, int& moduleV) const;
23  void RotateModule60DegreesClockwise(int& moduleU, int& moduleV) const;
24  void RotateModule120DegreesAnticlockwise(int& moduleU, int& moduleV, int offset) const;
25  void RotateModule120DegreesClockwise(int& moduleU, int& moduleV, int offset) const;
26 
28 };
29 
30 #endif
HGCalGeomRotation::RotateModule120DegreesClockwise
void RotateModule120DegreesClockwise(int &moduleU, int &moduleV, int offset) const
Definition: HGCalGeomRotation.cc:185
HGCalGeomRotation::HGCalGeomRotation
HGCalGeomRotation(SectorType sectorType)
Definition: HGCalGeomRotation.h:9
HGCalGeomRotation::sectorType_
SectorType sectorType_
Definition: HGCalGeomRotation.h:27
HGCalGeomRotation::SectorType::Sector60Degrees
HGCalGeomRotation::uvMappingFromSector0
void uvMappingFromSector0(WaferCentring waferCentring, int &moduleU, int &moduleV, unsigned sector) const
Definition: HGCalGeomRotation.cc:5
HGCalGeomRotation::WaferCentring
WaferCentring
Definition: HGCalGeomRotation.h:7
HGCalGeomRotation::uvMappingTo60DegreeSector0
unsigned uvMappingTo60DegreeSector0(WaferCentring waferCentring, int &moduleU, int &moduleV) const
Definition: HGCalGeomRotation.cc:121
HGCalGeomRotation::SectorType
SectorType
Definition: HGCalGeomRotation.h:6
HGCalGeomRotation::RotateModule60DegreesAnticlockwise
void RotateModule60DegreesAnticlockwise(int &moduleU, int &moduleV) const
Definition: HGCalGeomRotation.cc:157
HGCalGeomRotation::WaferCentring::WaferCentred
HGCalGeomRotation::~HGCalGeomRotation
~HGCalGeomRotation()
Definition: HGCalGeomRotation.h:10
HGCalGeomRotation::WaferCentring::CornerCentredY
HGCalGeomRotation::uvMappingFrom120DegreeSector0
void uvMappingFrom120DegreeSector0(WaferCentring waferCentring, int &moduleU, int &moduleV, unsigned sector) const
Definition: HGCalGeomRotation.cc:50
HGCalGeomRotation::uvMappingFrom60DegreeSector0
void uvMappingFrom60DegreeSector0(WaferCentring waferCentring, int &moduleU, int &moduleV, unsigned sector) const
Definition: HGCalGeomRotation.cc:32
HGCalGeomRotation::uvMappingTo120DegreeSector0
unsigned uvMappingTo120DegreeSector0(WaferCentring waferCentring, int &moduleU, int &moduleV) const
Definition: HGCalGeomRotation.cc:76
HGCalGeomRotation::uvMappingToSector0
unsigned uvMappingToSector0(WaferCentring waferCentring, int &moduleU, int &moduleV) const
Definition: HGCalGeomRotation.cc:20
HGCalGeomRotation::WaferCentring::CornerCentredMercedes
HGCalGeomRotation::RotateModule60DegreesClockwise
void RotateModule60DegreesClockwise(int &moduleU, int &moduleV) const
Definition: HGCalGeomRotation.cc:166
HGCalGeomRotation::RotateModule120DegreesAnticlockwise
void RotateModule120DegreesAnticlockwise(int &moduleU, int &moduleV, int offset) const
Definition: HGCalGeomRotation.cc:175
hltrates_dqm_sourceclient-live_cfg.offset
offset
Definition: hltrates_dqm_sourceclient-live_cfg.py:82
HGCalGeomRotation
Definition: HGCalGeomRotation.h:4
HGCalGeomRotation::SectorType::Sector120Degrees