#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 > | 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] |
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 9 of file HGCalCellUV.cc.
References cms::cuda::assert(), HGCalCell::cellPlacementExtra, HGCalCell::cellPlacementTotal, cellPosCoarse_, cellPosFine_, HGCalCell::cellUV2XY1(), cellX_, cellXTotal_, cellY_, cellYTotal_, 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 | ||
) | const |
Definition at line 46 of file HGCalCellUV.cc.
References HGCalCell::cellPlacementExtra, cellY_, cellYTotal_, cos60_, debug, gpuVertexFinder::iv, ncell_, makeMuonMisalignmentScenario::rot, sin60_, findQualityFiles::v, w(), x, and y.
Referenced by cellUVFromXY1().
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_, 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_, 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 | ||
) | const |
Definition at line 159 of file HGCalCellUV.cc.
References funct::abs(), reco::ceil(), HGCalCell::cellPlacementExtra, cellX_, cellXTotal_, cellY_, cellYTotal_, cos60_, cuy::cv, debug, HLT_2022v15_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 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 47 of file HGCalCellUV.h.
Referenced by cellUVFromXY4(), and HGCalCellUV().
|
private |
Definition at line 47 of file HGCalCellUV.h.
Referenced by cellUVFromXY4(), and HGCalCellUV().
|
private |
Definition at line 45 of file HGCalCellUV.h.
Referenced by cellUVFromXY1(), cellUVFromXY3(), cellUVFromXY4(), and HGCalCellUV().
|
private |
Definition at line 45 of file HGCalCellUV.h.
Referenced by cellUVFromXY1(), cellUVFromXY3(), cellUVFromXY4(), and HGCalCellUV().
|
private |
Definition at line 45 of file HGCalCellUV.h.
Referenced by cellUVFromXY1(), cellUVFromXY2(), cellUVFromXY3(), cellUVFromXY4(), and HGCalCellUV().
|
private |
Definition at line 45 of file HGCalCellUV.h.
Referenced by cellUVFromXY1(), cellUVFromXY2(), cellUVFromXY3(), and HGCalCellUV().
|
staticprivate |
Definition at line 42 of file HGCalCellUV.h.
Referenced by cellUVFromXY1(), cellUVFromXY2(), and cellUVFromXY3().
|
private |
Definition at line 44 of file HGCalCellUV.h.
Referenced by cellUVFromXY1(), cellUVFromXY2(), cellUVFromXY3(), cellUVFromXY4(), and HGCalCellUV().
|
staticprivate |
Definition at line 41 of file HGCalCellUV.h.
Referenced by cellUVFromXY1(), cellUVFromXY2(), and cellUVFromXY3().
|
staticprivate |
Definition at line 40 of file HGCalCellUV.h.
Referenced by cellUVFromXY1(), cellUVFromXY2(), cellUVFromXY3(), cellUVFromXY4(), and HGCalCellUV().
|
private |
Definition at line 45 of file HGCalCellUV.h.
Referenced by HGCalCellUV().