CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HGCalTileIndex.h
Go to the documentation of this file.
1 #ifndef Geometry_HGCalCommonData_HGCalTileIndex_h
2 #define Geometry_HGCalCommonData_HGCalTileIndex_h
3 
4 #include <cmath>
5 #include <cstdint>
6 #include <tuple>
7 
8 namespace HGCalTileIndex {
9  int32_t tileIndex(int32_t layer, int32_t ring, int32_t phi);
10  int32_t tileLayer(int32_t index);
11  int32_t tileRing(int32_t index);
12  int32_t tilePhi(int32_t index);
13  int32_t tileProperty(int32_t, int32_t);
14  int32_t tileType(int32_t);
15  int32_t tileSiPM(int32_t);
16  int32_t tilePack(int32_t ly, int32_t k1, int32_t k2);
17  std::tuple<int32_t, int32_t, int32_t> tileUnpack(int32_t index);
18  bool tileExist(const int32_t* hex, int32_t zside, int32_t phi);
19 }; // namespace HGCalTileIndex
20 
21 #endif
int32_t tileRing(int32_t index)
int32_t tileType(int32_t)
int zside(DetId const &)
constexpr std::array< uint8_t, layerIndexSize > layer
int32_t tileIndex(int32_t layer, int32_t ring, int32_t phi)
int32_t tilePhi(int32_t index)
std::tuple< int32_t, int32_t, int32_t > tileUnpack(int32_t index)
int32_t tilePack(int32_t ly, int32_t k1, int32_t k2)
int32_t tileProperty(int32_t, int32_t)
bool tileExist(const int32_t *hex, int32_t zside, int32_t phi)
int32_t tileSiPM(int32_t)
int32_t tileLayer(int32_t index)