#include <HGCalCellUV.h>
Public Member Functions | |
std::pair< int32_t, int32_t > | cellUVFromXY1 (double xloc, double yloc, int32_t placement, int32_t type, bool extend, bool debug) const |
std::pair< int32_t, int32_t > | cellUVFromXY1 (double xloc, double yloc, int32_t placement, int32_t type, int32_t partial, bool extend, bool debug) const |
std::pair< int32_t, int32_t > | cellUVFromXY2 (double xloc, double yloc, int32_t placement, int32_t type, bool extend, bool debug) const |
std::pair< int32_t, int32_t > | cellUVFromXY2 (double xloc, double yloc, int32_t placement, int32_t type, int32_t partial, bool extend, bool debug) const |
std::pair< int32_t, int32_t > | cellUVFromXY3 (double xloc, double yloc, int32_t placement, int32_t type, bool extend, bool debug) const |
std::pair< int32_t, int32_t > | cellUVFromXY4 (double xloc, double yloc, int32_t placement, int32_t type, bool extend, bool debug) |
HGCalCellUV (double waferSize, double separation, int32_t nFine, int32_t nCoarse) | |
Private Member Functions | |
std::pair< int32_t, int32_t > | cellUVFromXY4 (double xloc, double yloc, int ncell, double cellX, double cellY, double cellXTotal, double cellYTotal, std::map< std::pair< int, int >, std::pair< double, double > > &cellPos, bool extend, bool debug) |
Private Attributes | |
std::map< std::pair< int32_t, int32_t >, std::pair< double, double > > | cellPosCoarse_ [HGCalCell::cellPlacementTotal] |
std::map< std::pair< int32_t, int32_t >, std::pair< double, double > > | cellPosFine_ [HGCalCell::cellPlacementTotal] |
double | cellX_ [2] |
double | cellXTotal_ [2] |
double | cellY_ [2] |
double | cellYTotal_ [2] |
std::unique_ptr< HGCalCell > | hgcalcell_ |
int32_t | ncell_ [2] |
const double | waferSize_ |
Static Private Attributes | |
static constexpr double | cos60_ = 0.5 |
static constexpr double | sin60_ = 0.5 * sqrt3_ |
static constexpr double | sqrt3_ = 1.732050807568877 |
Definition at line 11 of file HGCalCellUV.h.
HGCalCellUV::HGCalCellUV | ( | double | waferSize, |
double | separation, | ||
int32_t | nFine, | ||
int32_t | nCoarse | ||
) |
Definition at line 10 of file HGCalCellUV.cc.
References cms::cuda::assert(), HGCalCell::cellPlacementExtra, HGCalCell::cellPlacementTotal, cellPosCoarse_, cellPosFine_, cellX_, cellXTotal_, cellY_, cellYTotal_, hgcalcell_, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::iv, dqmdumpme::k, ncell_, sqrt3_, and findQualityFiles::v.
std::pair< int32_t, int32_t > HGCalCellUV::cellUVFromXY1 | ( | double | xloc, |
double | yloc, | ||
int32_t | placement, | ||
int32_t | type, | ||
bool | extend, | ||
bool | debug | ||
) | const |
Definition at line 46 of file HGCalCellUV.cc.
References HGCalCell::cellPlacementExtra, cellY_, cellYTotal_, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), cos60_, debug, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::iv, ncell_, makeMuonMisalignmentScenario::rot, sin60_, findQualityFiles::v, w(), x, and y.
Referenced by HGCalMouseBiteTester::analyze(), cellUVFromXY1(), and cellUVFromXY2().
std::pair< int32_t, int32_t > HGCalCellUV::cellUVFromXY1 | ( | double | xloc, |
double | yloc, | ||
int32_t | placement, | ||
int32_t | type, | ||
int32_t | partial, | ||
bool | extend, | ||
bool | debug | ||
) | const |
Definition at line 281 of file HGCalCellUV.cc.
References HGCalCell::cellPlacementExtra, cellUVFromXY1(), cellX_, cellXTotal_, cellY_, cellYTotal_, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), cos60_, debug, HGCalTypes::edgeWaferHDBottom, HGCalTypes::edgeWaferLDTop, SiStripPI::max, ncell_, makeMuonMisalignmentScenario::rot, sin60_, sqrt3_, findQualityFiles::v, HGCalTypes::WaferHDBottom, and HGCalTypes::WaferLDTop.
std::pair< int32_t, int32_t > HGCalCellUV::cellUVFromXY2 | ( | double | xloc, |
double | yloc, | ||
int32_t | placement, | ||
int32_t | type, | ||
bool | extend, | ||
bool | debug | ||
) | const |
Definition at line 89 of file HGCalCellUV.cc.
References alignmentValidation::c1, reco::ceil(), HGCalCell::cellPlacementExtra, cellY_, cellYTotal_, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), cos60_, debug, ncell_, alignCSCRings::r, makeMuonMisalignmentScenario::rot, sin60_, sqrt3_, testProducerWithPsetDescEmpty_cfi::u1, MetAnalyzer::u2, testProducerWithPsetDescEmpty_cfi::u3, interactiveExample::ui, findQualityFiles::v, x, and y.
Referenced by HGCalMouseBiteTester::analyze().
std::pair< int32_t, int32_t > HGCalCellUV::cellUVFromXY2 | ( | double | xloc, |
double | yloc, | ||
int32_t | placement, | ||
int32_t | type, | ||
int32_t | partial, | ||
bool | extend, | ||
bool | debug | ||
) | const |
Definition at line 341 of file HGCalCellUV.cc.
References HGCalCell::cellPlacementExtra, cellUVFromXY1(), debug, HGCalTypes::edgeWaferHDBottom, HGCalTypes::edgeWaferLDTop, hgcalcell_, HGCalWaferMask::maskCut(), SiStripPI::max, ncell_, findQualityFiles::v, HGCalTypes::WaferFull, HGCalTypes::WaferHDBottom, HGCalTypes::WaferHDTop, HGCalTypes::WaferLDThree, HGCalTypes::WaferLDTop, and waferSize_.
std::pair< int32_t, int32_t > HGCalCellUV::cellUVFromXY3 | ( | double | xloc, |
double | yloc, | ||
int32_t | placement, | ||
int32_t | type, | ||
bool | extend, | ||
bool | debug | ||
) | const |
Definition at line 159 of file HGCalCellUV.cc.
References funct::abs(), reco::ceil(), HGCalCell::cellPlacementExtra, cellX_, cellXTotal_, cellY_, cellYTotal_, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), cos60_, cuy::cv, debug, HLT_2024v12_cff::distance, mps_fire::i, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::iv, ncell_, makeMuonMisalignmentScenario::rot, sin60_, sqrt3_, findQualityFiles::v, x, and y.
std::pair< int, int > HGCalCellUV::cellUVFromXY4 | ( | double | xloc, |
double | yloc, | ||
int32_t | placement, | ||
int32_t | type, | ||
bool | extend, | ||
bool | debug | ||
) |
Definition at line 231 of file HGCalCellUV.cc.
References cellPosCoarse_, cellPosFine_, cellX_, cellXTotal_, cellY_, debug, and ncell_.
|
private |
Definition at line 241 of file HGCalCellUV.cc.
References funct::abs(), debug, and sqrt3_.
|
private |
Definition at line 59 of file HGCalCellUV.h.
Referenced by cellUVFromXY4(), and HGCalCellUV().
|
private |
Definition at line 59 of file HGCalCellUV.h.
Referenced by cellUVFromXY4(), and HGCalCellUV().
|
private |
Definition at line 57 of file HGCalCellUV.h.
Referenced by cellUVFromXY1(), cellUVFromXY3(), cellUVFromXY4(), and HGCalCellUV().
|
private |
Definition at line 57 of file HGCalCellUV.h.
Referenced by cellUVFromXY1(), cellUVFromXY3(), cellUVFromXY4(), and HGCalCellUV().
|
private |
Definition at line 57 of file HGCalCellUV.h.
Referenced by cellUVFromXY1(), cellUVFromXY2(), cellUVFromXY3(), cellUVFromXY4(), and HGCalCellUV().
|
private |
Definition at line 57 of file HGCalCellUV.h.
Referenced by cellUVFromXY1(), cellUVFromXY2(), cellUVFromXY3(), and HGCalCellUV().
|
staticprivate |
Definition at line 53 of file HGCalCellUV.h.
Referenced by cellUVFromXY1(), cellUVFromXY2(), and cellUVFromXY3().
|
private |
Definition at line 58 of file HGCalCellUV.h.
Referenced by cellUVFromXY2(), and HGCalCellUV().
|
private |
Definition at line 56 of file HGCalCellUV.h.
Referenced by cellUVFromXY1(), cellUVFromXY2(), cellUVFromXY3(), cellUVFromXY4(), and HGCalCellUV().
|
staticprivate |
Definition at line 52 of file HGCalCellUV.h.
Referenced by cellUVFromXY1(), cellUVFromXY2(), and cellUVFromXY3().
|
staticprivate |
Definition at line 51 of file HGCalCellUV.h.
Referenced by cellUVFromXY1(), cellUVFromXY2(), cellUVFromXY3(), cellUVFromXY4(), and HGCalCellUV().
|
private |
Definition at line 55 of file HGCalCellUV.h.
Referenced by cellUVFromXY2().