#include <MatchCrossedTubes.h>
Definition at line 17 of file MatchCrossedTubes.h.
◆ MatchCrossedTubes()
| TrkDriftCircleMath::MatchCrossedTubes::MatchCrossedTubes |
( |
bool | onlyOnTrack = false | ) |
|
|
inline |
◆ operator()()
Definition at line 20 of file MatchCrossedTubes.h.
20 {
24
27 DCCit sit2 = crossedTubes.begin();
28 DCCit sit2_end = crossedTubes.end();
29
30 SortDcsByY compDC;
31 SameTube sameTube;
32
35
36 while (sit1 != sit1_end && sit2 != sit2_end) {
38 ++sit1;
39 continue;
40 }
41
43
45 ++sit1;
46 continue;
47 }
48 }
49
50 if (sameTube(*sit1, *sit2)) {
51 ++sit1;
52 ++sit2;
53 continue;
54 }
55
56
57 if (compDC(*sit1, *sit2)) {
58 result.first.push_back(*sit1);
59 ++sit1;
60
61 } else {
62
63 if (compDC(*sit2, *sit1)) {
64 result.second.push_back(*sit2);
65 ++sit2;
66
67 } else {
68 ++sit1;
69 ++sit2;
70 }
71 }
72 }
73
74
75 for (; sit1 != sit1_end; ++sit1) {
78 result.first.push_back(*sit1);
79 }
80 for (; sit2 != sit2_end; ++sit2) {
result.second.push_back(*sit2); }
81
83 }
@ CloseDC
too large drift time
DCOnTrackVec::const_iterator DCOnTrackCit
std::pair< DCOnTrackVec, DCVec > MatchResult
counts the number of hits shared by the two segments
DCVec::const_iterator DCCit
◆ m_mode
| bool TrkDriftCircleMath::MatchCrossedTubes::m_mode |
|
private |
The documentation for this struct was generated from the following file: