16 bool ignoreTriggerHits) {
25 std::vector<std::pair<unsigned int, int> > intersectionTrig;
27 std::back_inserter(intersectionTrig));
88 std::ostringstream sout;
97 sout <<
"PartialOverlap";
103 sout <<
"UnknownType";
Class to cache the identifiers on a segment in sets that can later be used to perform an overlap remo...
const MeasurementKeys & keysTrigger() const
access to trigger hit keys
const MeasurementKeys & keys() const
access to precision hit keys
std::vector< std::string > intersection(std::vector< std::string > &v1, std::vector< std::string > &v2)
unsigned int intersectionSize
unsigned int segment1Size
std::string print(const OverlapResult &result) const
print result to string
unsigned int intersectionSizeTrigger
OverlapResult
enum for the overlap result
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...
unsigned int segment2SizeTrigger
unsigned int segment2Size
unsigned int segment1SizeTrigger