#include <HGCalLayerTiles.h>
Public Member Functions | |
void | clear () |
void | fill (const std::vector< float > &x, const std::vector< float > &y, const std::vector< float > &eta, const std::vector< float > &phi, const std::vector< bool > &isSi) |
int | getEtaBin (float eta) const |
int | getGlobalBin (float x, float y) const |
int | getGlobalBinByBin (int xBin, int yBin) const |
int | getGlobalBinByBinEtaPhi (int etaBin, int phiBin) const |
int | getGlobalBinEtaPhi (float eta, float phi) const |
int | getPhiBin (float phi) const |
int | getXBin (float x) const |
int | getYBin (float y) const |
const std::vector< int > & | operator[] (int globalBinId) const |
std::array< int, 4 > | searchBox (float xMin, float xMax, float yMin, float yMax) const |
std::array< int, 4 > | searchBoxEtaPhi (float etaMin, float etaMax, float phiMin, float phiMax) const |
Public Attributes | |
int | mPiPhiBin = getPhiBin(-M_PI) |
int | pPiPhiBin = getPhiBin(M_PI) |
Private Attributes | |
std::array< std::vector< int >, hgcaltilesconstants::nTiles > | tiles_ |
Definition at line 15 of file HGCalLayerTiles.h.
|
inline |
Definition at line 108 of file HGCalLayerTiles.h.
References OrderedSet::t, and tiles_.
Referenced by HGCalCLUEAlgo::makeClusters().
|
inline |
Definition at line 17 of file HGCalLayerTiles.h.
References getGlobalBin(), getGlobalBinEtaPhi(), getPhiBin(), mps_fire::i, M_PI, mPiPhiBin, pPiPhiBin, and tiles_.
Referenced by HGCalCLUEAlgo::makeClusters().
|
inline |
Definition at line 57 of file HGCalLayerTiles.h.
References constexpr, muonRecoAnalyzer_cfi::etaBin, generateTowerEtThresholdLUT::etaRange, hgcaltilesconstants::maxEta, hgcaltilesconstants::minEta, hgcaltilesconstants::nColumnsEta, and alignCSCRings::r.
Referenced by getGlobalBinEtaPhi(), and searchBoxEtaPhi().
|
inline |
Definition at line 78 of file HGCalLayerTiles.h.
References getXBin(), getYBin(), and hgcaltilesconstants::nColumns.
Referenced by fill().
|
inline |
Definition at line 80 of file HGCalLayerTiles.h.
References hgcaltilesconstants::nColumns.
Referenced by HGCalCLUEAlgo::calculateDistanceToHigher(), and HGCalCLUEAlgo::calculateLocalDensity().
|
inline |
Definition at line 87 of file HGCalLayerTiles.h.
References hgcaltilesconstants::nColumns, hgcaltilesconstants::nColumnsEta, and hgcaltilesconstants::nRows.
Referenced by HGCalCLUEAlgo::calculateDistanceToHigher(), and HGCalCLUEAlgo::calculateLocalDensity().
|
inline |
Definition at line 82 of file HGCalLayerTiles.h.
References getEtaBin(), getPhiBin(), hgcaltilesconstants::nColumns, hgcaltilesconstants::nColumnsEta, and hgcaltilesconstants::nRows.
Referenced by fill().
|
inline |
Definition at line 66 of file HGCalLayerTiles.h.
References constexpr, hgcaltilesconstants::maxPhi, hgcaltilesconstants::minPhi, hgcaltilesconstants::nRowsPhi, BeamMonitor_cff::phiBin, and alignCSCRings::r.
Referenced by fill(), getGlobalBinEtaPhi(), and searchBoxEtaPhi().
|
inline |
Definition at line 39 of file HGCalLayerTiles.h.
References constexpr, hgcaltilesconstants::maxX, hgcaltilesconstants::minX, hgcaltilesconstants::nColumns, alignCSCRings::r, photonAnalyzer_cfi::xBin, and beampixel_dqm_sourceclient-live_cfg::xRange.
Referenced by getGlobalBin(), and searchBox().
|
inline |
Definition at line 48 of file HGCalLayerTiles.h.
References constexpr, hgcaltilesconstants::maxY, hgcaltilesconstants::minY, hgcaltilesconstants::nRows, alignCSCRings::r, photonAnalyzer_cfi::yBin, and beampixel_dqm_sourceclient-live_cfg::yRange.
Referenced by getGlobalBin(), and searchBox().
|
inline |
Definition at line 113 of file HGCalLayerTiles.h.
References tiles_.
|
inline |
Definition at line 92 of file HGCalLayerTiles.h.
References getXBin(), and getYBin().
Referenced by HGCalCLUEAlgo::calculateDistanceToHigher(), and HGCalCLUEAlgo::calculateLocalDensity().
|
inline |
Definition at line 100 of file HGCalLayerTiles.h.
References getEtaBin(), and getPhiBin().
Referenced by HGCalCLUEAlgo::calculateDistanceToHigher(), and HGCalCLUEAlgo::calculateLocalDensity().
Definition at line 75 of file HGCalLayerTiles.h.
Referenced by fill().
Definition at line 76 of file HGCalLayerTiles.h.
Referenced by fill().
|
private |
Definition at line 116 of file HGCalLayerTiles.h.
Referenced by clear(), fill(), and operator[]().