#include <HGCalGeomRotation.h>
|
void | RotateModule120DegreesAnticlockwise (int &moduleU, int &moduleV, int offset) const |
|
void | RotateModule120DegreesClockwise (int &moduleU, int &moduleV, int offset) const |
|
void | RotateModule60DegreesAnticlockwise (int &moduleU, int &moduleV) const |
|
void | RotateModule60DegreesClockwise (int &moduleU, int &moduleV) const |
|
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 |
|
unsigned | uvMappingTo60DegreeSector0 (WaferCentring waferCentring, int &moduleU, int &moduleV) const |
|
Definition at line 4 of file HGCalGeomRotation.h.
◆ SectorType
Enumerator |
---|
Sector120Degrees | |
Sector60Degrees | |
Definition at line 6 of file HGCalGeomRotation.h.
6 { Sector120Degrees, Sector60Degrees };
◆ WaferCentring
Enumerator |
---|
WaferCentred | |
CornerCentredY | |
CornerCentredMercedes | |
Definition at line 7 of file HGCalGeomRotation.h.
7 { WaferCentred, CornerCentredY, CornerCentredMercedes };
◆ HGCalGeomRotation()
HGCalGeomRotation::HGCalGeomRotation |
( |
SectorType |
sectorType | ) |
|
|
inline |
◆ ~HGCalGeomRotation()
HGCalGeomRotation::~HGCalGeomRotation |
( |
| ) |
|
|
inline |
◆ RotateModule120DegreesAnticlockwise()
void HGCalGeomRotation::RotateModule120DegreesAnticlockwise |
( |
int & |
moduleU, |
|
|
int & |
moduleV, |
|
|
int |
offset |
|
) |
| const |
|
private |
◆ RotateModule120DegreesClockwise()
void HGCalGeomRotation::RotateModule120DegreesClockwise |
( |
int & |
moduleU, |
|
|
int & |
moduleV, |
|
|
int |
offset |
|
) |
| const |
|
private |
◆ RotateModule60DegreesAnticlockwise()
void HGCalGeomRotation::RotateModule60DegreesAnticlockwise |
( |
int & |
moduleU, |
|
|
int & |
moduleV |
|
) |
| const |
|
private |
Definition at line 157 of file HGCalGeomRotation.cc.
158 int moduleURotated, moduleVRotated;
159 moduleURotated = moduleU - moduleV;
160 moduleVRotated = moduleU;
162 moduleU = moduleURotated;
163 moduleV = moduleVRotated;
Referenced by uvMappingFrom60DegreeSector0().
◆ RotateModule60DegreesClockwise()
void HGCalGeomRotation::RotateModule60DegreesClockwise |
( |
int & |
moduleU, |
|
|
int & |
moduleV |
|
) |
| const |
|
private |
Definition at line 166 of file HGCalGeomRotation.cc.
167 int moduleURotated, moduleVRotated;
168 moduleURotated = moduleV;
169 moduleVRotated = moduleV - moduleU;
171 moduleU = moduleURotated;
172 moduleV = moduleVRotated;
Referenced by uvMappingTo60DegreeSector0().
◆ uvMappingFrom120DegreeSector0()
void HGCalGeomRotation::uvMappingFrom120DegreeSector0 |
( |
WaferCentring |
waferCentring, |
|
|
int & |
moduleU, |
|
|
int & |
moduleV, |
|
|
unsigned |
sector |
|
) |
| const |
|
private |
◆ uvMappingFrom60DegreeSector0()
void HGCalGeomRotation::uvMappingFrom60DegreeSector0 |
( |
WaferCentring |
waferCentring, |
|
|
int & |
moduleU, |
|
|
int & |
moduleV, |
|
|
unsigned |
sector |
|
) |
| const |
|
private |
Definition at line 32 of file HGCalGeomRotation.cc.
38 <<
"HGCalGeomRotation: 60 degree sector defintion selected, but not WaferCentred centring. This is "
39 "incompatible, assuming WaferCentred centring";
43 throw cms::Exception(
"RotationException") <<
"HGCalGeomRotation: desired sector must be either 0, 1, 2, 3, 4, or 5";
45 for (
unsigned rot = 0;
rot < sector;
rot++) {
References Exception, makeMuonMisalignmentScenario::rot, RotateModule60DegreesAnticlockwise(), and WaferCentred.
Referenced by uvMappingFromSector0().
◆ uvMappingFromSector0()
void HGCalGeomRotation::uvMappingFromSector0 |
( |
WaferCentring |
waferCentring, |
|
|
int & |
moduleU, |
|
|
int & |
moduleV, |
|
|
unsigned |
sector |
|
) |
| const |
◆ uvMappingTo120DegreeSector0()
unsigned HGCalGeomRotation::uvMappingTo120DegreeSector0 |
( |
WaferCentring |
waferCentring, |
|
|
int & |
moduleU, |
|
|
int & |
moduleV |
|
) |
| const |
|
private |
◆ uvMappingTo60DegreeSector0()
unsigned HGCalGeomRotation::uvMappingTo60DegreeSector0 |
( |
WaferCentring |
waferCentring, |
|
|
int & |
moduleU, |
|
|
int & |
moduleV |
|
) |
| const |
|
private |
◆ uvMappingToSector0()
unsigned HGCalGeomRotation::uvMappingToSector0 |
( |
WaferCentring |
waferCentring, |
|
|
int & |
moduleU, |
|
|
int & |
moduleV |
|
) |
| const |
◆ sectorType_