ATLAS Offline Software
IndetMatchCandidate.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
13 
16 //#include "TrkParameters/TrackParameters.h"
17 #include "TrkTrack/Track.h"
18 
19 namespace Rec
20 {
21 
22 // constructor (inDet track with candidate match to extrapolated track)
24  int indetIndex,
25  const Trk::Track* indetTrack,
26  const Trk::Perigee* outgoingPerigee,
27  const Trk::Track* outgoingTrack,
28  const Trk::Track* spectrometerTrack)
29  : Rec::MuonMatch(nullptr,extrapolatedTrack,indetTrack,spectrometerTrack),
30  m_indetIndex (indetIndex),
31  m_outgoingPerigee (outgoingPerigee),
32  m_outgoingTrack (outgoingTrack),
33  m_simpleMatchChi2 (999999.)
34 {}
35 
37 {
40 }
41 
42 void
44 {
45  delete m_combinedTrack;
47  m_matchType = type;
48 }
49 
50 void
51 IndetMatchCandidate::innerMatch(double matchChi2, int matchDoF, double matchProb, double simpleChi2)
52 {
53  m_innerMatchChi2 = matchChi2;
54  m_innerMatchDoF = matchDoF;
55  m_innerMatchProb = matchProb;
56  m_simpleMatchChi2 = simpleChi2;
57 }
58 
59 } // end of namespace
60 
Rec::MuonMatch::m_combinedTrack
const Trk::Track * m_combinedTrack
Definition: MuonMatch.h:138
Rec::MuonMatch::MatchType
MatchType
enum to describe the ranked match quality
Definition: MuonMatch.h:36
Trk::Track
The ATLAS Track class.
Definition: Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
Trk::ParametersT
Dummy class used to allow special convertors to be called for surfaces owned by a detector element.
Definition: EMErrorDetail.h:25
Rec::IndetMatchCandidate::m_simpleMatchChi2
double m_simpleMatchChi2
Definition: IndetMatchCandidate.h:59
Rec::MuonMatch::m_indetTrack
const Trk::Track * m_indetTrack
Definition: MuonMatch.h:142
Rec::MuonMatch::m_innerMatchDoF
int m_innerMatchDoF
Definition: MuonMatch.h:149
IndetMatchCandidate.h
Rec::MuonMatch
Definition: MuonMatch.h:32
Rec::IndetMatchCandidate::innerMatch
void innerMatch(double matchChi2, int matchDoF, double matchProb, double simpleChi2)
Definition: IndetMatchCandidate.cxx:51
Track.h
Rec
Name: MuonSpContainer.h Package : offline/Reconstruction/MuonIdentification/muonEvent.
Definition: FakeTrackBuilder.h:10
Rec::IndetMatchCandidate::combinedMatch
void combinedMatch(MatchType type, const Trk::Track *track=0)
Definition: IndetMatchCandidate.cxx:43
Rec::IndetMatchCandidate::~IndetMatchCandidate
~IndetMatchCandidate()
Definition: IndetMatchCandidate.cxx:36
Trk::Track::perigeeParameters
const Perigee * perigeeParameters() const
return Perigee.
Definition: Tracking/TrkEvent/TrkTrack/src/Track.cxx:163
Rec::MuonMatch::m_matchType
MatchType m_matchType
Definition: MuonMatch.h:151
Rec::MuonMatch::m_innerMatchChi2
double m_innerMatchChi2
Definition: MuonMatch.h:148
Rec::IndetMatchCandidate::m_outgoingTrack
const Trk::Track * m_outgoingTrack
Definition: IndetMatchCandidate.h:58
Rec::IndetMatchCandidate::IndetMatchCandidate
IndetMatchCandidate(const Trk::Track *extrapolatedTrack, int indetIndex, const Trk::Track *indetTrack, const Trk::Perigee *outgoingPerigee, const Trk::Track *outgoingTrack, const Trk::Track *spectrometerTrack)
Definition: IndetMatchCandidate.cxx:23
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
Rec::MuonMatch::m_innerMatchProb
double m_innerMatchProb
Definition: MuonMatch.h:150
Rec::IndetMatchCandidate::track
const Trk::Track & track(void) const
Definition: IndetMatchCandidate.h:70
Rec::IndetMatchCandidate::m_outgoingPerigee
const Trk::Perigee * m_outgoingPerigee
Definition: IndetMatchCandidate.h:57
xAOD::track
@ track
Definition: TrackingPrimitives.h:512