4 #ifndef DataFormats_HGCalReco_TICLLayerTile_h 5 #define DataFormats_HGCalReco_TICLLayerTile_h 12 void fill(
double eta,
double phi,
unsigned int layerClusterId) {
18 static_assert(etaRange >= 0.
f);
43 const std::vector<unsigned int>&
operator[](
int globalBinId)
const {
return tile_[globalBinId]; }
56 void fill(
int layer,
double eta,
double phi,
unsigned int layerClusterId) {
57 tiles_[layer].fill(eta, phi, layerClusterId);
std::array< std::vector< unsigned int >, constants::nEtaBins *constants::nPhiBins > Tile
void fill(double eta, double phi, unsigned int layerClusterId)
constexpr T normalizedPhi(T phi)
int globalBin(int etaBin, int phiBin) const
std::array< TICLLayerTile, ticl::constants::nLayers > Tiles
const std::vector< unsigned int > & operator[](int globalBinId) const
Abs< T >::type abs(const T &t)
int globalBin(double eta, double phi) const
const TICLLayerTile & operator[](int layer) const
void fill(int layer, double eta, double phi, unsigned int layerClusterId)
int etaBin(float eta) const
int phiBin(float phi) const