CMS 3D CMS Logo

HFNoseTilesConstants.h
Go to the documentation of this file.
1 
2 #ifndef RecoLocalCalo_HGCalRecProducer_HFNoseTilesConstants_h
3 #define RecoLocalCalo_HGCalRecProducer_HFNoseTilesConstants_h
4 
6 
7 #include <cstdint>
8 #include <array>
10  static constexpr float tileSize = 5.f;
11  static constexpr float minDim1 = -110.f;
12  static constexpr float maxDim1 = 110.f;
13  static constexpr float minDim2 = -110.f;
14  static constexpr float maxDim2 = 110.f;
15  static constexpr int nColumns = reco::ceil((maxDim1 - minDim1) / tileSize);
16  static constexpr int nRows = reco::ceil((maxDim2 - minDim2) / tileSize);
17  static constexpr int nTiles = nColumns * nRows;
18 };
19 
20 #endif
constexpr int32_t ceil(float num)
static constexpr int nTiles
static constexpr float maxDim1
static constexpr float maxDim2
static constexpr float tileSize
static constexpr int nColumns
static constexpr float minDim1
static constexpr float minDim2
static constexpr int nRows