#include <HGCalCell.h>
Public Member Functions | |
std::pair< int32_t, int32_t > | cellUV2Cell (int32_t u, int32_t v, int32_t placementIndex, int32_t type) |
std::pair< double, double > | cellUV2XY1 (int32_t u, int32_t v, int32_t placementIndex, int32_t type) |
std::pair< double, double > | cellUV2XY2 (int32_t u, int32_t v, int32_t placementIndex, int32_t type) |
HGCalCell (double waferSize, int32_t nFine, int32_t nCoarse) | |
Static Public Member Functions | |
static std::pair< int32_t, int32_t > | cellOrient (int32_t placementIndex) |
static int32_t | cellPlacementIndex (int32_t iz, int32_t frontBack, int32_t orient) |
static std::pair< int32_t, int32_t > | cellType (int32_t u, int32_t v, int32_t ncell, int32_t placementIndex) |
static std::pair< int32_t, int32_t > | cellType (int32_t u, int32_t v, int32_t ncell, int32_t placementIndex, int32_t partialType) |
Static Public Attributes | |
static constexpr int32_t | bottomCell = 24 |
static constexpr int32_t | bottomCorner = 11 |
static constexpr int32_t | bottomLeftCorner = 12 |
static constexpr int32_t | bottomLeftEdge = 1 |
static constexpr int32_t | bottomRightCorner = 16 |
static constexpr int32_t | bottomRightEdge = 6 |
static constexpr int32_t | cellPlacementExtra = 6 |
static constexpr int32_t | cellPlacementIndex0 = 0 |
static constexpr int32_t | cellPlacementIndex1 = 1 |
static constexpr int32_t | cellPlacementIndex10 = 10 |
static constexpr int32_t | cellPlacementIndex11 = 11 |
static constexpr int32_t | cellPlacementIndex2 = 2 |
static constexpr int32_t | cellPlacementIndex3 = 3 |
static constexpr int32_t | cellPlacementIndex4 = 4 |
static constexpr int32_t | cellPlacementIndex5 = 5 |
static constexpr int32_t | cellPlacementIndex6 = 6 |
static constexpr int32_t | cellPlacementIndex7 = 7 |
static constexpr int32_t | cellPlacementIndex8 = 8 |
static constexpr int32_t | cellPlacementIndex9 = 9 |
static constexpr int32_t | cellPlacementOld = 7 |
static constexpr int32_t | cellPlacementTotal = 12 |
static constexpr int32_t | centralCell = 0 |
static constexpr int32_t | cornerCell = 1 |
static constexpr int32_t | extendedCell = 3 |
static constexpr int32_t | extendedMBCell = 5 |
static constexpr int32_t | fullCell = 0 |
static constexpr int32_t | fullWaferCellsCount = 6 |
static constexpr int32_t | halfCell = 11 |
static constexpr int32_t | halfExtCell = 13 |
static constexpr int32_t | halfTrunCell = 12 |
static constexpr int32_t | HDPartial0920Cell = 20 |
static constexpr int32_t | HDPartial1021Cell = 21 |
static constexpr int32_t | LDPartial0007Cell = 16 |
static constexpr int32_t | LDPartial0209Cell = 15 |
static constexpr int32_t | LDPartial0714Cell = 14 |
static constexpr int32_t | LDPartial0815Cell = 17 |
static constexpr int32_t | LDPartial1415Cell = 18 |
static constexpr int32_t | LDPartial1515Cell = 19 |
static constexpr int32_t | leftCell = 21 |
static constexpr int32_t | leftEdge = 2 |
static constexpr int32_t | partiaclCellsPosOffset = 21 |
static constexpr int32_t | partiaclWaferCellsOffset = 11 |
static constexpr int32_t | rightCell = 22 |
static constexpr int32_t | rightEdge = 5 |
static constexpr int32_t | topCell = 23 |
static constexpr int32_t | topCorner = 14 |
static constexpr int32_t | topLeftCorner = 13 |
static constexpr int32_t | topLeftEdge = 3 |
static constexpr int32_t | topRightCorner = 15 |
static constexpr int32_t | topRightEdge = 4 |
static constexpr int32_t | truncatedCell = 2 |
static constexpr int32_t | truncatedMBCell = 4 |
static constexpr int32_t | undefinedCell = -1 |
Private Attributes | |
double | cellX_ [2] |
double | cellY_ [2] |
int32_t | ncell_ [2] |
const double | sqrt3By2_ = (0.5 * std::sqrt(3.0)) |
Definition at line 7 of file HGCalCell.h.
HGCalCell::HGCalCell | ( | double | waferSize, |
int32_t | nFine, | ||
int32_t | nCoarse | ||
) |
Definition at line 9 of file HGCalCell.cc.
References cellX_, cellY_, dqmdumpme::k, ncell_, and sqrt3By2_.
|
static |
Definition at line 244 of file HGCalCell.cc.
References cellPlacementExtra, and hgcalPerformanceValidation::orient.
Referenced by algorithm(), and DDHGCalWaferPartialRotated::execute().
|
static |
Definition at line 239 of file HGCalCell.cc.
References cellPlacementExtra, and hgcalPerformanceValidation::orient.
Referenced by algorithm(), HGCalMouseBiteTester::analyze(), HGCalSD::calibCell(), HGCalDDDConstants::cellType(), HGCGuardRing::exclude(), HGCGuardRingPartial::exclude(), DDHGCalWaferFullRotated::execute(), HGCalCalibrationCell::findCell(), HGCalDDDConstants::locateCell(), DDHGCalMixRotatedFineCassette::positionMix(), DDHGCalMixRotatedLayer::positionMix(), DDHGCalMixRotatedCassette::positionMix(), HGCalMixRotatedLayer::positionMix(), HGCalMixRotatedCassette::positionMix(), HGCalMixRotatedFineCassette::positionMix(), DDHGCalSiliconRotatedCassette::positionPassive(), HGCalSiliconRotatedCassette::positionPassive(), DDHGCalSiliconRotatedCassette::positionSensitive(), DDHGCalSiliconRotatedModule::positionSensitive(), HGCalSiliconRotatedModule::positionSensitive(), HGCalSiliconRotatedCassette::positionSensitive(), and HGCalDDDConstants::waferFromPosition().
|
static |
Definition at line 251 of file HGCalCell.cc.
References bottomCorner, bottomLeftCorner, bottomLeftEdge, bottomRightCorner, bottomRightEdge, cellPlacementExtra, cellPlacementIndex0, cellPlacementIndex1, cellPlacementIndex10, cellPlacementIndex2, cellPlacementIndex3, cellPlacementIndex4, cellPlacementIndex6, cellPlacementIndex7, cellPlacementIndex8, cellPlacementIndex9, centralCell, cornerCell, extendedCell, extendedMBCell, fullCell, leftEdge, rightEdge, topCorner, topLeftCorner, topLeftEdge, topRightCorner, topRightEdge, truncatedCell, truncatedMBCell, and findQualityFiles::v.
Referenced by HGCalDDDConstants::cellType(), and cellType().
|
static |
Definition at line 613 of file HGCalCell.cc.
References bottomCell, cellType(), gather_cfg::cout, extendedCell, halfCell, halfExtCell, halfTrunCell, HDPartial0920Cell, HDPartial1021Cell, LDPartial0007Cell, LDPartial0209Cell, LDPartial0714Cell, LDPartial0815Cell, LDPartial1415Cell, LDPartial1515Cell, leftCell, rightCell, topCell, truncatedCell, findQualityFiles::v, HGCalTypes::WaferHDFive, HGCalTypes::WaferHDLeft, HGCalTypes::WaferHDRight, HGCalTypes::WaferLDFive, HGCalTypes::WaferLDLeft, HGCalTypes::WaferLDRight, HGCalTypes::WaferLDThree, HGCalTypes::WaferPartHDCount, HGCalTypes::WaferPartHDOffset, HGCalTypes::WaferPartLDCount, and HGCalTypes::WaferPartLDOffset.
std::pair< int, int > HGCalCell::cellUV2Cell | ( | int32_t | u, |
int32_t | v, | ||
int32_t | placementIndex, | ||
int32_t | type | ||
) |
Definition at line 103 of file HGCalCell.cc.
References cellPlacementExtra, cellPlacementIndex0, cellPlacementIndex1, cellPlacementIndex10, cellPlacementIndex2, cellPlacementIndex3, cellPlacementIndex4, cellPlacementIndex6, cellPlacementIndex7, cellPlacementIndex8, cellPlacementIndex9, cornerCell, extendedCell, fullCell, ncell_, truncatedCell, and findQualityFiles::v.
Referenced by algorithm(), and DDHGCalWaferFullRotated::execute().
std::pair< double, double > HGCalCell::cellUV2XY1 | ( | int32_t | u, |
int32_t | v, | ||
int32_t | placementIndex, | ||
int32_t | type | ||
) |
Definition at line 22 of file HGCalCell.cc.
References cellPlacementIndex0, cellPlacementIndex1, cellPlacementIndex10, cellPlacementIndex11, cellPlacementIndex2, cellPlacementIndex3, cellPlacementIndex4, cellPlacementIndex6, cellPlacementIndex7, cellPlacementIndex8, cellPlacementIndex9, cellX_, cellY_, ncell_, findQualityFiles::v, x, and y.
Referenced by algorithm(), and DDHGCalWaferFullRotated::execute().
std::pair< double, double > HGCalCell::cellUV2XY2 | ( | int32_t | u, |
int32_t | v, | ||
int32_t | placementIndex, | ||
int32_t | type | ||
) |
Definition at line 79 of file HGCalCell.cc.
References cellPlacementExtra, cellX_, cellY_, ncell_, sqrt3By2_, findQualityFiles::v, x, and y.
Referenced by HGCalMouseBiteTester::analyze().
|
static |
Definition at line 69 of file HGCalCell.h.
Referenced by HGCalCellOffset::cellOffsetUV2XY1(), and cellType().
|
static |
Definition at line 59 of file HGCalCell.h.
Referenced by HGCalCellOffset::cellOffsetUV2XY1(), cellType(), and HGCalTopology::neighbors().
|
static |
Definition at line 60 of file HGCalCell.h.
Referenced by cellType(), and HGCalTopology::neighbors().
|
static |
Definition at line 53 of file HGCalCell.h.
Referenced by HGCalCellOffset::cellOffsetUV2XY1(), cellType(), and HGCalTopology::neighbors().
|
static |
Definition at line 64 of file HGCalCell.h.
Referenced by cellType(), and HGCalTopology::neighbors().
|
static |
Definition at line 58 of file HGCalCell.h.
Referenced by cellType(), and HGCalTopology::neighbors().
|
static |
Definition at line 24 of file HGCalCell.h.
Referenced by HGCalCellOffset::cellOffsetUV2XY1(), cellOrient(), cellPlacementIndex(), cellType(), cellUV2Cell(), cellUV2XY2(), HGCalCellUV::cellUVFromXY1(), HGCalCellUV::cellUVFromXY2(), HGCalCellUV::cellUVFromXY3(), and HGCalCellUV::HGCalCellUV().
|
static |
Definition at line 11 of file HGCalCell.h.
Referenced by cellType(), cellUV2Cell(), and cellUV2XY1().
|
static |
Definition at line 12 of file HGCalCell.h.
Referenced by cellType(), cellUV2Cell(), and cellUV2XY1().
|
static |
Definition at line 21 of file HGCalCell.h.
Referenced by cellType(), cellUV2Cell(), and cellUV2XY1().
|
static |
Definition at line 22 of file HGCalCell.h.
Referenced by cellUV2XY1().
|
static |
Definition at line 13 of file HGCalCell.h.
Referenced by cellType(), cellUV2Cell(), and cellUV2XY1().
|
static |
Definition at line 14 of file HGCalCell.h.
Referenced by cellType(), cellUV2Cell(), and cellUV2XY1().
|
static |
Definition at line 15 of file HGCalCell.h.
Referenced by cellType(), cellUV2Cell(), and cellUV2XY1().
|
static |
Definition at line 16 of file HGCalCell.h.
|
static |
Definition at line 17 of file HGCalCell.h.
Referenced by cellType(), cellUV2Cell(), and cellUV2XY1().
|
static |
Definition at line 18 of file HGCalCell.h.
Referenced by cellType(), cellUV2Cell(), and cellUV2XY1().
|
static |
Definition at line 19 of file HGCalCell.h.
Referenced by cellType(), cellUV2Cell(), and cellUV2XY1().
|
static |
Definition at line 20 of file HGCalCell.h.
Referenced by cellType(), cellUV2Cell(), and cellUV2XY1().
|
static |
Definition at line 25 of file HGCalCell.h.
Referenced by HGCalDDDConstants::cellType(), HGCalDDDConstants::locateCell(), and HGCalDDDConstants::waferFromPosition().
|
static |
Definition at line 26 of file HGCalCell.h.
Referenced by HGCalCellUV::HGCalCellUV().
|
private |
Definition at line 88 of file HGCalCell.h.
Referenced by cellUV2XY1(), cellUV2XY2(), and HGCalCell().
|
private |
Definition at line 88 of file HGCalCell.h.
Referenced by cellUV2XY1(), cellUV2XY2(), and HGCalCell().
|
static |
Definition at line 52 of file HGCalCell.h.
Referenced by cellType(), and HGCalTopology::neighbors().
|
static |
Definition at line 29 of file HGCalCell.h.
Referenced by HGCalCellOffset::cellOffsetUV2XY1(), cellType(), cellUV2Cell(), and HGCalCellOffset::HGCalCellOffset().
|
static |
Definition at line 31 of file HGCalCell.h.
Referenced by HGCalCellOffset::cellAreaUV(), HGCalCellOffset::cellOffsetUV2XY1(), cellType(), cellUV2Cell(), and HGCalCellOffset::HGCalCellOffset().
|
static |
Definition at line 33 of file HGCalCell.h.
Referenced by HGCalCellOffset::cellOffsetUV2XY1(), cellType(), and HGCalCellOffset::HGCalCellOffset().
|
static |
Definition at line 28 of file HGCalCell.h.
Referenced by cellType(), cellUV2Cell(), and HGCalCellOffset::HGCalCellOffset().
|
static |
Definition at line 34 of file HGCalCell.h.
|
static |
Definition at line 36 of file HGCalCell.h.
Referenced by HGCalCellOffset::cellOffsetUV2XY1(), cellType(), and HGCalCellOffset::HGCalCellOffset().
|
static |
Definition at line 38 of file HGCalCell.h.
Referenced by HGCalCellOffset::cellOffsetUV2XY1(), cellType(), and HGCalCellOffset::HGCalCellOffset().
|
static |
Definition at line 37 of file HGCalCell.h.
Referenced by HGCalCellOffset::cellOffsetUV2XY1(), cellType(), and HGCalCellOffset::HGCalCellOffset().
|
static |
Definition at line 48 of file HGCalCell.h.
Referenced by HGCalCellOffset::cellOffsetUV2XY1(), cellType(), and HGCalCellOffset::HGCalCellOffset().
|
static |
Definition at line 49 of file HGCalCell.h.
Referenced by HGCalCellOffset::cellOffsetUV2XY1(), cellType(), and HGCalCellOffset::HGCalCellOffset().
|
static |
Definition at line 43 of file HGCalCell.h.
Referenced by HGCalCellOffset::cellOffsetUV2XY1(), cellType(), and HGCalCellOffset::HGCalCellOffset().
|
static |
Definition at line 42 of file HGCalCell.h.
Referenced by HGCalCellOffset::cellOffsetUV2XY1(), cellType(), and HGCalCellOffset::HGCalCellOffset().
|
static |
Definition at line 41 of file HGCalCell.h.
Referenced by HGCalCellOffset::cellOffsetUV2XY1(), cellType(), and HGCalCellOffset::HGCalCellOffset().
|
static |
Definition at line 44 of file HGCalCell.h.
Referenced by HGCalCellOffset::cellOffsetUV2XY1(), cellType(), and HGCalCellOffset::HGCalCellOffset().
|
static |
Definition at line 45 of file HGCalCell.h.
Referenced by HGCalCellOffset::cellOffsetUV2XY1(), cellType(), and HGCalCellOffset::HGCalCellOffset().
|
static |
Definition at line 46 of file HGCalCell.h.
Referenced by HGCalCellOffset::cellOffsetUV2XY1(), cellType(), and HGCalCellOffset::HGCalCellOffset().
|
static |
Definition at line 66 of file HGCalCell.h.
Referenced by HGCalCellOffset::cellOffsetUV2XY1(), and cellType().
|
static |
Definition at line 54 of file HGCalCell.h.
Referenced by cellType(), and HGCalTopology::neighbors().
|
private |
Definition at line 87 of file HGCalCell.h.
Referenced by cellUV2Cell(), cellUV2XY1(), cellUV2XY2(), and HGCalCell().
|
static |
Definition at line 70 of file HGCalCell.h.
Referenced by HGCalCellOffset::cellAreaUV(), and HGCalCellOffset::cellOffsetUV2XY1().
|
static |
Definition at line 39 of file HGCalCell.h.
Referenced by HGCalCellOffset::cellAreaUV(), HGCalCellOffset::cellOffsetUV2XY1(), and HGCalCellOffset::HGCalCellOffset().
|
static |
Definition at line 67 of file HGCalCell.h.
Referenced by HGCalCellOffset::cellOffsetUV2XY1(), and cellType().
|
static |
Definition at line 57 of file HGCalCell.h.
Referenced by cellType(), and HGCalTopology::neighbors().
|
private |
Definition at line 86 of file HGCalCell.h.
Referenced by cellUV2XY2(), and HGCalCell().
|
static |
Definition at line 68 of file HGCalCell.h.
Referenced by HGCalCellOffset::cellOffsetUV2XY1(), and cellType().
|
static |
Definition at line 62 of file HGCalCell.h.
Referenced by cellType(), and HGCalTopology::neighbors().
|
static |
Definition at line 61 of file HGCalCell.h.
Referenced by cellType(), and HGCalTopology::neighbors().
|
static |
Definition at line 55 of file HGCalCell.h.
Referenced by cellType(), and HGCalTopology::neighbors().
|
static |
Definition at line 63 of file HGCalCell.h.
Referenced by cellType(), and HGCalTopology::neighbors().
|
static |
Definition at line 56 of file HGCalCell.h.
Referenced by HGCalCellOffset::cellOffsetUV2XY1(), cellType(), and HGCalTopology::neighbors().
|
static |
Definition at line 30 of file HGCalCell.h.
Referenced by HGCalCellOffset::cellAreaUV(), HGCalCellOffset::cellOffsetUV2XY1(), cellType(), cellUV2Cell(), and HGCalCellOffset::HGCalCellOffset().
|
static |
Definition at line 32 of file HGCalCell.h.
Referenced by HGCalCellOffset::cellOffsetUV2XY1(), cellType(), and HGCalCellOffset::HGCalCellOffset().
|
static |
Definition at line 51 of file HGCalCell.h.