Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
InttDefs.h File Reference
#include "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
kBitShiftTimeBucketIdOffset 
InttDefs::__attribute__ ((unused))=0 = 10
 
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.
 
int InttDefs::getTimeBucketId (TrkrDefs::hitsetkey key)
 Generate a hitkey from a strip id.
 
int InttDefs::getTimeBucketId (TrkrDefs::cluskey key)
 Get the time bucket id from the hitsetkey.
 
uint16_t InttDefs::getCol (TrkrDefs::hitkey key)
 Get the time bucket id from the cluskey.
 
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, const int time_bucket)
 Generate a hitsetkey for the intt.
 
TrkrDefs::cluskey InttDefs::genClusKey (const uint8_t lyr, const uint8_t ladder_z_index, const uint8_t ladder_phi_index, const int crossing, const uint32_t clusid)
 Generate a cluster key from indeces.
 
TrkrDefs::hitsetkey InttDefs::resetCrossingHitSetKey (const TrkrDefs::hitsetkey hitsetkey)
 Zero the crossing bits in a copy of the hitsetkey.