ATLAS Offline Software
Loading...
Searching...
No Matches
CompareMuonSegmentKeys.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUON_COMPAREMUONSEGMENTKEYS_H
6#define MUON_COMPAREMUONSEGMENTKEYS_H
7
8#include <string>
9
10namespace Muon {
11
12 class MuonSegmentKey;
13
17 Identical = 0, //<! segments are identical
18 SubSet = 1, //<! the first segment is a subset of the second
19 SuperSet = 2, //<! the first segment is a superset of the second
20 PartialOverlap = 3, //<! some hits of the segment overlap
21 NoOverlap = 4, //<! there is no overlap between the segments
22 Unknown = 5 //<! unknown overlap tyep, this should not happen
23 };
24
27 OverlapResult operator()(const MuonSegmentKey& sk1, const MuonSegmentKey& sk2, bool ignoreTriggerHits = false);
28
30 std::string print(const OverlapResult& result) const;
31
32 unsigned int intersectionSize;
33 unsigned int segment1Size;
34 unsigned int segment2Size;
35
36 unsigned int segment1SizeTrigger;
37 unsigned int segment2SizeTrigger;
39 };
40
41} // namespace Muon
42
43#endif
Class to cache the identifiers on a segment in sets that can later be used to perform an overlap remo...
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
std::string print(const OverlapResult &result) const
print result to string
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...