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; };
10  ~HGCalGeomRotation() = default;
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
void RotateModule60DegreesClockwise(int &moduleU, int &moduleV) const
void RotateModule120DegreesClockwise(int &moduleU, int &moduleV, int offset) const
void uvMappingFromSector0(WaferCentring waferCentring, int &moduleU, int &moduleV, unsigned sector) const
HGCalGeomRotation(SectorType sectorType)
unsigned uvMappingTo60DegreeSector0(WaferCentring waferCentring, int &moduleU, int &moduleV) const
void RotateModule60DegreesAnticlockwise(int &moduleU, int &moduleV) const
~HGCalGeomRotation()=default
void uvMappingFrom120DegreeSector0(WaferCentring waferCentring, int &moduleU, int &moduleV, unsigned sector) const
void uvMappingFrom60DegreeSector0(WaferCentring waferCentring, int &moduleU, int &moduleV, unsigned sector) const
unsigned uvMappingTo120DegreeSector0(WaferCentring waferCentring, int &moduleU, int &moduleV) const
void RotateModule120DegreesAnticlockwise(int &moduleU, int &moduleV, int offset) const
unsigned uvMappingToSector0(WaferCentring waferCentring, int &moduleU, int &moduleV) const