ATLAS Offline Software
|
#include <CompareMuonSegmentKeys.h>
Public Types | |
enum | OverlapResult { Identical = 0, SubSet = 1, SuperSet = 2, PartialOverlap = 3, NoOverlap = 4, Unknown = 5 } |
enum for the overlap result More... | |
Public Member Functions | |
OverlapResult | operator() (const MuonSegmentKey &sk1, const MuonSegmentKey &sk2, bool ignoreTriggerHits=false) |
calculate overlap between two SegmentKey2s, if ignoreTriggerHits == true trigger hits will not be included in the comparison, returns an OverlapResult More... | |
std::string | print (const OverlapResult &result) const |
print result to string More... | |
Public Attributes | |
unsigned int | intersectionSize |
unsigned int | segment1Size |
unsigned int | segment2Size |
unsigned int | segment1SizeTrigger |
unsigned int | segment2SizeTrigger |
unsigned int | intersectionSizeTrigger |
Definition at line 14 of file CompareMuonSegmentKeys.h.
enum for the overlap result
Enumerator | |
---|---|
Identical | |
SubSet | |
SuperSet | |
PartialOverlap | |
NoOverlap | |
Unknown |
Definition at line 16 of file CompareMuonSegmentKeys.h.
Muon::CompareMuonSegmentKeys::OverlapResult Muon::CompareMuonSegmentKeys::operator() | ( | const MuonSegmentKey & | sk1, |
const MuonSegmentKey & | sk2, | ||
bool | ignoreTriggerHits = false |
||
) |
calculate overlap between two SegmentKey2s, if ignoreTriggerHits == true trigger hits will not be included in the comparison, returns an OverlapResult
Definition at line 14 of file CompareMuonSegmentKeys.cxx.
std::string Muon::CompareMuonSegmentKeys::print | ( | const OverlapResult & | result | ) | const |
print result to string
Definition at line 87 of file CompareMuonSegmentKeys.cxx.
unsigned int Muon::CompareMuonSegmentKeys::intersectionSize |
Definition at line 32 of file CompareMuonSegmentKeys.h.
unsigned int Muon::CompareMuonSegmentKeys::intersectionSizeTrigger |
Definition at line 38 of file CompareMuonSegmentKeys.h.
unsigned int Muon::CompareMuonSegmentKeys::segment1Size |
Definition at line 33 of file CompareMuonSegmentKeys.h.
unsigned int Muon::CompareMuonSegmentKeys::segment1SizeTrigger |
Definition at line 36 of file CompareMuonSegmentKeys.h.
unsigned int Muon::CompareMuonSegmentKeys::segment2Size |
Definition at line 34 of file CompareMuonSegmentKeys.h.
unsigned int Muon::CompareMuonSegmentKeys::segment2SizeTrigger |
Definition at line 37 of file CompareMuonSegmentKeys.h.