#include <HGCalCellOffset.h>
Public Member Functions | |
double | cellAreaUV (int32_t u, int32_t v, int32_t placementIndex, int32_t type, bool reco) |
std::pair< double, double > | cellOffsetUV2XY1 (int32_t u, int32_t v, int32_t placementIndex, int32_t type) |
HGCalCellOffset (double waferSize, int32_t nFine, int32_t nCoarse, double guardRingOffset_, double mouseBiteCut_) | |
Private Attributes | |
double | cellArea [2][4] |
double | cellX_ [2] |
double | cellY_ [2] |
double | fullArea [2] |
std::unique_ptr< HGCalCell > | hgcalcell_ |
int32_t | ncell_ [2] |
std::array< std::array< std::array< double, 6 >, 4 >, 2 > | offsetX |
std::array< std::array< std::array< double, 6 >, 4 >, 2 > | offsetY |
const double | sqrt3_ = std::sqrt(3.0) |
const double | sqrt3By2_ = (0.5 * sqrt3_) |
Definition at line 10 of file HGCalCellOffset.h.
HGCalCellOffset::HGCalCellOffset | ( | double | waferSize, |
int32_t | nFine, | ||
int32_t | nCoarse, | ||
double | guardRingOffset_, | ||
double | mouseBiteCut_ | ||
) |
Definition at line 9 of file HGCalCellOffset.cc.
References cellArea, cellX_, cellY_, HGCalCell::cornerCell, HGCalCell::extendedCell, HGCalCell::fullCell, hgcalcell_, mps_fire::i, dqmiolumiharvest::j, dqmdumpme::k, ncell_, offsetX, offsetY, funct::pow(), sqrt3_, sqrt3By2_, HGCalCell::truncatedCell, testProducerWithPsetDescEmpty_cfi::x1, testProducerWithPsetDescEmpty_cfi::x2, testProducerWithPsetDescEmpty_cfi::y1, and testProducerWithPsetDescEmpty_cfi::y2.
double HGCalCellOffset::cellAreaUV | ( | int32_t | u, |
int32_t | v, | ||
int32_t | placementIndex, | ||
int32_t | type, | ||
bool | reco | ||
) |
Definition at line 151 of file HGCalCellOffset.cc.
References custom_jme_cff::area, cellArea, hgcalcell_, HGCalParameters::k_ScaleToDDD2, ncell_, and findQualityFiles::v.
std::pair< double, double > HGCalCellOffset::cellOffsetUV2XY1 | ( | int32_t | u, |
int32_t | v, | ||
int32_t | placementIndex, | ||
int32_t | type | ||
) |
Definition at line 120 of file HGCalCellOffset.cc.
References HGCalCell::bottomCorner, HGCalCell::bottomLeftEdge, HGCalCell::cellPlacementExtra, HGCalCell::cornerCell, HGCalCell::extendedCell, hgcalcell_, ncell_, offsetX, offsetY, HGCalCell::truncatedCell, and findQualityFiles::v.
|
private |
Definition at line 22 of file HGCalCellOffset.h.
Referenced by cellAreaUV(), and HGCalCellOffset().
|
private |
Definition at line 22 of file HGCalCellOffset.h.
Referenced by HGCalCellOffset().
|
private |
Definition at line 22 of file HGCalCellOffset.h.
Referenced by HGCalCellOffset().
|
private |
Definition at line 22 of file HGCalCellOffset.h.
|
private |
Definition at line 23 of file HGCalCellOffset.h.
Referenced by cellAreaUV(), cellOffsetUV2XY1(), and HGCalCellOffset().
|
private |
Definition at line 21 of file HGCalCellOffset.h.
Referenced by cellAreaUV(), cellOffsetUV2XY1(), and HGCalCellOffset().
|
private |
Definition at line 20 of file HGCalCellOffset.h.
Referenced by cellOffsetUV2XY1(), and HGCalCellOffset().
|
private |
Definition at line 20 of file HGCalCellOffset.h.
Referenced by cellOffsetUV2XY1(), and HGCalCellOffset().
|
private |
Definition at line 18 of file HGCalCellOffset.h.
Referenced by HGCalCellOffset().
|
private |
Definition at line 19 of file HGCalCellOffset.h.
Referenced by HGCalCellOffset().