#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 Public Attributes | |
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 | fullCell = 0 |
static constexpr int32_t | leftEdge = 2 |
static constexpr int32_t | rightEdge = 5 |
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 | 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 5 of file HGCalCell.cc.
References cellX_, cellY_, dqmdumpme::k, ncell_, and sqrt3By2_.
|
static |
Definition at line 238 of file HGCalCell.cc.
References cellPlacementExtra, and hgcalPerformanceValidation::orient.
Referenced by algorithm(), and DDHGCalWaferPartialRotated::execute().
|
static |
Definition at line 233 of file HGCalCell.cc.
References cellPlacementExtra, and hgcalPerformanceValidation::orient.
Referenced by algorithm(), HGCalDDDConstants::cellType(), DDHGCalWaferFullRotated::execute(), HGCalDDDConstants::locateCell(), DDHGCalMixRotatedLayer::positionMix(), HGCalMixRotatedLayer::positionMix(), DDHGCalSiliconRotatedModule::positionSensitive(), HGCalSiliconRotatedModule::positionSensitive(), and HGCalDDDConstants::waferFromPosition().
|
static |
Definition at line 245 of file HGCalCell.cc.
References bottomCorner, bottomLeftCorner, bottomLeftEdge, bottomRightCorner, bottomRightEdge, cellPlacementExtra, cellPlacementIndex0, cellPlacementIndex1, cellPlacementIndex10, cellPlacementIndex2, cellPlacementIndex3, cellPlacementIndex4, cellPlacementIndex6, cellPlacementIndex7, cellPlacementIndex8, cellPlacementIndex9, centralCell, cornerCell, extendedCell, fullCell, leftEdge, rightEdge, topCorner, topLeftCorner, topLeftEdge, topRightCorner, topRightEdge, truncatedCell, and findQualityFiles::v.
Referenced by HGCalDDDConstants::cellType().
std::pair< int, int > HGCalCell::cellUV2Cell | ( | int32_t | u, |
int32_t | v, | ||
int32_t | placementIndex, | ||
int32_t | type | ||
) |
Definition at line 97 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 16 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(), DDHGCalWaferFullRotated::execute(), and HGCalCellUV::HGCalCellUV().
std::pair< double, double > HGCalCell::cellUV2XY2 | ( | int32_t | u, |
int32_t | v, | ||
int32_t | placementIndex, | ||
int32_t | type | ||
) |
Definition at line 73 of file HGCalCell.cc.
References cellPlacementExtra, cellX_, cellY_, ncell_, sqrt3By2_, findQualityFiles::v, x, and y.
|
static |
Definition at line 41 of file HGCalCell.h.
Referenced by cellType(), and HGCalTopology::neighbors().
|
static |
Definition at line 42 of file HGCalCell.h.
Referenced by cellType(), and HGCalTopology::neighbors().
|
static |
Definition at line 35 of file HGCalCell.h.
Referenced by cellType(), and HGCalTopology::neighbors().
|
static |
Definition at line 46 of file HGCalCell.h.
Referenced by cellType(), and HGCalTopology::neighbors().
|
static |
Definition at line 40 of file HGCalCell.h.
Referenced by cellType(), and HGCalTopology::neighbors().
|
static |
Definition at line 24 of file HGCalCell.h.
Referenced by 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 62 of file HGCalCell.h.
Referenced by cellUV2XY1(), cellUV2XY2(), and HGCalCell().
|
private |
Definition at line 62 of file HGCalCell.h.
Referenced by cellUV2XY1(), cellUV2XY2(), and HGCalCell().
|
static |
Definition at line 34 of file HGCalCell.h.
Referenced by cellType(), and HGCalTopology::neighbors().
|
static |
Definition at line 29 of file HGCalCell.h.
Referenced by cellType(), and cellUV2Cell().
|
static |
Definition at line 31 of file HGCalCell.h.
Referenced by cellType(), and cellUV2Cell().
|
static |
Definition at line 28 of file HGCalCell.h.
Referenced by cellType(), and cellUV2Cell().
|
static |
Definition at line 36 of file HGCalCell.h.
Referenced by cellType(), and HGCalTopology::neighbors().
|
private |
Definition at line 61 of file HGCalCell.h.
Referenced by cellUV2Cell(), cellUV2XY1(), cellUV2XY2(), and HGCalCell().
|
static |
Definition at line 39 of file HGCalCell.h.
Referenced by cellType(), and HGCalTopology::neighbors().
|
private |
Definition at line 60 of file HGCalCell.h.
Referenced by cellUV2XY2(), and HGCalCell().
|
static |
Definition at line 44 of file HGCalCell.h.
Referenced by cellType(), and HGCalTopology::neighbors().
|
static |
Definition at line 43 of file HGCalCell.h.
Referenced by cellType(), and HGCalTopology::neighbors().
|
static |
Definition at line 37 of file HGCalCell.h.
Referenced by cellType(), and HGCalTopology::neighbors().
|
static |
Definition at line 45 of file HGCalCell.h.
Referenced by cellType(), and HGCalTopology::neighbors().
|
static |
Definition at line 38 of file HGCalCell.h.
Referenced by cellType(), and HGCalTopology::neighbors().
|
static |
Definition at line 30 of file HGCalCell.h.
Referenced by cellType(), and cellUV2Cell().
|
static |
Definition at line 33 of file HGCalCell.h.