#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) |
std::pair< int32_t, int32_t > | cellUVFromXY2 (double xloc, double yloc, int32_t placement, int32_t type, bool extend, bool debug) |
std::pair< int32_t, int32_t > | cellUVFromXY3 (double xloc, double yloc, int32_t placement, int32_t type, bool extend, bool debug) |
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] |
int32_t | ncell_ [2] |
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 9 of file HGCalCellUV.h.
HGCalCellUV::HGCalCellUV | ( | double | waferSize, |
double | separation, | ||
int32_t | nFine, | ||
int32_t | nCoarse | ||
) |
Definition at line 8 of file HGCalCellUV.cc.
References cms::cuda::assert(), HGCalCell::cellPlacementExtra, HGCalCell::cellPlacementTotal, cellPosCoarse_, cellPosFine_, HGCalCell::cellUV2XY1(), cellX_, cellXTotal_, cellY_, gpuVertexFinder::iv, dqmdumpme::k, ncell_, sqrt3_, findQualityFiles::v, and waferSize.
std::pair< int32_t, int32_t > HGCalCellUV::cellUVFromXY1 | ( | double | xloc, |
double | yloc, | ||
int32_t | placement, | ||
int32_t | type, | ||
bool | extend, | ||
bool | debug | ||
) |
Definition at line 45 of file HGCalCellUV.cc.
References cellY_, cos60_, debug, gpuVertexFinder::iv, ncell_, makeMuonMisalignmentScenario::rot, sin60_, findQualityFiles::v, w(), x, and y.
std::pair< int32_t, int32_t > HGCalCellUV::cellUVFromXY2 | ( | double | xloc, |
double | yloc, | ||
int32_t | placement, | ||
int32_t | type, | ||
bool | extend, | ||
bool | debug | ||
) |
Definition at line 85 of file HGCalCellUV.cc.
References alignmentValidation::c1, reco::ceil(), cellY_, cos60_, debug, ncell_, alignCSCRings::r, makeMuonMisalignmentScenario::rot, sin60_, sqrt3_, testProducerWithPsetDescEmpty_cfi::u1, MetAnalyzer::u2, testProducerWithPsetDescEmpty_cfi::u3, interactiveExample::ui, findQualityFiles::v, x, and y.
std::pair< int32_t, int32_t > HGCalCellUV::cellUVFromXY3 | ( | double | xloc, |
double | yloc, | ||
int32_t | placement, | ||
int32_t | type, | ||
bool | extend, | ||
bool | debug | ||
) |
Definition at line 152 of file HGCalCellUV.cc.
References funct::abs(), reco::ceil(), cellX_, cellY_, cos60_, cuy::cv, debug, HLT_2022v12_cff::distance, mps_fire::i, gpuVertexFinder::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 220 of file HGCalCellUV.cc.
References cellPosCoarse_, cellPosFine_, cellX_, cellXTotal_, cellY_, debug, and ncell_.
|
private |
Definition at line 230 of file HGCalCellUV.cc.
References funct::abs(), debug, and sqrt3_.
|
private |
Definition at line 44 of file HGCalCellUV.h.
Referenced by cellUVFromXY4(), and HGCalCellUV().
|
private |
Definition at line 44 of file HGCalCellUV.h.
Referenced by cellUVFromXY4(), and HGCalCellUV().
|
private |
Definition at line 42 of file HGCalCellUV.h.
Referenced by cellUVFromXY3(), cellUVFromXY4(), and HGCalCellUV().
|
private |
Definition at line 42 of file HGCalCellUV.h.
Referenced by cellUVFromXY4(), and HGCalCellUV().
|
private |
Definition at line 42 of file HGCalCellUV.h.
Referenced by cellUVFromXY1(), cellUVFromXY2(), cellUVFromXY3(), cellUVFromXY4(), and HGCalCellUV().
|
private |
Definition at line 42 of file HGCalCellUV.h.
|
staticprivate |
Definition at line 39 of file HGCalCellUV.h.
Referenced by cellUVFromXY1(), cellUVFromXY2(), and cellUVFromXY3().
|
private |
Definition at line 41 of file HGCalCellUV.h.
Referenced by cellUVFromXY1(), cellUVFromXY2(), cellUVFromXY3(), cellUVFromXY4(), and HGCalCellUV().
|
staticprivate |
Definition at line 38 of file HGCalCellUV.h.
Referenced by cellUVFromXY1(), cellUVFromXY2(), and cellUVFromXY3().
|
staticprivate |
Definition at line 37 of file HGCalCellUV.h.
Referenced by cellUVFromXY2(), cellUVFromXY3(), cellUVFromXY4(), and HGCalCellUV().
|
private |
Definition at line 42 of file HGCalCellUV.h.
Referenced by HGCalCellUV().