MyMarlinTPC
170316
|
Row based segment match. More...
#include <RowBasedPadPulseRoadSearchProcessor.h>
Public Member Functions | |
rb_SegmentMatch (const rb_Segment *segment1, const rb_Segment *segment2) | |
Construct row based segment match. More... | |
void | print () const |
Print. More... | |
int | getSegId1 () const |
Get ID of first segment. More... | |
int | getSegId2 () const |
Get ID of second segment. More... | |
int | getFirstRow1 () const |
Get first row of first segment. More... | |
int | getFirstRow2 () const |
Get first row of second segment. More... | |
int | getLastRow1 () const |
Get last row of first segment. More... | |
int | getLastRow2 () const |
Get last row of second segment. More... | |
bool | getValid () const |
Get validity flag. More... | |
bool | overlap (rb_SegmentMatch *) const |
Check for (row) overlap. More... | |
void | setInvalid () |
Set invalid. More... | |
Private Attributes | |
const int | _segId1 |
first segment ID More... | |
const int | _segId2 |
second segment ID More... | |
const int | _firstRow1 |
first row of first segment More... | |
const int | _firstRow2 |
first row of second segment More... | |
const int | _lastRow1 |
last row of first segment More... | |
const int | _lastRow2 |
last row of second segment More... | |
bool | _valid |
validity flag More... | |
Row based segment match.
Has segment ID pair and row ranges.
Definition at line 282 of file RowBasedPadPulseRoadSearchProcessor.h.
marlintpc::rb_SegmentMatch::rb_SegmentMatch | ( | const rb_Segment * | segment1, |
const rb_Segment * | segment2 | ||
) |
Construct row based segment match.
[in] | segment1 | first segment |
[in] | segment2 | second segment |
Definition at line 1344 of file RowBasedPadPulseRoadSearchProcessor.cc.
int marlintpc::rb_SegmentMatch::getFirstRow1 | ( | ) | const |
Get first row of first segment.
Definition at line 1366 of file RowBasedPadPulseRoadSearchProcessor.cc.
References _firstRow1.
Referenced by overlap().
int marlintpc::rb_SegmentMatch::getFirstRow2 | ( | ) | const |
Get first row of second segment.
Definition at line 1371 of file RowBasedPadPulseRoadSearchProcessor.cc.
References _firstRow2.
Referenced by overlap().
int marlintpc::rb_SegmentMatch::getLastRow1 | ( | ) | const |
Get last row of first segment.
Definition at line 1376 of file RowBasedPadPulseRoadSearchProcessor.cc.
References _lastRow1.
Referenced by overlap().
int marlintpc::rb_SegmentMatch::getLastRow2 | ( | ) | const |
Get last row of second segment.
Definition at line 1381 of file RowBasedPadPulseRoadSearchProcessor.cc.
References _lastRow2.
Referenced by overlap().
int marlintpc::rb_SegmentMatch::getSegId1 | ( | ) | const |
Get ID of first segment.
Definition at line 1356 of file RowBasedPadPulseRoadSearchProcessor.cc.
References _segId1.
int marlintpc::rb_SegmentMatch::getSegId2 | ( | ) | const |
Get ID of second segment.
Definition at line 1361 of file RowBasedPadPulseRoadSearchProcessor.cc.
References _segId2.
bool marlintpc::rb_SegmentMatch::getValid | ( | ) | const |
Get validity flag.
Definition at line 1386 of file RowBasedPadPulseRoadSearchProcessor.cc.
References _valid.
bool marlintpc::rb_SegmentMatch::overlap | ( | rb_SegmentMatch * | aMatch | ) | const |
Check for (row) overlap.
Definition at line 1391 of file RowBasedPadPulseRoadSearchProcessor.cc.
References _firstRow1, _firstRow2, _lastRow1, _lastRow2, getFirstRow1(), getFirstRow2(), getLastRow1(), and getLastRow2().
void marlintpc::rb_SegmentMatch::print | ( | ) | const |
Print.
Definition at line 1350 of file RowBasedPadPulseRoadSearchProcessor.cc.
References _firstRow1, _firstRow2, _lastRow1, _lastRow2, _segId1, _segId2, and _valid.
void marlintpc::rb_SegmentMatch::setInvalid | ( | ) |
Set invalid.
Definition at line 1400 of file RowBasedPadPulseRoadSearchProcessor.cc.
References _valid.
|
private |
first row of first segment
Definition at line 299 of file RowBasedPadPulseRoadSearchProcessor.h.
Referenced by getFirstRow1(), overlap(), and print().
|
private |
first row of second segment
Definition at line 300 of file RowBasedPadPulseRoadSearchProcessor.h.
Referenced by getFirstRow2(), overlap(), and print().
|
private |
last row of first segment
Definition at line 301 of file RowBasedPadPulseRoadSearchProcessor.h.
Referenced by getLastRow1(), overlap(), and print().
|
private |
last row of second segment
Definition at line 302 of file RowBasedPadPulseRoadSearchProcessor.h.
Referenced by getLastRow2(), overlap(), and print().
|
private |
first segment ID
Definition at line 297 of file RowBasedPadPulseRoadSearchProcessor.h.
Referenced by getSegId1(), and print().
|
private |
second segment ID
Definition at line 298 of file RowBasedPadPulseRoadSearchProcessor.h.
Referenced by getSegId2(), and print().
|
private |
validity flag
Definition at line 303 of file RowBasedPadPulseRoadSearchProcessor.h.
Referenced by getValid(), print(), and setInvalid().