ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MicromegasDefs.h File Reference
+ Include dependency graph for MicromegasDefs.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  MicromegasDefs
 

Enumerations

enum  MicromegasDefs::SegmentationType : uint8_t
 tells the direction along which a given cylinder is segmented More...
 
enum  MicromegasDefs::DriftDirection : uint8_t
 tells the drift direction for a given micromegas layer More...
 

Functions

static constexpr unsigned int
kBitShiftSegmentation 
MicromegasDefs::__attribute__ ((unused))=0
 bit shift for hit key
 
TrkrDefs::hitsetkey MicromegasDefs::genHitSetKey (uint8_t layer, SegmentationType segmentation, uint8_t tile)
 Generate a hitsetkey for the micromegas.
 
SegmentationType MicromegasDefs::getSegmentationType (TrkrDefs::hitsetkey)
 Get the segmentation type from hitsetkey.
 
uint8_t MicromegasDefs::getTileId (TrkrDefs::hitsetkey)
 Get the tile id from hitsetkey.
 
TrkrDefs::hitkey MicromegasDefs::genHitKey (uint16_t strip)
 Generate a hitkey from strip index inside tile.
 
uint16_t MicromegasDefs::getStrip (TrkrDefs::hitkey)
 get strip from hit key
 
TrkrDefs::cluskey MicromegasDefs::genClusterKey (TrkrDefs::hitsetkey hskey, uint32_t clusid)
 Generate a cluster key using a hitsetkey and cluster id.
 
SegmentationType MicromegasDefs::getSegmentationType (TrkrDefs::cluskey)
 Get the segmentation type from cluster key.
 
uint8_t MicromegasDefs::getTileId (TrkrDefs::cluskey)
 Get the tile id from cluster key.
 

Detailed Description