![]() |
EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
Utility functions for MVTX. More...
Functions | |
| static const unsigned int kBitShiftStaveId | __attribute__ ((unused)) = 16 |
| bit shift for hit key | |
| uint8_t | getStaveId (TrkrDefs::hitsetkey key) |
| Get the stave id from hitsetkey. | |
| uint8_t | getStaveId (TrkrDefs::cluskey key) |
| Get the stave id from cluskey. | |
| uint8_t | getChipId (TrkrDefs::hitsetkey key) |
| Get the chip id from hitsetkey. | |
| uint8_t | getChipId (TrkrDefs::cluskey key) |
| Get the chip id from cluskey. | |
| uint16_t | getCol (TrkrDefs::hitkey key) |
| Get the column index from hitkey. | |
| uint16_t | getRow (TrkrDefs::hitkey key) |
| Get the row index from hitkey. | |
| TrkrDefs::hitkey | genHitKey (const uint16_t col, const uint16_t row) |
| Generate a hitkey from a pixels column and row index. | |
| TrkrDefs::hitsetkey | genHitSetKey (const uint8_t lyr, const uint8_t stave, const uint8_t chip) |
| Generate a hitsetkey for the mvtx. | |
| TrkrDefs::cluskey | 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 | genClusKey (const TrkrDefs::hitsetkey hskey, const uint32_t clusid) |
| Generate a cluster key using a hitsetkey and cluster id. | |
Utility functions for MVTX.
Contains the functions for manipulating the various keys used by the mvtx for hits, hit sets, and clusters
|
static |
bit shift for hit key
hitsetkey layout: Micromegas specific lower 16 bits 24 - 32 tracker id 16 - 24 layer 8 - 16 segmentation type 0 - 8 tile id
Definition at line 285 of file dfe_io_root.hpp.
View newest version in sPHENIX GitHub at line 285 of file dfe_io_root.hpp
| 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.
| [in] | lyr | Layer index |
| [in] | stave | Stave index |
| [in] | chip | Chip index |
| [in] | clusid | Cluster id |
| [out] | cluskey |
Definition at line 68 of file MvtxDefs.cc.
View newest version in sPHENIX GitHub at line 68 of file MvtxDefs.cc
References InttDefs::genHitSetKey().
Referenced by PHTruthClustering::all_truth_clusters(), SvtxTruthEval::all_truth_clusters(), and MvtxClusterizer::ClusterMvtx().
Here is the call graph for this function:
Here is the caller graph for this function:| TrkrDefs::cluskey MvtxDefs::genClusKey | ( | const TrkrDefs::hitsetkey | hskey, |
| const uint32_t | clusid | ||
| ) |
Generate a cluster key using a hitsetkey and cluster id.
| [in] | hskey | hitsetkey |
| [in] | clusid | Cluster id |
| [out] | cluskey |
Definition at line 77 of file MvtxDefs.cc.
View newest version in sPHENIX GitHub at line 77 of file MvtxDefs.cc
| TrkrDefs::hitkey MvtxDefs::genHitKey | ( | const uint16_t | col, |
| const uint16_t | row | ||
| ) |
Generate a hitkey from a pixels column and row index.
| [in] | col | Column index |
| [in] | row | Row index |
| [out] | hitkey |
Definition at line 48 of file MvtxDefs.cc.
View newest version in sPHENIX GitHub at line 48 of file MvtxDefs.cc
Referenced by PHG4MvtxHitReco::process_event().
Here is the caller graph for this function:| TrkrDefs::hitsetkey MvtxDefs::genHitSetKey | ( | const uint8_t | lyr, |
| const uint8_t | stave, | ||
| const uint8_t | chip | ||
| ) |
Generate a hitsetkey for the mvtx.
| [in] | lyr | Layer index |
| [in] | stave | Stave index |
| [in] | chip | Chip index |
| [out] | hitsetkey | Generate a hitsetkey for the mvtx. The tracker id is known implicitly and used in the function. |
Definition at line 57 of file MvtxDefs.cc.
View newest version in sPHENIX GitHub at line 57 of file MvtxDefs.cc
References TrkrDefs::genHitSetKey(), and TrkrDefs::mvtxId.
Referenced by MakeActsGeometry::getMvtxHitSetKeyFromCoords(), MakeActsGeometry::getMvtxKeyFromNode(), and PHG4MvtxHitReco::process_event().
Here is the call graph for this function:
Here is the caller graph for this function:| uint8_t MvtxDefs::getChipId | ( | TrkrDefs::hitsetkey | key | ) |
Get the chip id from hitsetkey.
| [in] | hitsetkey | |
| [out] | chip | id |
Definition at line 20 of file MvtxDefs.cc.
View newest version in sPHENIX GitHub at line 20 of file MvtxDefs.cc
Referenced by KFParticle_truthAndDetTools::fillDetectorBranch(), getChipId(), MakeActsGeometry::makeMvtxMapPairs(), PHGenFitTrkProp::ReFitTrack(), PHGenFitTrkFitter::ReFitTrack(), and PHGenFitTrkProp::TrkrClusterToPHGenFitMeasurement().
Here is the caller graph for this function:| uint8_t MvtxDefs::getChipId | ( | TrkrDefs::cluskey | key | ) |
Get the chip id from cluskey.
| [in] | cluskey | |
| [out] | chip | id |
Definition at line 27 of file MvtxDefs.cc.
View newest version in sPHENIX GitHub at line 27 of file MvtxDefs.cc
References getChipId().
Here is the call graph for this function:| uint16_t MvtxDefs::getCol | ( | TrkrDefs::hitkey | key | ) |
Get the column index from hitkey.
| [in] | hitkey | |
| [out] | column | index |
Definition at line 34 of file MvtxDefs.cc.
View newest version in sPHENIX GitHub at line 34 of file MvtxDefs.cc
Referenced by MvtxClusterizer::are_adjacent(), MvtxClusterizer::ClusterMvtx(), and QAG4SimulationMvtx::evaluate_clusters().
Here is the caller graph for this function:| uint16_t MvtxDefs::getRow | ( | TrkrDefs::hitkey | key | ) |
Get the row index from hitkey.
| [in] | hitkey | |
| [out] | row | index |
Definition at line 41 of file MvtxDefs.cc.
View newest version in sPHENIX GitHub at line 41 of file MvtxDefs.cc
Referenced by MvtxClusterizer::are_adjacent(), MvtxClusterizer::ClusterMvtx(), and QAG4SimulationMvtx::evaluate_clusters().
Here is the caller graph for this function:| uint8_t MvtxDefs::getStaveId | ( | TrkrDefs::hitsetkey | key | ) |
Get the stave id from hitsetkey.
| [in] | hitsetkey | |
| [out] | stave | id |
Definition at line 6 of file MvtxDefs.cc.
View newest version in sPHENIX GitHub at line 6 of file MvtxDefs.cc
Referenced by KFParticle_truthAndDetTools::fillDetectorBranch(), getStaveId(), MakeActsGeometry::makeMvtxMapPairs(), PHGenFitTrkProp::ReFitTrack(), PHGenFitTrkFitter::ReFitTrack(), and PHGenFitTrkProp::TrkrClusterToPHGenFitMeasurement().
Here is the caller graph for this function:| uint8_t MvtxDefs::getStaveId | ( | TrkrDefs::cluskey | key | ) |
Get the stave id from cluskey.
| [in] | cluskey | |
| [out] | stave | id |
Definition at line 13 of file MvtxDefs.cc.
View newest version in sPHENIX GitHub at line 13 of file MvtxDefs.cc
References getStaveId().
Here is the call graph for this function: