counts the number of hits shared by the two segments
More...
#include <SharedHitsSegments.h>
counts the number of hits shared by the two segments
Definition at line 14 of file SharedHitsSegments.h.
◆ SharedHitsSegments()
| TrkDriftCircleMath::SharedHitsSegments::SharedHitsSegments |
( |
bool | onlyOnTrack = false | ) |
|
|
inline |
◆ onlyInSeg1()
| unsigned int TrkDriftCircleMath::SharedHitsSegments::onlyInSeg1 |
( |
| ) |
const |
|
inline |
◆ onlyInSeg2()
| unsigned int TrkDriftCircleMath::SharedHitsSegments::onlyInSeg2 |
( |
| ) |
const |
|
inline |
◆ operator()()
| unsigned int TrkDriftCircleMath::SharedHitsSegments::operator() |
( |
const Segment & | seg1, |
|
|
const Segment & | seg2 ) |
|
inline |
Definition at line 18 of file SharedHitsSegments.h.
18 {
23
24 SortDcsByY compDC;
25
29
30 while (sit1 != sit1_end && sit2 != sit2_end) {
31
33 ++sit1;
34 continue;
35 }
37 ++sit2;
38 continue;
39 }
40
42
44 ++sit1;
45 continue;
46 }
48 ++sit2;
49 continue;
50 }
51 }
52
53
54 if (compDC(*sit1, *sit2)) {
55 ++sit1;
57
58 } else {
59
60 if (compDC(*sit2, *sit1)) {
61 ++sit2;
63
64 } else {
66 ++sit1;
67 ++sit2;
68 }
69 }
70 }
71
72
73 for (; sit1 != sit1_end; ++sit1) {
75
77
79 }
80 for (; sit2 != sit2_end; ++sit2) {
82
85 }
86
88 }
@ CloseDC
too large drift time
DCOnTrackVec::const_iterator DCOnTrackCit
◆ sharedHits()
| unsigned int TrkDriftCircleMath::SharedHitsSegments::sharedHits |
( |
| ) |
const |
|
inline |
◆ m_mode
| bool TrkDriftCircleMath::SharedHitsSegments::m_mode |
|
private |
◆ m_onlySeg1
| unsigned int TrkDriftCircleMath::SharedHitsSegments::m_onlySeg1 |
|
private |
◆ m_onlySeg2
| unsigned int TrkDriftCircleMath::SharedHitsSegments::m_onlySeg2 |
|
private |
◆ m_shared
| unsigned int TrkDriftCircleMath::SharedHitsSegments::m_shared |
|
private |
The documentation for this struct was generated from the following file: