Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MvtxDefs.h File Reference
#include "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
kBitShiftStaveIdOffset 
MvtxDefs::__attribute__ ((unused)) = 7
 
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.
 
int MvtxDefs::getStrobeId (TrkrDefs::hitsetkey key)
 Get the chip id from hitsetkey.
 
int MvtxDefs::getStrobeId (TrkrDefs::cluskey key)
 Get the strobe id from hitsetkey.
 
uint16_t MvtxDefs::getCol (TrkrDefs::hitkey key)
 Get the strobe id from the cluskey.
 
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, const int strobe)
 Generate a hitsetkey for the mvtx.
 
TrkrDefs::cluskey MvtxDefs::genClusKey (const uint8_t lyr, const uint8_t stave, const uint8_t chip, const int strobe, const uint32_t clusid)
 Generate a cluster key from indeces.
 
TrkrDefs::hitsetkey MvtxDefs::resetStrobeHitSetKey (const TrkrDefs::hitsetkey hitsetkey)
 Zero the strobe bits in the hitsetkey.