ATLAS Offline Software
Public Types | Public Member Functions | Protected Attributes | Private Attributes | List of all members
Rec::IndetMatchCandidate Class Reference

#include <IndetMatchCandidate.h>

Inheritance diagram for Rec::IndetMatchCandidate:
Collaboration diagram for Rec::IndetMatchCandidate:

Public Types

enum  MatchType {
  Tight = 0, Inner = 1, Outer = 2, Simple = 3,
  Loose = 4, Vertex = 5, Unmatched = 6, NumberOfMuonMatchTypes = 7
}
 enum to describe the ranked match quality More...
 

Public Member Functions

 IndetMatchCandidate (const Trk::Track *extrapolatedTrack, int indetIndex, const Trk::Track *indetTrack, const Trk::Perigee *outgoingPerigee, const Trk::Track *outgoingTrack, const Trk::Track *spectrometerTrack)
 
 ~IndetMatchCandidate ()
 
const Trk::Perigeeperigee (void) const
 
const Trk::Tracktrack (void) const
 
void combinedMatch (MatchType type, const Trk::Track *track=0)
 
void innerMatch (double matchChi2, int matchDoF, double matchProb, double simpleChi2)
 
int indetIndex (void) const
 
double simpleMatchChi2 (void) const
 
const Trk::TrackcombinedTrack (void) const
 
const Trk::TrackextrapolatedRefit (void) const
 
void extrapolatedRefit (const Trk::Track *refittedTrack)
 
const Trk::TrackextrapolatedTrack (void) const
 
void extrapolatedTrack (const Trk::Track *extrapolatedTrack)
 
const TrackParticleindetParticle (void) const
 
const Trk::TrackindetTrack (void) const
 
const TrackParticlespectrometerParticle (void) const
 
const Trk::TrackspectrometerTrack (void) const
 
const Trk::RecVertexvertex (void) const
 
bool bestMatch (void) const
 
void bestMatch (bool)
 
void fieldIntegral (const FieldIntegral &value)
 
const FieldIntegralfieldIntegral (void) const
 
void innerMatch (double matchChi2, int matchDoF, double matchProb)
 
double innerMatchChi2 (void) const
 
int innerMatchDoF (void) const
 
double innerMatchProb (void) const
 
bool isType (MatchType) const
 
MatchType matchType (void) const
 
void matchType (MatchType)
 
void momentumBalanceSignificance (double value)
 
double momentumBalanceSignificance (void) const
 
void outerMatch (double matchChi2, int matchDoF, double matchProb)
 
double outerMatchChi2 (void) const
 
int outerMatchDoF (void) const
 
double outerMatchProb (void) const
 
void scatteringAngleSignificance (const ScatteringAngleSignificance &value)
 
const ScatteringAngleSignificancescatteringAngleSignificance (void) const
 
bool looseMatch (void) const
 
void looseMatch (bool)
 
bool simpleMatch (void) const
 
void simpleMatch (bool)
 

Protected Attributes

const Trk::Trackm_combinedTrack
 
const Trk::Trackm_extrapolatedRefit
 
const Trk::Trackm_extrapolatedTrack
 
const TrackParticlem_indetParticle
 
const Trk::Trackm_indetTrack
 
const TrackParticlem_spectrometerParticle
 
const Trk::Trackm_spectrometerTrack
 
const Trk::RecVertexm_vertex
 
bool m_bestMatch
 
FieldIntegral m_fieldIntegral
 
double m_innerMatchChi2
 
int m_innerMatchDoF
 
double m_innerMatchProb
 
MatchType m_matchType
 
double m_momentumBalanceSignificance
 
double m_outerMatchChi2
 
int m_outerMatchDoF
 
double m_outerMatchProb
 
ScatteringAngleSignificance m_scatteringAngleSignificance
 
bool m_looseMatch
 
bool m_simpleMatch
 

Private Attributes

int m_indetIndex
 
const Trk::Perigeem_outgoingPerigee
 
const Trk::Trackm_outgoingTrack
 
double m_simpleMatchChi2
 

Detailed Description

Definition at line 25 of file IndetMatchCandidate.h.

Member Enumeration Documentation

◆ MatchType

enum Rec::MuonMatch::MatchType
inherited

enum to describe the ranked match quality

Enumerator
Tight 

Tight: good inner and outer match chi2.

Inner 

Inner: good inner match chi2.

Outer 

Outer: good outer match chi2.

Simple 

Simple: good simple (i.e.

ignoring parameter correlation) inner match chi2

Loose 

Loose: no good match chi2 of any flavour.

Vertex 

Vertex: matched to vertex rather than track.

Unmatched 

Unmatched: no match found.

NumberOfMuonMatchTypes 

Definition at line 35 of file MuonMatch.h.

36  {
38  Tight = 0,
39 
41  Inner = 1,
42 
44  Outer = 2,
45 
47  Simple = 3,
48 
50  Loose = 4,
51 
53  Vertex = 5,
54 
56  Unmatched = 6,
57 
59  };

Constructor & Destructor Documentation

◆ 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 at line 23 of file IndetMatchCandidate.cxx.

31  m_outgoingPerigee (outgoingPerigee),
32  m_outgoingTrack (outgoingTrack),
33  m_simpleMatchChi2 (999999.)
34 {}

◆ ~IndetMatchCandidate()

IndetMatchCandidate::~IndetMatchCandidate ( )

Definition at line 36 of file IndetMatchCandidate.cxx.

Member Function Documentation

◆ bestMatch() [1/2]

void MuonMatch::bestMatch ( bool  value)
inlineinherited

Definition at line 203 of file MuonMatch.h.

204 { m_bestMatch = value; }

◆ bestMatch() [2/2]

bool MuonMatch::bestMatch ( void  ) const
inlineinherited

Definition at line 199 of file MuonMatch.h.

200 { return m_bestMatch; }

◆ combinedMatch()

void IndetMatchCandidate::combinedMatch ( MatchType  type,
const Trk::Track track = 0 
)

Definition at line 43 of file IndetMatchCandidate.cxx.

44 {
45  delete m_combinedTrack;
47  m_matchType = type;
48 }

◆ combinedTrack()

const Trk::Track * MuonMatch::combinedTrack ( void  ) const
inlineinherited

Definition at line 167 of file MuonMatch.h.

168 { return m_combinedTrack; }

◆ extrapolatedRefit() [1/2]

void MuonMatch::extrapolatedRefit ( const Trk::Track refittedTrack)
inherited

Definition at line 165 of file MuonMatch.cxx.

166 {
167  const Trk::Track* oldTrack = m_extrapolatedRefit;
168  m_extrapolatedRefit = refittedTrack;
169  delete oldTrack;
170 }

◆ extrapolatedRefit() [2/2]

const Trk::Track * MuonMatch::extrapolatedRefit ( void  ) const
inlineinherited

Definition at line 171 of file MuonMatch.h.

172 { return m_extrapolatedRefit; }

◆ extrapolatedTrack() [1/2]

void MuonMatch::extrapolatedTrack ( const Trk::Track extrapolatedTrack)
inherited

Definition at line 173 of file MuonMatch.cxx.

174 {
176 }

◆ extrapolatedTrack() [2/2]

const Trk::Track * MuonMatch::extrapolatedTrack ( void  ) const
inlineinherited

Definition at line 175 of file MuonMatch.h.

176 { return m_extrapolatedTrack; }

◆ fieldIntegral() [1/2]

void MuonMatch::fieldIntegral ( const FieldIntegral value)
inherited

Definition at line 179 of file MuonMatch.cxx.

180 { m_fieldIntegral = value; }

◆ fieldIntegral() [2/2]

const FieldIntegral & MuonMatch::fieldIntegral ( void  ) const
inlineinherited

Definition at line 207 of file MuonMatch.h.

208 { return m_fieldIntegral; }

◆ indetIndex()

int IndetMatchCandidate::indetIndex ( void  ) const
inline

Definition at line 74 of file IndetMatchCandidate.h.

75 { return m_indetIndex; }

◆ indetParticle()

const TrackParticle * MuonMatch::indetParticle ( void  ) const
inlineinherited

Definition at line 179 of file MuonMatch.h.

180 { return m_indetParticle; }

◆ indetTrack()

const Trk::Track * MuonMatch::indetTrack ( void  ) const
inlineinherited

Definition at line 183 of file MuonMatch.h.

184 { return m_indetTrack; }

◆ innerMatch() [1/2]

void MuonMatch::innerMatch ( double  matchChi2,
int  matchDoF,
double  matchProb 
)
inlineinherited

Definition at line 211 of file MuonMatch.h.

212 {
213  m_innerMatchChi2 = matchChi2;
214  m_innerMatchDoF = matchDoF;
215  m_innerMatchProb = matchProb;
216 }

◆ innerMatch() [2/2]

void IndetMatchCandidate::innerMatch ( double  matchChi2,
int  matchDoF,
double  matchProb,
double  simpleChi2 
)

Definition at line 51 of file IndetMatchCandidate.cxx.

52 {
53  m_innerMatchChi2 = matchChi2;
54  m_innerMatchDoF = matchDoF;
55  m_innerMatchProb = matchProb;
56  m_simpleMatchChi2 = simpleChi2;
57 }

◆ innerMatchChi2()

double MuonMatch::innerMatchChi2 ( void  ) const
inlineinherited

Definition at line 219 of file MuonMatch.h.

220 { return m_innerMatchChi2; }

◆ innerMatchDoF()

int MuonMatch::innerMatchDoF ( void  ) const
inlineinherited

Definition at line 223 of file MuonMatch.h.

224 { return m_innerMatchDoF; }

◆ innerMatchProb()

double MuonMatch::innerMatchProb ( void  ) const
inlineinherited

Definition at line 227 of file MuonMatch.h.

228 { return m_innerMatchProb; }

◆ isType()

bool MuonMatch::isType ( MuonMatch::MatchType  type) const
inlineinherited

Definition at line 231 of file MuonMatch.h.

232 { return (m_matchType == type); }

◆ looseMatch() [1/2]

void MuonMatch::looseMatch ( bool  value)
inlineinherited

Definition at line 271 of file MuonMatch.h.

272 { m_looseMatch = value; }

◆ looseMatch() [2/2]

bool MuonMatch::looseMatch ( void  ) const
inlineinherited

Definition at line 267 of file MuonMatch.h.

268 { return m_looseMatch; }

◆ matchType() [1/2]

void MuonMatch::matchType ( MatchType  type)
inherited

Definition at line 183 of file MuonMatch.cxx.

184 { m_matchType = type; }

◆ matchType() [2/2]

MuonMatch::MatchType MuonMatch::matchType ( void  ) const
inlineinherited

Definition at line 235 of file MuonMatch.h.

236 { return m_matchType; }

◆ momentumBalanceSignificance() [1/2]

void MuonMatch::momentumBalanceSignificance ( double  value)
inherited

Definition at line 187 of file MuonMatch.cxx.

◆ momentumBalanceSignificance() [2/2]

double MuonMatch::momentumBalanceSignificance ( void  ) const
inlineinherited

Definition at line 239 of file MuonMatch.h.

◆ outerMatch()

void MuonMatch::outerMatch ( double  matchChi2,
int  matchDoF,
double  matchProb 
)
inlineinherited

Definition at line 243 of file MuonMatch.h.

244 {
245  m_outerMatchChi2 = matchChi2;
246  m_outerMatchDoF = matchDoF;
247  m_outerMatchProb = matchProb;
248 }

◆ outerMatchChi2()

double MuonMatch::outerMatchChi2 ( void  ) const
inlineinherited

Definition at line 251 of file MuonMatch.h.

252 { return m_outerMatchChi2; }

◆ outerMatchDoF()

int MuonMatch::outerMatchDoF ( void  ) const
inlineinherited

Definition at line 255 of file MuonMatch.h.

256 { return m_outerMatchDoF; }

◆ outerMatchProb()

double MuonMatch::outerMatchProb ( void  ) const
inlineinherited

Definition at line 259 of file MuonMatch.h.

260 { return m_outerMatchProb; }

◆ perigee()

const Trk::Perigee * IndetMatchCandidate::perigee ( void  ) const
inline

Definition at line 66 of file IndetMatchCandidate.h.

67 { return m_outgoingPerigee; }

◆ scatteringAngleSignificance() [1/2]

void MuonMatch::scatteringAngleSignificance ( const ScatteringAngleSignificance value)
inherited

Definition at line 191 of file MuonMatch.cxx.

◆ scatteringAngleSignificance() [2/2]

const ScatteringAngleSignificance & MuonMatch::scatteringAngleSignificance ( void  ) const
inlineinherited

Definition at line 263 of file MuonMatch.h.

◆ simpleMatch() [1/2]

void MuonMatch::simpleMatch ( bool  value)
inlineinherited

Definition at line 279 of file MuonMatch.h.

280 { m_simpleMatch = value; }

◆ simpleMatch() [2/2]

bool MuonMatch::simpleMatch ( void  ) const
inlineinherited

Definition at line 275 of file MuonMatch.h.

276 { return m_simpleMatch; }

◆ simpleMatchChi2()

double IndetMatchCandidate::simpleMatchChi2 ( void  ) const
inline

Definition at line 78 of file IndetMatchCandidate.h.

79 { return m_simpleMatchChi2; }

◆ spectrometerParticle()

const TrackParticle * MuonMatch::spectrometerParticle ( void  ) const
inlineinherited

Definition at line 187 of file MuonMatch.h.

188 { return m_spectrometerParticle; }

◆ spectrometerTrack()

const Trk::Track * MuonMatch::spectrometerTrack ( void  ) const
inlineinherited

Definition at line 191 of file MuonMatch.h.

192 { return m_spectrometerTrack; }

◆ track()

const Trk::Track & IndetMatchCandidate::track ( void  ) const
inline

Definition at line 70 of file IndetMatchCandidate.h.

71 { return *m_outgoingTrack; }

◆ vertex()

const Trk::RecVertex * MuonMatch::vertex ( void  ) const
inlineinherited

Definition at line 195 of file MuonMatch.h.

196 { return m_vertex; }

Member Data Documentation

◆ m_bestMatch

bool Rec::MuonMatch::m_bestMatch
protectedinherited

Definition at line 146 of file MuonMatch.h.

◆ m_combinedTrack

const Trk::Track* Rec::MuonMatch::m_combinedTrack
protectedinherited

Definition at line 138 of file MuonMatch.h.

◆ m_extrapolatedRefit

const Trk::Track* Rec::MuonMatch::m_extrapolatedRefit
protectedinherited

Definition at line 139 of file MuonMatch.h.

◆ m_extrapolatedTrack

const Trk::Track* Rec::MuonMatch::m_extrapolatedTrack
protectedinherited

Definition at line 140 of file MuonMatch.h.

◆ m_fieldIntegral

FieldIntegral Rec::MuonMatch::m_fieldIntegral
protectedinherited

Definition at line 147 of file MuonMatch.h.

◆ m_indetIndex

int Rec::IndetMatchCandidate::m_indetIndex
private

Definition at line 56 of file IndetMatchCandidate.h.

◆ m_indetParticle

const TrackParticle* Rec::MuonMatch::m_indetParticle
protectedinherited

Definition at line 141 of file MuonMatch.h.

◆ m_indetTrack

const Trk::Track* Rec::MuonMatch::m_indetTrack
protectedinherited

Definition at line 142 of file MuonMatch.h.

◆ m_innerMatchChi2

double Rec::MuonMatch::m_innerMatchChi2
protectedinherited

Definition at line 148 of file MuonMatch.h.

◆ m_innerMatchDoF

int Rec::MuonMatch::m_innerMatchDoF
protectedinherited

Definition at line 149 of file MuonMatch.h.

◆ m_innerMatchProb

double Rec::MuonMatch::m_innerMatchProb
protectedinherited

Definition at line 150 of file MuonMatch.h.

◆ m_looseMatch

bool Rec::MuonMatch::m_looseMatch
protectedinherited

Definition at line 159 of file MuonMatch.h.

◆ m_matchType

MatchType Rec::MuonMatch::m_matchType
protectedinherited

Definition at line 151 of file MuonMatch.h.

◆ m_momentumBalanceSignificance

double Rec::MuonMatch::m_momentumBalanceSignificance
protectedinherited

Definition at line 152 of file MuonMatch.h.

◆ m_outerMatchChi2

double Rec::MuonMatch::m_outerMatchChi2
protectedinherited

Definition at line 153 of file MuonMatch.h.

◆ m_outerMatchDoF

int Rec::MuonMatch::m_outerMatchDoF
protectedinherited

Definition at line 154 of file MuonMatch.h.

◆ m_outerMatchProb

double Rec::MuonMatch::m_outerMatchProb
protectedinherited

Definition at line 155 of file MuonMatch.h.

◆ m_outgoingPerigee

const Trk::Perigee* Rec::IndetMatchCandidate::m_outgoingPerigee
private

Definition at line 57 of file IndetMatchCandidate.h.

◆ m_outgoingTrack

const Trk::Track* Rec::IndetMatchCandidate::m_outgoingTrack
private

Definition at line 58 of file IndetMatchCandidate.h.

◆ m_scatteringAngleSignificance

ScatteringAngleSignificance Rec::MuonMatch::m_scatteringAngleSignificance
protectedinherited

Definition at line 156 of file MuonMatch.h.

◆ m_simpleMatch

bool Rec::MuonMatch::m_simpleMatch
protectedinherited

Definition at line 160 of file MuonMatch.h.

◆ m_simpleMatchChi2

double Rec::IndetMatchCandidate::m_simpleMatchChi2
private

Definition at line 59 of file IndetMatchCandidate.h.

◆ m_spectrometerParticle

const TrackParticle* Rec::MuonMatch::m_spectrometerParticle
protectedinherited

Definition at line 143 of file MuonMatch.h.

◆ m_spectrometerTrack

const Trk::Track* Rec::MuonMatch::m_spectrometerTrack
protectedinherited

Definition at line 144 of file MuonMatch.h.

◆ m_vertex

const Trk::RecVertex* Rec::MuonMatch::m_vertex
protectedinherited

Definition at line 145 of file MuonMatch.h.


The documentation for this class was generated from the following files:
Rec::MuonMatch::m_combinedTrack
const Trk::Track * m_combinedTrack
Definition: MuonMatch.h:138
Rec::MuonMatch::m_simpleMatch
bool m_simpleMatch
Definition: MuonMatch.h:160
Rec::MuonMatch::m_looseMatch
bool m_looseMatch
Definition: MuonMatch.h:159
Rec::MuonMatch::extrapolatedTrack
const Trk::Track * extrapolatedTrack(void) const
Definition: MuonMatch.h:175
Trk::Track
The ATLAS Track class.
Definition: Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
Rec::MuonMatch::m_spectrometerTrack
const Trk::Track * m_spectrometerTrack
Definition: MuonMatch.h:144
Rec::IndetMatchCandidate::m_simpleMatchChi2
double m_simpleMatchChi2
Definition: IndetMatchCandidate.h:59
Rec::MuonMatch::m_bestMatch
bool m_bestMatch
Definition: MuonMatch.h:146
Rec::MuonMatch::m_indetTrack
const Trk::Track * m_indetTrack
Definition: MuonMatch.h:142
Rec::MuonMatch::m_extrapolatedTrack
const Trk::Track * m_extrapolatedTrack
Definition: MuonMatch.h:140
Rec::MuonMatch::NumberOfMuonMatchTypes
@ NumberOfMuonMatchTypes
Definition: MuonMatch.h:58
Rec::MuonMatch::m_innerMatchDoF
int m_innerMatchDoF
Definition: MuonMatch.h:149
Rec::MuonMatch::Unmatched
@ Unmatched
Unmatched: no match found.
Definition: MuonMatch.h:56
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
Rec::MuonMatch::Vertex
@ Vertex
Vertex: matched to vertex rather than track.
Definition: MuonMatch.h:53
Rec::IndetMatchCandidate::m_indetIndex
int m_indetIndex
Definition: IndetMatchCandidate.h:56
Rec::MuonMatch::Inner
@ Inner
Inner: good inner match chi2.
Definition: MuonMatch.h:41
Rec::MuonMatch::m_vertex
const Trk::RecVertex * m_vertex
Definition: MuonMatch.h:145
Rec::IndetMatchCandidate::indetIndex
int indetIndex(void) const
Definition: IndetMatchCandidate.h:74
Rec::MuonMatch::m_outerMatchDoF
int m_outerMatchDoF
Definition: MuonMatch.h:154
Rec::MuonMatch::m_spectrometerParticle
const TrackParticle * m_spectrometerParticle
Definition: MuonMatch.h:143
Rec::MuonMatch::Simple
@ Simple
Simple: good simple (i.e.
Definition: MuonMatch.h:47
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::MuonMatch::Outer
@ Outer
Outer: good outer match chi2.
Definition: MuonMatch.h:44
Rec::MuonMatch::m_extrapolatedRefit
const Trk::Track * m_extrapolatedRefit
Definition: MuonMatch.h:139
Rec::IndetMatchCandidate::m_outgoingTrack
const Trk::Track * m_outgoingTrack
Definition: IndetMatchCandidate.h:58
Rec::MuonMatch::m_indetParticle
const TrackParticle * m_indetParticle
Definition: MuonMatch.h:141
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
Rec::MuonMatch::m_scatteringAngleSignificance
ScatteringAngleSignificance m_scatteringAngleSignificance
Definition: MuonMatch.h:156
Rec::MuonMatch::m_innerMatchProb
double m_innerMatchProb
Definition: MuonMatch.h:150
Rec::MuonMatch::m_momentumBalanceSignificance
double m_momentumBalanceSignificance
Definition: MuonMatch.h:152
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
Rec::MuonMatch::spectrometerTrack
const Trk::Track * spectrometerTrack(void) const
Definition: MuonMatch.h:191
Rec::MuonMatch::m_fieldIntegral
FieldIntegral m_fieldIntegral
Definition: MuonMatch.h:147
Rec::MuonMatch::m_outerMatchProb
double m_outerMatchProb
Definition: MuonMatch.h:155
Rec::MuonMatch::m_outerMatchChi2
double m_outerMatchChi2
Definition: MuonMatch.h:153
Rec::MuonMatch::Loose
@ Loose
Loose: no good match chi2 of any flavour.
Definition: MuonMatch.h:50
Rec::MuonMatch::Tight
@ Tight
Tight: good inner and outer match chi2.
Definition: MuonMatch.h:38