#include <HGCalCellOffset.h>
Public Member Functions | |
double | cellAreaUV (int32_t u, int32_t v, int32_t placementIndex, int32_t type, bool reco) |
double | cellAreaUV (int32_t u, int32_t v, int32_t placementIndex, int32_t type, int32_t partialType, bool reco) |
std::pair< double, double > | cellOffsetUV2XY1 (int32_t u, int32_t v, int32_t placementIndex, int32_t type) |
std::pair< double, double > | cellOffsetUV2XY1 (int32_t u, int32_t v, int32_t placementIndex, int32_t type, int32_t partialType) |
HGCalCellOffset (double waferSize, int32_t nFine, int32_t nCoarse, double guardRingOffset_, double mouseBiteCut_, double sizeOffset_) | |
Private Attributes | |
double | cellArea [2][6] |
double | cellAreaPartial [2][11] |
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 >, 11 >, 2 > | offsetPartialX |
std::array< std::array< std::array< double, 6 >, 11 >, 2 > | offsetPartialY |
std::array< std::array< std::array< double, 6 >, 6 >, 2 > | offsetX |
std::array< std::array< std::array< double, 6 >, 6 >, 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_, | ||
double | sizeOffset_ | ||
) |
Definition at line 9 of file HGCalCellOffset.cc.
References cellArea, cellAreaPartial, cellX_, cellY_, HGCalCell::cornerCell, HGCalCell::extendedCell, HGCalCell::extendedMBCell, HGCalCell::fullCell, h, data-class-funcs::H, HGCalCell::halfCell, HGCalCell::halfExtCell, HGCalCell::halfTrunCell, HGCalCell::HDPartial0920Cell, HGCalCell::HDPartial1021Cell, hgcalcell_, mps_fire::i, dqmiolumiharvest::j, isotrackApplyRegressor::k, HGCalCell::LDPartial0007Cell, HGCalCell::LDPartial0209Cell, HGCalCell::LDPartial0714Cell, HGCalCell::LDPartial0815Cell, HGCalCell::LDPartial1415Cell, HGCalCell::LDPartial1515Cell, ncell_, offsetPartialX, offsetPartialY, offsetX, offsetY, HGCalCell::partiaclWaferCellsOffset, funct::pow(), sqrt3_, sqrt3By2_, HGCalCell::truncatedCell, HGCalCell::truncatedMBCell, 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 861 of file HGCalCellOffset.cc.
References custom_jme_cff::area, cellArea, hgcalcell_, HGCalParameters::k_ScaleToDDD2, ncell_, and findQualityFiles::v.
Referenced by cellAreaUV().
double HGCalCellOffset::cellAreaUV | ( | int32_t | u, |
int32_t | v, | ||
int32_t | placementIndex, | ||
int32_t | type, | ||
int32_t | partialType, | ||
bool | reco | ||
) |
Definition at line 871 of file HGCalCellOffset.cc.
References custom_jme_cff::area, cellArea, cellAreaPartial, cellAreaUV(), HGCalCell::extendedCell, hgcalcell_, HGCalParameters::k_ScaleToDDD2, ncell_, HGCalCell::partiaclCellsPosOffset, HGCalCell::partiaclWaferCellsOffset, HGCalCell::truncatedCell, and findQualityFiles::v.
std::pair< double, double > HGCalCellOffset::cellOffsetUV2XY1 | ( | int32_t | u, |
int32_t | v, | ||
int32_t | placementIndex, | ||
int32_t | type | ||
) |
Definition at line 778 of file HGCalCellOffset.cc.
References HGCalCell::bottomCorner, HGCalCell::bottomLeftEdge, HGCalCell::cellPlacementExtra, HGCalCell::cornerCell, HGCalCell::extendedCell, HGCalCell::extendedMBCell, hgcalcell_, ncell_, offsetX, offsetY, HGCalCell::truncatedCell, HGCalCell::truncatedMBCell, and findQualityFiles::v.
Referenced by cellOffsetUV2XY1().
std::pair< double, double > HGCalCellOffset::cellOffsetUV2XY1 | ( | int32_t | u, |
int32_t | v, | ||
int32_t | placementIndex, | ||
int32_t | type, | ||
int32_t | partialType | ||
) |
Definition at line 806 of file HGCalCellOffset.cc.
References HGCalCell::bottomCell, HGCalCell::bottomLeftEdge, cellOffsetUV2XY1(), HGCalCell::cellPlacementExtra, gather_cfg::cout, HGCalCell::extendedCell, HGCalCell::halfCell, HGCalCell::halfExtCell, HGCalCell::halfTrunCell, HGCalCell::HDPartial0920Cell, HGCalCell::HDPartial1021Cell, hgcalcell_, HGCalCell::LDPartial0007Cell, HGCalCell::LDPartial0209Cell, HGCalCell::LDPartial0714Cell, HGCalCell::LDPartial0815Cell, HGCalCell::LDPartial1415Cell, HGCalCell::LDPartial1515Cell, HGCalCell::leftCell, ncell_, HLT_IsoTrack_cff::offset, offsetPartialX, offsetPartialY, offsetX, offsetY, HGCalCell::partiaclCellsPosOffset, HGCalCell::partiaclWaferCellsOffset, HGCalCell::rightCell, HGCalCell::topCell, HGCalCell::topRightEdge, HGCalCell::truncatedCell, and findQualityFiles::v.
|
private |
Definition at line 31 of file HGCalCellOffset.h.
Referenced by cellAreaUV(), and HGCalCellOffset().
|
private |
Definition at line 31 of file HGCalCellOffset.h.
Referenced by cellAreaUV(), and HGCalCellOffset().
|
private |
Definition at line 31 of file HGCalCellOffset.h.
Referenced by HGCalCellOffset().
|
private |
Definition at line 31 of file HGCalCellOffset.h.
Referenced by HGCalCellOffset().
|
private |
Definition at line 31 of file HGCalCellOffset.h.
|
private |
Definition at line 32 of file HGCalCellOffset.h.
Referenced by cellAreaUV(), cellOffsetUV2XY1(), and HGCalCellOffset().
|
private |
Definition at line 30 of file HGCalCellOffset.h.
Referenced by cellAreaUV(), cellOffsetUV2XY1(), and HGCalCellOffset().
|
private |
Definition at line 29 of file HGCalCellOffset.h.
Referenced by cellOffsetUV2XY1(), and HGCalCellOffset().
|
private |
Definition at line 29 of file HGCalCellOffset.h.
Referenced by cellOffsetUV2XY1(), and HGCalCellOffset().
|
private |
Definition at line 28 of file HGCalCellOffset.h.
Referenced by cellOffsetUV2XY1(), and HGCalCellOffset().
|
private |
Definition at line 28 of file HGCalCellOffset.h.
Referenced by cellOffsetUV2XY1(), and HGCalCellOffset().
|
private |
Definition at line 26 of file HGCalCellOffset.h.
Referenced by HGCalCellOffset().
|
private |
Definition at line 27 of file HGCalCellOffset.h.
Referenced by HGCalCellOffset().