1 #ifndef SimG4CMS_HGCNumberingScheme_h
2 #define SimG4CMS_HGCNumberingScheme_h
11 #include "G4ThreeVector.hh"
int assignCell(float x, float y, int layer)
maps a hit position to a sequential cell in a trapezoid surface defined by h,b,t
std::pair< float, float > getLocalCoords(int cell, int layer)
inverts the cell number in a trapezoid surface to local coordinates
uint32_t getUnitID(ForwardSubdetector subdet, int layer, int module, int cell, int iz, const G4ThreeVector &pos)
assigns the det id to a hit
constexpr std::array< uint8_t, layerIndexSize > layer
HGCNumberingScheme()=delete
const HGCalDDDConstants & hgcons_