#include <HGCalCell.h>
Public Member Functions | |
HGCalCell (double waferSize, int32_t nFine, int32_t nCoarse) | |
std::pair< int32_t, int32_t > | HGCalCellUV2Cell (int32_t u, int32_t v, int32_t placementIndex, int32_t type) |
std::pair< double, double > | HGCalCellUV2XY1 (int32_t u, int32_t v, int32_t placementIndex, int32_t type) |
std::pair< double, double > | HGCalCellUV2XY2 (int32_t u, int32_t v, int32_t placementIndex, int32_t type) |
Static Public Member Functions | |
static int32_t | HGCalCellPlacementIndex (int32_t iz, int32_t fwdBack, int32_t orient) |
Static Public Attributes | |
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 | cornerCell = 1 |
static constexpr int32_t | extendedCell = 3 |
static constexpr int32_t | fullCell = 0 |
static constexpr int32_t | truncatedCell = 2 |
static constexpr int32_t | waferOrient0 = 0 |
static constexpr int32_t | waferOrient1 = 1 |
static constexpr int32_t | waferOrient2 = 2 |
static constexpr int32_t | waferOrient3 = 3 |
static constexpr int32_t | waferOrient4 = 4 |
static constexpr int32_t | waferOrient5 = 5 |
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 4 of file HGCalCell.cc.
References cellX_, cellY_, isotrackApplyRegressor::k, ncell_, and sqrt3By2_.
|
static |
Definition at line 230 of file HGCalCell.cc.
References cellPlacementExtra.
Referenced by algorithm(), and DDHGCalWaferFullRotated::execute().
std::pair< int, int > HGCalCell::HGCalCellUV2Cell | ( | int32_t | u, |
int32_t | v, | ||
int32_t | placementIndex, | ||
int32_t | type | ||
) |
Definition at line 94 of file HGCalCell.cc.
References cellPlacementExtra, cellPlacementIndex0, cellPlacementIndex1, cellPlacementIndex10, cellPlacementIndex2, cellPlacementIndex3, cellPlacementIndex4, cellPlacementIndex6, cellPlacementIndex7, cellPlacementIndex8, cellPlacementIndex9, cornerCell, extendedCell, fullCell, ncell_, and truncatedCell.
Referenced by algorithm(), and DDHGCalWaferFullRotated::execute().
std::pair< double, double > HGCalCell::HGCalCellUV2XY1 | ( | int32_t | u, |
int32_t | v, | ||
int32_t | placementIndex, | ||
int32_t | type | ||
) |
Definition at line 13 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::HGCalCellUV2XY2 | ( | int32_t | u, |
int32_t | v, | ||
int32_t | placementIndex, | ||
int32_t | type | ||
) |
Definition at line 70 of file HGCalCell.cc.
References cellPlacementExtra, cellX_, cellY_, ncell_, sqrt3By2_, findQualityFiles::v, x, and y.
|
static |
Definition at line 31 of file HGCalCell.h.
Referenced by HGCalCellPlacementIndex(), HGCalCellUV2Cell(), and HGCalCellUV2XY2().
|
static |
Definition at line 18 of file HGCalCell.h.
Referenced by HGCalCellUV2Cell(), and HGCalCellUV2XY1().
|
static |
Definition at line 19 of file HGCalCell.h.
Referenced by HGCalCellUV2Cell(), and HGCalCellUV2XY1().
|
static |
Definition at line 28 of file HGCalCell.h.
Referenced by HGCalCellUV2Cell(), and HGCalCellUV2XY1().
|
static |
Definition at line 29 of file HGCalCell.h.
Referenced by HGCalCellUV2XY1().
|
static |
Definition at line 20 of file HGCalCell.h.
Referenced by HGCalCellUV2Cell(), and HGCalCellUV2XY1().
|
static |
Definition at line 21 of file HGCalCell.h.
Referenced by HGCalCellUV2Cell(), and HGCalCellUV2XY1().
|
static |
Definition at line 22 of file HGCalCell.h.
Referenced by HGCalCellUV2Cell(), and HGCalCellUV2XY1().
|
static |
Definition at line 23 of file HGCalCell.h.
|
static |
Definition at line 24 of file HGCalCell.h.
Referenced by HGCalCellUV2Cell(), and HGCalCellUV2XY1().
|
static |
Definition at line 25 of file HGCalCell.h.
Referenced by HGCalCellUV2Cell(), and HGCalCellUV2XY1().
|
static |
Definition at line 26 of file HGCalCell.h.
Referenced by HGCalCellUV2Cell(), and HGCalCellUV2XY1().
|
static |
Definition at line 27 of file HGCalCell.h.
Referenced by HGCalCellUV2Cell(), and HGCalCellUV2XY1().
|
static |
Definition at line 32 of file HGCalCell.h.
|
static |
Definition at line 33 of file HGCalCell.h.
|
private |
Definition at line 48 of file HGCalCell.h.
Referenced by HGCalCell(), HGCalCellUV2XY1(), and HGCalCellUV2XY2().
|
private |
Definition at line 48 of file HGCalCell.h.
Referenced by HGCalCell(), HGCalCellUV2XY1(), and HGCalCellUV2XY2().
|
static |
Definition at line 36 of file HGCalCell.h.
Referenced by HGCalCellUV2Cell().
|
static |
Definition at line 38 of file HGCalCell.h.
Referenced by HGCalCellUV2Cell().
|
static |
Definition at line 35 of file HGCalCell.h.
Referenced by HGCalCellUV2Cell().
|
private |
Definition at line 47 of file HGCalCell.h.
Referenced by HGCalCell(), HGCalCellUV2Cell(), HGCalCellUV2XY1(), and HGCalCellUV2XY2().
|
private |
Definition at line 46 of file HGCalCell.h.
Referenced by HGCalCell(), and HGCalCellUV2XY2().
|
static |
Definition at line 37 of file HGCalCell.h.
Referenced by HGCalCellUV2Cell().
|
static |
Definition at line 11 of file HGCalCell.h.
|
static |
Definition at line 12 of file HGCalCell.h.
|
static |
Definition at line 13 of file HGCalCell.h.
|
static |
Definition at line 14 of file HGCalCell.h.
|
static |
Definition at line 15 of file HGCalCell.h.
|
static |
Definition at line 16 of file HGCalCell.h.