ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
InttDefs.h File Reference

Utility functions for INTT. More...

#include <trackbase/TrkrDefs.h>
#include <cstdint>
+ Include dependency graph for InttDefs.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  InttDefs
 Utility functions for INTT.
 

Functions

static const unsigned int
kBitShiftLadderZId 
InttDefs::__attribute__ ((unused)) = 16
 
uint8_t InttDefs::getLadderZId (TrkrDefs::hitsetkey key)
 Get the ladder id from hitsetkey.
 
uint8_t InttDefs::getLadderZId (TrkrDefs::cluskey key)
 Get the ladder id from cluskey.
 
uint8_t InttDefs::getLadderPhiId (TrkrDefs::hitsetkey key)
 Get the sensor id from hitsetkey.
 
uint8_t InttDefs::getLadderPhiId (TrkrDefs::cluskey key)
 Get the sensor id from cluskey.
 
uint16_t InttDefs::getCol (TrkrDefs::hitkey key)
 Generate a hitkey from a strip id.
 
uint16_t InttDefs::getRow (TrkrDefs::hitkey key)
 Get the row index from hitkey.
 
TrkrDefs::hitkey InttDefs::genHitKey (const uint16_t col, const uint16_t row)
 
TrkrDefs::hitsetkey InttDefs::genHitSetKey (const uint8_t lyr, const uint8_t ladder_z_index, const uint8_t ladder_phi_index)
 Generate a hitsetkey for the intt.
 
TrkrDefs::cluskey InttDefs::genClusKey (const uint8_t lyr, const uint8_t LadderZId, const uint8_t LadderPhiId, const uint32_t clusid)
 Generate a cluster key from indeces.
 
TrkrDefs::cluskey InttDefs::genClusKey (const TrkrDefs::hitsetkey hskey, const uint32_t clusid)
 Generate a cluster key using a hitsetkey and cluster id.
 

Detailed Description

Utility functions for INTT.

Author
D. McGlinchey
Date
June 2018

Definition in file InttDefs.h.