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

Utility functions for MVTX. More...

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

Go to the source code of this file.

Namespaces

namespace  MvtxDefs
 Utility functions for MVTX.
 

Functions

static const unsigned int
kBitShiftStaveId 
MvtxDefs::__attribute__ ((unused)) = 16
 bit shift for hit key
 
uint8_t MvtxDefs::getStaveId (TrkrDefs::hitsetkey key)
 Get the stave id from hitsetkey.
 
uint8_t MvtxDefs::getStaveId (TrkrDefs::cluskey key)
 Get the stave id from cluskey.
 
uint8_t MvtxDefs::getChipId (TrkrDefs::hitsetkey key)
 Get the chip id from hitsetkey.
 
uint8_t MvtxDefs::getChipId (TrkrDefs::cluskey key)
 Get the chip id from cluskey.
 
uint16_t MvtxDefs::getCol (TrkrDefs::hitkey key)
 Get the column index from hitkey.
 
uint16_t MvtxDefs::getRow (TrkrDefs::hitkey key)
 Get the row index from hitkey.
 
TrkrDefs::hitkey MvtxDefs::genHitKey (const uint16_t col, const uint16_t row)
 Generate a hitkey from a pixels column and row index.
 
TrkrDefs::hitsetkey MvtxDefs::genHitSetKey (const uint8_t lyr, const uint8_t stave, const uint8_t chip)
 Generate a hitsetkey for the mvtx.
 
TrkrDefs::cluskey MvtxDefs::genClusKey (const uint8_t lyr, const uint8_t stave, const uint8_t chip, const uint32_t clusid)
 Generate a cluster key from indeces.
 
TrkrDefs::cluskey MvtxDefs::genClusKey (const TrkrDefs::hitsetkey hskey, const uint32_t clusid)
 Generate a cluster key using a hitsetkey and cluster id.
 

Detailed Description

Utility functions for MVTX.

Author
D. McGlinchey
Date
June 2018

Definition in file MvtxDefs.h.