|
ATLAS Offline Software
|
Go to the documentation of this file.
16 bool ignoreTriggerHits) {
25 std::vector<std::pair<unsigned int, int> > intersectionTrig;
27 std::back_inserter(intersectionTrig));
88 std::ostringstream sout;
94 else if (
result == SuperSet)
96 else if (
result == PartialOverlap)
97 sout <<
"PartialOverlap";
98 else if (
result == NoOverlap)
103 sout <<
"UnknownType";
104 sout <<
" intersects (" << intersectionSize <<
"," << intersectionSizeTrigger <<
") seg1 (" << segment1Size <<
","
105 << segment1SizeTrigger <<
") "
106 <<
" seg2 (" << segment2Size <<
"," << segment2SizeTrigger <<
") ";
OverlapResult operator()(const MuonSegmentKey &sk1, const MuonSegmentKey &sk2, bool ignoreTriggerHits=false)
calculate overlap between two SegmentKey2s, if ignoreTriggerHits == true trigger hits will not be inc...
Class to cache the identifiers on a segment in sets that can later be used to perform an overlap remo...
unsigned int segment1SizeTrigger
std::vector< std::string > intersection(std::vector< std::string > &v1, std::vector< std::string > &v2)
unsigned int segment1Size
unsigned int intersectionSizeTrigger
unsigned int segment2SizeTrigger
OverlapResult
enum for the overlap result
const MeasurementKeys & keys() const
access to precision hit keys
unsigned int segment2Size
unsigned int intersectionSize
std::string print(const OverlapResult &result) const
print result to string
const MeasurementKeys & keysTrigger() const
access to trigger hit keys
Set * set_intersection(Set *set1, Set *set2)
Perform an intersection of two sets.