ATLAS Offline Software
Loading...
Searching...
No Matches
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
11namespace Trk {
12 class MeasurementBase;
13}
14
15namespace Muon {
16
17 class MuonSegment;
25 public:
27 typedef std::set<std::pair<unsigned int, int> > MeasurementKeys;
28
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:
53 };
54
55} // namespace Muon
56
58
60
61#endif
MeasurementKeys m_measKeysTrigger
const MeasurementKeys & keysTrigger() const
access to trigger hit keys
const MeasurementKeys & keys() const
access to precision hit keys
MuonSegmentKey()
default constructor
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....
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...
MeasurementKeys m_measKeys
virtual ~MuonSegmentKey()
This is the common class for 3D segments used in the muon spectrometer.
This class is the pure abstract base class for all fittable tracking measurements.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Ensure that the ATLAS eigen extensions are properly loaded.