4 #ifndef DataFormats_HGCalReco_TICLLayerTile_h 5 #define DataFormats_HGCalReco_TICLLayerTile_h 15 void fill(
double eta,
double phi,
unsigned int layerClusterId) {
46 if (phiBinMax < phiBinMin) {
49 return std::array<int, 4>({{etaBinMin, etaBinMax, phiBinMin, phiBinMax}});
62 const std::vector<unsigned int>&
operator[](
int globalBinId)
const {
return tile_[globalBinId]; }
70 using Tiles = std::array<TICLLayerTile, TileConstants::nLayers>;
74 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_
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