4 #ifndef DataFormats_HGCalReco_TICLLayerTile_h 5 #define DataFormats_HGCalReco_TICLLayerTile_h 38 return std::array<int, 4>({{0, 0, 0, 0}});
41 return std::array<int, 4>({{0, 0, 0, 0}});
55 if (phiBinMax < phiBinMin) {
58 return std::array<int, 4>({{etaBinMin, etaBinMax, phiBinMin, phiBinMax}});
71 const std::vector<unsigned int>&
operator[](
int globalBinId)
const {
return tile_[globalBinId]; }
79 using Tiles = std::array<TICLLayerTile, TileConstants::nLayers>;
83 using TilesHFNose = std::array<TICLLayerTileHFNose, TileConstantsHFNose::nLayers>;
std::array< TICLLayerTileHFNose, TileConstantsHFNose::iterations > TracksterTilesHFNose
int etaBin(float eta) const
constexpr T normalizedPhi(T phi)
const auto & operator[](int index) const
std::array< TICLLayerTile, TileConstants::nLayers > Tiles
int globalBin(float eta, float phi) const
std::array< std::vector< unsigned int >, T::nBins > tile_
void swap(Association< C > &lhs, Association< C > &rhs)
std::array< TICLLayerTile, TileConstants::iterations > TracksterTiles
std::array< int, 4 > searchBoxEtaPhi(float etaMin, float etaMax, float phiMin, float phiMax) const
const std::vector< unsigned int > & operator[](int globalBinId) const
Abs< T >::type abs(const T &t)
void fill(int index, float eta, float phi, unsigned int objectId)
int phiBin(float phi) const
typename T::value_type::type constants_type_t
std::array< TICLLayerTileHFNose, TileConstantsHFNose::nLayers > TilesHFNose
void fill(float eta, float phi, unsigned int layerClusterId)
static constexpr int nPhiBins
int globalBin(int etaBin, int phiBin) const