ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Enumerations | |
enum | SegmentationType : uint8_t |
tells the direction along which a given cylinder is segmented More... | |
enum | DriftDirection : uint8_t |
tells the drift direction for a given micromegas layer More... | |
Functions | |
TrkrDefs::hitsetkey | genHitSetKey (uint8_t layer, SegmentationType segmentation, uint8_t tile) |
Generate a hitsetkey for the micromegas. | |
SegmentationType | getSegmentationType (TrkrDefs::hitsetkey) |
Get the segmentation type from hitsetkey. | |
uint8_t | getTileId (TrkrDefs::hitsetkey) |
Get the tile id from hitsetkey. | |
TrkrDefs::hitkey | genHitKey (uint16_t strip) |
Generate a hitkey from strip index inside tile. | |
uint16_t | getStrip (TrkrDefs::hitkey) |
get strip from hit key | |
TrkrDefs::cluskey | genClusterKey (TrkrDefs::hitsetkey hskey, uint32_t clusid) |
Generate a cluster key using a hitsetkey and cluster id. | |
SegmentationType | getSegmentationType (TrkrDefs::cluskey) |
Get the segmentation type from cluster key. | |
uint8_t | getTileId (TrkrDefs::cluskey) |
Get the tile id from cluster key. | |
static constexpr unsigned int kBitShiftSegmentation | __attribute__ ((unused))=0 |
bit shift for hit key | |
enum MicromegasDefs::DriftDirection : uint8_t |
tells the drift direction for a given micromegas layer
this is needed for properly implementing transverse diffusion in the layer
Definition at line 26 of file MicromegasDefs.h.
View newest version in sPHENIX GitHub at line 26 of file MicromegasDefs.h
enum MicromegasDefs::SegmentationType : uint8_t |
tells the direction along which a given cylinder is segmented
Definition at line 18 of file MicromegasDefs.h.
View newest version in sPHENIX GitHub at line 18 of file MicromegasDefs.h
|
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 MicromegasDefs::genClusterKey | ( | TrkrDefs::hitsetkey | hskey, |
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 68 of file MicromegasDefs.cc.
View newest version in sPHENIX GitHub at line 68 of file MicromegasDefs.cc
References tmp.
Referenced by PHTruthClustering::all_truth_clusters(), SvtxTruthEval::all_truth_clusters(), and MicromegasClusterizer::process_event().
TrkrDefs::hitkey MicromegasDefs::genHitKey | ( | uint16_t | strip | ) |
Generate a hitkey from strip index inside tile.
[in] | strip | strip index |
Definition at line 54 of file MicromegasDefs.cc.
View newest version in sPHENIX GitHub at line 54 of file MicromegasDefs.cc
Referenced by PHG4MicromegasHitReco::process_event().
|
static |
Generate a hitsetkey for the micromegas.
[in] | layer | Layer index |
[in] | tile | tile index |
[out] | hitsetkey | Generate a hitsetkey for the mvtx. The tracker id is known implicitly and used in the function. |
Definition at line 26 of file MicromegasDefs.cc.
View newest version in sPHENIX GitHub at line 26 of file MicromegasDefs.cc
References TrkrDefs::genHitSetKey(), TrkrDefs::micromegasId, and tmp.
Referenced by PHTruthClustering::all_truth_clusters(), SvtxTruthEval::all_truth_clusters(), MakeActsGeometry::makeMmMapPairs(), PHG4MicromegasHitReco::process_event(), and PHMicromegasTpcTrackMatching::process_event().
SegmentationType MicromegasDefs::getSegmentationType | ( | TrkrDefs::hitsetkey | ) |
Get the segmentation type from hitsetkey.
[in] | hitsetkey | |
[out] | segmentation | s |
Definition at line 40 of file MicromegasDefs.cc.
View newest version in sPHENIX GitHub at line 40 of file MicromegasDefs.cc
References tmp.
Referenced by QAG4SimulationMicromegas::evaluate_clusters(), and getSegmentationType().
SegmentationType MicromegasDefs::getSegmentationType | ( | TrkrDefs::cluskey | ) |
Get the segmentation type from cluster key.
[in] | cluskey | |
[out] | segmentation | s |
Definition at line 77 of file MicromegasDefs.cc.
View newest version in sPHENIX GitHub at line 77 of file MicromegasDefs.cc
References getSegmentationType(), and tmp.
uint16_t MicromegasDefs::getStrip | ( | TrkrDefs::hitkey | key | ) |
get strip from hit key
Definition at line 61 of file MicromegasDefs.cc.
View newest version in sPHENIX GitHub at line 61 of file MicromegasDefs.cc
References tmp.
Referenced by MicromegasClusterizer::process_event().
uint8_t MicromegasDefs::getTileId | ( | TrkrDefs::hitsetkey | ) |
Get the tile id from hitsetkey.
[in] | hitsetkey | |
[out] | tile | id s |
Definition at line 47 of file MicromegasDefs.cc.
View newest version in sPHENIX GitHub at line 47 of file MicromegasDefs.cc
References tmp.
Referenced by QAG4SimulationMicromegas::evaluate_clusters(), TrackEvaluation::evaluate_clusters(), TrackEvaluation::evaluate_tracks(), getTileId(), MicromegasClusterizer::process_event(), and PHGenFitTrkFitter::ReFitTrack().
uint8_t MicromegasDefs::getTileId | ( | TrkrDefs::cluskey | ) |
Get the tile id from cluster key.
[in] | cluskey | |
[out] | tile | id s |
Definition at line 84 of file MicromegasDefs.cc.
View newest version in sPHENIX GitHub at line 84 of file MicromegasDefs.cc
References getTileId(), and tmp.