ATLAS Offline Software
MuidTrack.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
14 
16 #ifndef MUIDEVENT_MUIDTRACK_H
17 # define MUIDEVENT_MUIDTRACK_H
18 
19 #include "MuidEvent/MuonMatch.h"
20 
21 namespace Trk
22 {
23  class Track;
24 }
25 
27 {
28 public:
29  // constructor (copy from base)
30  MuidTrack (Rec::MuonMatch& muonMatch);
31 
32  // constructor with track associations
35  const Trk::Track* indetTrack,
38  double innerMatchChi2 = 0.,
39  int innerMatchDoF = 0,
40  double innerMatchProb = 0.,
41  double momentumBalanceSignificance = 0.,
42  double outerMatchChi2 = 0.,
43  int outerMatchDoF = 0,
44  double outerMatchProb = 0.,
46  scatAngleSignificance = Rec::ScatteringAngleSignificance());
47 
48  // destructor
49  virtual ~MuidTrack();
50 
51  // deprecated match accessors (return inner match quantities)
52  double matchChi2 (void) const;
53  int matchDoF (void) const;
54  double matchProb (void) const;
55 
56  // deprecated get/set methods for obsolete muonCode
57  int muonCode (void) const;
58  void muonCode (int value);
59 
60 private:
62 };
63 
64 //<<<<<< INLINE MEMBER FUNCTIONS >>>>>>
65 
66 inline double
68 { return m_innerMatchChi2; }
69 
70 inline int
71 MuidTrack::matchDoF (void) const
72 { return m_innerMatchDoF; }
73 
74 inline double
76 { return m_innerMatchProb; }
77 
78 inline int
79 MuidTrack::muonCode (void) const
80 { return m_muonCode; }
81 
82 inline void
84 { m_muonCode = value; }
85 
86 #endif // MUIDEVENT_MUIDTRACK_H
87 
88 
Rec::MuonMatch::combinedTrack
const Trk::Track * combinedTrack(void) const
Definition: MuonMatch.h:167
Rec::MuonMatch::extrapolatedTrack
const Trk::Track * extrapolatedTrack(void) const
Definition: MuonMatch.h:175
MuidTrack::matchChi2
double matchChi2(void) const
Definition: MuidTrack.h:67
Trk::Track
The ATLAS Track class.
Definition: Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
MuidTrack::~MuidTrack
virtual ~MuidTrack()
Rec::MuonMatch::m_innerMatchDoF
int m_innerMatchDoF
Definition: MuonMatch.h:149
athena.value
value
Definition: athena.py:124
Rec::MuonMatch
Definition: MuonMatch.h:32
Rec::MuonMatch::indetTrack
const Trk::Track * indetTrack(void) const
Definition: MuonMatch.h:183
MuidTrack::MuidTrack
MuidTrack(Rec::MuonMatch &muonMatch)
Definition: MuidTrack.cxx:20
Rec::MuonMatch::outerMatchProb
double outerMatchProb(void) const
Definition: MuonMatch.h:259
MuidTrack::matchProb
double matchProb(void) const
Definition: MuidTrack.h:75
Rec::MuonMatch::innerMatchChi2
double innerMatchChi2(void) const
Definition: MuonMatch.h:219
Rec::ScatteringAngleSignificance
Definition: ScatteringAngleSignificance.h:22
MuidTrack::m_muonCode
int m_muonCode
Definition: MuidTrack.h:61
MuonMatch.h
MuidTrack::muonCode
int muonCode(void) const
Definition: MuidTrack.h:79
Rec::MuonMatch::outerMatchChi2
double outerMatchChi2(void) const
Definition: MuonMatch.h:251
Rec::MuonMatch::momentumBalanceSignificance
double momentumBalanceSignificance(void) const
Definition: MuonMatch.h:239
MuidTrack::matchDoF
int matchDoF(void) const
Definition: MuidTrack.h:71
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Rec::MuonMatch::innerMatchDoF
int innerMatchDoF(void) const
Definition: MuonMatch.h:223
Rec::MuonMatch::m_innerMatchChi2
double m_innerMatchChi2
Definition: MuonMatch.h:148
Rec::MuonMatch::innerMatchProb
double innerMatchProb(void) const
Definition: MuonMatch.h:227
Rec::MuonMatch::fieldIntegral
const FieldIntegral & fieldIntegral(void) const
Definition: MuonMatch.h:207
Rec::FieldIntegral
Definition: FieldIntegral.h:22
Rec::MuonMatch::m_innerMatchProb
double m_innerMatchProb
Definition: MuonMatch.h:150
Rec::MuonMatch::spectrometerTrack
const Trk::Track * spectrometerTrack(void) const
Definition: MuonMatch.h:191
Track
Definition: TriggerChamberClusterOnTrackCreator.h:21
MuidTrack
Definition: MuidTrack.h:27
Rec::MuonMatch::outerMatchDoF
int outerMatchDoF(void) const
Definition: MuonMatch.h:255