ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonReconstruction
MuonSegmentMakers
MuonSegmentMakerUtils
MuonSegmentMakerUtils
MuonSegmentKey.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_MUONSEGMENTKEY_H
6
#define MUON_MUONSEGMENTKEY_H
7
8
#include <set>
9
#include <vector>
10
11
namespace
Trk
{
12
class
MeasurementBase
;
13
}
14
15
namespace
Muon
{
16
17
class
MuonSegment
;
24
class
MuonSegmentKey
{
25
public
:
27
typedef
std::set<std::pair<unsigned int, int> >
MeasurementKeys
;
28
30
MuonSegmentKey
();
31
33
MuonSegmentKey
(
const
MuonSegment
& segment);
34
36
MuonSegmentKey
(
const
std::vector<const Trk::MeasurementBase*>& measurements);
37
40
void
calculateKeys
(
const
std::vector<const Trk::MeasurementBase*>& measurements,
int
signCor = 1);
41
42
virtual
~MuonSegmentKey
();
43
45
const
MeasurementKeys
&
keys
()
const
;
46
48
const
MeasurementKeys
&
keysTrigger
()
const
;
49
50
private
:
51
MeasurementKeys
m_measKeys
;
52
MeasurementKeys
m_measKeysTrigger
;
53
};
54
55
}
// namespace Muon
56
57
inline
const
Muon::MuonSegmentKey::MeasurementKeys
&
Muon::MuonSegmentKey::keysTrigger
()
const
{
return
m_measKeysTrigger
; }
58
59
inline
const
Muon::MuonSegmentKey::MeasurementKeys
&
Muon::MuonSegmentKey::keys
()
const
{
return
m_measKeys
; }
60
61
#endif
Muon::MuonSegmentKey::m_measKeysTrigger
MeasurementKeys m_measKeysTrigger
Definition
MuonSegmentKey.h:52
Muon::MuonSegmentKey::keysTrigger
const MeasurementKeys & keysTrigger() const
access to trigger hit keys
Definition
MuonSegmentKey.h:57
Muon::MuonSegmentKey::keys
const MeasurementKeys & keys() const
access to precision hit keys
Definition
MuonSegmentKey.h:59
Muon::MuonSegmentKey::MuonSegmentKey
MuonSegmentKey()
default constructor
Muon::MuonSegmentKey::MeasurementKeys
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....
Definition
MuonSegmentKey.h:27
Muon::MuonSegmentKey::calculateKeys
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...
Definition
MuonSegmentKey.cxx:26
Muon::MuonSegmentKey::m_measKeys
MeasurementKeys m_measKeys
Definition
MuonSegmentKey.h:51
Muon::MuonSegmentKey::~MuonSegmentKey
virtual ~MuonSegmentKey()
Muon::MuonSegment
This is the common class for 3D segments used in the muon spectrometer.
Definition
MuonSpectrometer/MuonReconstruction/MuonRecEvent/MuonSegment/MuonSegment/MuonSegment.h:45
Trk::MeasurementBase
This class is the pure abstract base class for all fittable tracking measurements.
Definition
MeasurementBase.h:58
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition
TrackSystemController.h:46
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
Generated on
for ATLAS Offline Software by
1.17.0