4 #ifndef DataFormats_HGCalReco_TICLLayerTile_h 5 #define DataFormats_HGCalReco_TICLLayerTile_h 15 void fill(
double eta,
double phi,
unsigned int layerClusterId) {
40 return std::array<int, 4>({{0, 0, 0, 0}});
43 return std::array<int, 4>({{0, 0, 0, 0}});
57 if (phiBinMax < phiBinMin) {
60 return std::array<int, 4>({{etaBinMin, etaBinMax, phiBinMin, phiBinMax}});
73 const std::vector<unsigned int>&
operator[](
int globalBinId)
const {
return tile_[globalBinId]; }
81 using Tiles = std::array<TICLLayerTile, TileConstants::nLayers>;
85 using TilesHFNose = std::array<TICLLayerTileHFNose, TileConstantsHFNose::nLayers>;
void fill(double eta, double phi, unsigned int layerClusterId)
std::array< TICLLayerTileHFNose, TileConstantsHFNose::iterations > TracksterTilesHFNose
int etaBin(float eta) const
constexpr T normalizedPhi(T phi)
int globalBin(double eta, double phi) const
const auto & operator[](int index) const
std::array< TICLLayerTile, TileConstants::nLayers > Tiles
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)
int phiBin(float phi) const
typename T::value_type::type constants_type_t
std::array< TICLLayerTileHFNose, TileConstantsHFNose::nLayers > TilesHFNose
void fill(int index, double eta, double phi, unsigned int objectId)
int globalBin(int etaBin, int phiBin) const