#include <DetailedHitInfo.h>
Definition at line 23 of file DetailedHitInfo.h.
◆ addHit()
| void Trk::DetailedHitInfo::addHit |
( |
Trk::DetectorRegion | region, |
|
|
int | layer, |
|
|
int | etaModule, |
|
|
int | hit = 1 ) |
This class containes the detailed information on the contributing layers and regions to the hit count.
Definition at line 59 of file DetailedHitInfo.cxx.
59 {
61 if (thisRegion==region) {
62 for (
auto& [thisLayer, nLayers,
nHits] : thisHitInfoVector) {
63 if (thisLayer==layer) {
64
66 nLayers++;
68 }
70 return;
71 }
72 }
73 }
74 }
75
77 std::vector < std::tuple <int, int, int> >
counts = {{
layer, 1, hit}};
79}
static const uint32_t nHits
std::vector< std::pair< Trk::DetectorRegion, std::vector< std::tuple< int, int, int > > > > m_detailedHitInfo
◆ getAllContributions()
| int Trk::DetailedHitInfo::getAllContributions |
( |
| ) |
|
◆ getAllHits()
| int Trk::DetailedHitInfo::getAllHits |
( |
| ) |
|
◆ getContributionFromRegion()
◆ getHitInfo()
| const std::vector< std::pair< Trk::DetectorRegion, std::vector< std::tuple< int, int, int > > > > & Trk::DetailedHitInfo::getHitInfo |
( |
| ) |
|
◆ getHits()
Definition at line 82 of file DetailedHitInfo.cxx.
82 {
84 if (thisRegion==region) {
85 for (
auto& [thisLayer, nLayers,
nHits] : thisHitInfoVector) {
86 if (thisLayer==layer) {
88 }
89 }
90 }
91 }
92 return 0;
93}
◆ getHitsFromRegion()
◆ getPixelContributions()
| int Trk::DetailedHitInfo::getPixelContributions |
( |
| ) |
|
◆ getPixelHits()
| int Trk::DetailedHitInfo::getPixelHits |
( |
| ) |
|
◆ getStripContributions()
| int Trk::DetailedHitInfo::getStripContributions |
( |
| ) |
|
◆ getStripHits()
| int Trk::DetailedHitInfo::getStripHits |
( |
| ) |
|
◆ m_detailedHitInfo
| std::vector< std::pair < Trk::DetectorRegion, std::vector < std::tuple <int , int , int> > > > Trk::DetailedHitInfo::m_detailedHitInfo {} |
|
private |
◆ m_prevEta
| int Trk::DetailedHitInfo::m_prevEta {} |
|
private |
The documentation for this class was generated from the following files: