ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Utility functions for TPC. More...
Go to the source code of this file.
Namespaces | |
namespace | TpcDefs |
Utility functions for TPC. | |
Functions | |
static const unsigned int kBitShiftSectorId | TpcDefs::__attribute__ ((unused)) = 16 |
bit shift for hit key | |
uint8_t | TpcDefs::getSectorId (TrkrDefs::hitsetkey key) |
Get the sector id from hitsetkey. | |
uint8_t | TpcDefs::getSectorId (TrkrDefs::cluskey key) |
Get the sector id from cluskey. | |
uint8_t | TpcDefs::getSide (TrkrDefs::hitsetkey key) |
Get the side from hitsetkey. | |
uint8_t | TpcDefs::getSide (TrkrDefs::cluskey key) |
Get the side id from cluskey. | |
uint16_t | TpcDefs::getPad (TrkrDefs::hitkey key) |
Get the pad index from hitkey. | |
uint16_t | TpcDefs::getTBin (TrkrDefs::hitkey key) |
Get the time bin from hitkey. | |
TrkrDefs::hitkey | TpcDefs::genHitKey (const uint16_t pad, const uint16_t tbin) |
Generate a hitkey from a pad index and time bin. | |
TrkrDefs::hitsetkey | TpcDefs::genHitSetKey (const uint8_t lyr, const uint8_t sector, const uint8_t side) |
Generate a hitsetkey for the tpc. | |
TrkrDefs::cluskey | TpcDefs::genClusKey (const uint8_t lyr, const uint8_t sector, const uint8_t side, const uint32_t clusid) |
Generate a cluster key from indeces. | |
TrkrDefs::cluskey | TpcDefs::genClusKey (const TrkrDefs::hitsetkey hskey, const uint32_t clusid) |
Generate a cluster key using a hitsetkey and cluster id. | |