#include <HGCalLayerTiles.h>
Public Types | |
typedef T | type |
Public Member Functions | |
void | clear () |
float | distance2 (float dim1Cell1, float dim2Cell1, float dim1Cell2, float dim2Cell2) const |
void | fill (const std::vector< float > &dim1, const std::vector< float > &dim2) |
fill the tile More... | |
int | getDim1Bin (float dim) const |
compute bin for dim1 (x or eta) More... | |
int | getDim2Bin (float dim2) const |
compute bin for dim2 (y or phi) More... | |
int | getGlobalBin (float dim1, float dim2) const |
int | getGlobalBinByBin (int dim1Bin, int dim2Bin) const |
const std::vector< int > & | operator[] (int globalBinId) const |
std::array< int, 4 > | searchBox (float dim1Min, float dim1Max, float dim2Min, float dim2Max) const |
Public Attributes | |
int | mPiPhiBin = getDim2Bin(-M_PI) |
int | pPiPhiBin = getDim2Bin(M_PI) |
Private Attributes | |
std::array< std::vector< int >, T::nTiles > | tiles_ |
Definition at line 19 of file HGCalLayerTiles.h.
typedef T HGCalLayerTilesT< T, WRAPPER >::type |
Definition at line 21 of file HGCalLayerTiles.h.
|
inline |
Definition at line 111 of file HGCalLayerTiles.h.
References submitPVValidationJobs::t, and HGCalLayerTilesT< T, WRAPPER >::tiles_.
|
inline |
|
inline |
fill the tile
[in] | dim1 | represents x or eta |
[in] | dim2 | represents y or phils |
Definition at line 29 of file HGCalLayerTiles.h.
References HGCalLayerTilesT< T, WRAPPER >::getGlobalBin(), mps_fire::i, heavyIonCSV_trainingSettings::idx, and HGCalLayerTilesT< T, WRAPPER >::tiles_.
|
inline |
compute bin for dim1 (x or eta)
[in] | dim | for bining |
Definition at line 42 of file HGCalLayerTiles.h.
References alignCSCRings::r.
Referenced by HGCalLayerTilesT< T, WRAPPER >::getGlobalBin(), and HGCalLayerTilesT< T, WRAPPER >::searchBox().
|
inline |
compute bin for dim2 (y or phi)
[in] | dim | for bining |
Definition at line 57 of file HGCalLayerTiles.h.
References M_PI, normalizedPhi(), BeamMonitor_cff::phiBin, and alignCSCRings::r.
Referenced by HGCalLayerTilesT< T, WRAPPER >::getGlobalBin(), and HGCalLayerTilesT< T, WRAPPER >::searchBox().
|
inline |
Definition at line 84 of file HGCalLayerTiles.h.
References HGCalLayerTilesT< T, WRAPPER >::getDim1Bin(), and HGCalLayerTilesT< T, WRAPPER >::getDim2Bin().
Referenced by HGCalLayerTilesT< T, WRAPPER >::fill().
|
inline |
Definition at line 86 of file HGCalLayerTiles.h.
|
inline |
Definition at line 116 of file HGCalLayerTiles.h.
References HGCalLayerTilesT< T, WRAPPER >::tiles_.
|
inline |
Definition at line 88 of file HGCalLayerTiles.h.
References HGCalLayerTilesT< T, WRAPPER >::getDim1Bin(), and HGCalLayerTilesT< T, WRAPPER >::getDim2Bin().
int HGCalLayerTilesT< T, WRAPPER >::mPiPhiBin = getDim2Bin(-M_PI) |
Definition at line 73 of file HGCalLayerTiles.h.
int HGCalLayerTilesT< T, WRAPPER >::pPiPhiBin = getDim2Bin(M_PI) |
Definition at line 74 of file HGCalLayerTiles.h.
|
private |
Definition at line 119 of file HGCalLayerTiles.h.
Referenced by HGCalLayerTilesT< T, WRAPPER >::clear(), HGCalLayerTilesT< T, WRAPPER >::fill(), and HGCalLayerTilesT< T, WRAPPER >::operator[]().