ATLAS Offline Software
|
Class to cache the identifiers on a segment in sets that can later be used to perform an overlap removel between two segments. More...
#include <MuonSegmentKey.h>
Public Types | |
typedef std::set< std::pair< unsigned int, int > > | MeasurementKeys |
The first int is the Identifier, whilst the second is the sign of the 1st measurement (i.e. More... | |
Public Member Functions | |
MuonSegmentKey () | |
default constructor More... | |
MuonSegmentKey (const MuonSegment &segment) | |
constructor taking a MuonSegment More... | |
MuonSegmentKey (const std::vector< const Trk::MeasurementBase * > &measurements) | |
constructor taking a vector of measurements More... | |
void | calculateKeys (const std::vector< const Trk::MeasurementBase * > &measurements, int signCor=1) |
function to calculate keys from a vector of measurements, the signCor is can be use to flip the signs of the MDT hits if the two segments that are compared have opposite directions More... | |
virtual | ~MuonSegmentKey () |
const MeasurementKeys & | keys () const |
access to precision hit keys More... | |
const MeasurementKeys & | keysTrigger () const |
access to trigger hit keys More... | |
Private Attributes | |
MeasurementKeys | m_measKeys |
MeasurementKeys | m_measKeysTrigger |
Class to cache the identifiers on a segment in sets that can later be used to perform an overlap removel between two segments.
Definition at line 24 of file MuonSegmentKey.h.
typedef std::set<std::pair<unsigned int, int> > Muon::MuonSegmentKey::MeasurementKeys |
The first int is the Identifier, whilst the second is the sign of the 1st measurement (i.e.
drift radius)
Definition at line 27 of file MuonSegmentKey.h.
|
default |
default constructor
Muon::MuonSegmentKey::MuonSegmentKey | ( | const MuonSegment & | segment | ) |
Muon::MuonSegmentKey::MuonSegmentKey | ( | const std::vector< const Trk::MeasurementBase * > & | measurements | ) |
|
virtualdefault |
void Muon::MuonSegmentKey::calculateKeys | ( | const std::vector< const Trk::MeasurementBase * > & | measurements, |
int | signCor = 1 |
||
) |
function to calculate keys from a vector of measurements, the signCor is can be use to flip the signs of the MDT hits if the two segments that are compared have opposite directions
Definition at line 26 of file MuonSegmentKey.cxx.
|
inline |
|
inline |
|
private |
Definition at line 51 of file MuonSegmentKey.h.
|
private |
Definition at line 52 of file MuonSegmentKey.h.