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

#include <MuidTrack.h>

Inheritance diagram for MuidTrack:
Collaboration diagram for MuidTrack:

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

 MuidTrack (Rec::MuonMatch &muonMatch)
 
 MuidTrack (const Trk::Track *combinedTrack, const Trk::Track *extrapolatedTrack, const Trk::Track *indetTrack, const Trk::Track *spectrometerTrack, const Rec::FieldIntegral &fieldIntegral=Rec::FieldIntegral(), double innerMatchChi2=0., int innerMatchDoF=0, double innerMatchProb=0., double momentumBalanceSignificance=0., double outerMatchChi2=0., int outerMatchDoF=0, double outerMatchProb=0., const Rec::ScatteringAngleSignificance &scatAngleSignificance=Rec::ScatteringAngleSignificance())
 
virtual ~MuidTrack ()
 
double matchChi2 (void) const
 
int matchDoF (void) const
 
double matchProb (void) const
 
int muonCode (void) const
 
void muonCode (int value)
 
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 TrackParticle * indetParticle (void) const
 
const Trk::TrackindetTrack (void) const
 
const TrackParticle * spectrometerParticle (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 FieldIntegral & fieldIntegral (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 ScatteringAngleSignificance & scatteringAngleSignificance (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 TrackParticle * m_indetParticle
 
const Trk::Trackm_indetTrack
 
const TrackParticle * m_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_muonCode
 

Detailed Description

simple inheritance from MuonMatch: to provide backwards compatibility for clients based on old iPatTrack Dummy methods

Author
Alan..nosp@m.Popp.nosp@m.leton.nosp@m.@cer.nosp@m.n.ch

Definition at line 26 of file MuidTrack.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

◆ MuidTrack() [1/2]

MuidTrack::MuidTrack ( Rec::MuonMatch muonMatch)

Definition at line 20 of file MuidTrack.cxx.

21  : MuonMatch (muonMatch),
22  m_muonCode (0)
23 {}

◆ MuidTrack() [2/2]

MuidTrack::MuidTrack ( const Trk::Track combinedTrack,
const Trk::Track extrapolatedTrack,
const Trk::Track indetTrack,
const Trk::Track spectrometerTrack,
const Rec::FieldIntegral fieldIntegral = Rec::FieldIntegral(),
double  innerMatchChi2 = 0.,
int  innerMatchDoF = 0,
double  innerMatchProb = 0.,
double  momentumBalanceSignificance = 0.,
double  outerMatchChi2 = 0.,
int  outerMatchDoF = 0,
double  outerMatchProb = 0.,
const Rec::ScatteringAngleSignificance scatAngleSignificance = Rec::ScatteringAngleSignificance() 
)

Definition at line 26 of file MuidTrack.cxx.

◆ ~MuidTrack()

MuidTrack::~MuidTrack ( )
virtualdefault

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; }

◆ 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; }

◆ 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()

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 }

◆ 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; }

◆ matchChi2()

double MuidTrack::matchChi2 ( void  ) const
inline

Definition at line 67 of file MuidTrack.h.

68 { return m_innerMatchChi2; }

◆ matchDoF()

int MuidTrack::matchDoF ( void  ) const
inline

Definition at line 71 of file MuidTrack.h.

72 { return m_innerMatchDoF; }

◆ matchProb()

double MuidTrack::matchProb ( void  ) const
inline

Definition at line 75 of file MuidTrack.h.

76 { return m_innerMatchProb; }

◆ 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.

◆ muonCode() [1/2]

void MuidTrack::muonCode ( int  value)
inline

Definition at line 83 of file MuidTrack.h.

84 { m_muonCode = value; }

◆ muonCode() [2/2]

int MuidTrack::muonCode ( void  ) const
inline

Definition at line 79 of file MuidTrack.h.

80 { return m_muonCode; }

◆ 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; }

◆ 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; }

◆ 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; }

◆ 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_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_muonCode

int MuidTrack::m_muonCode
private

Definition at line 61 of file MuidTrack.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_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_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::combinedTrack
const Trk::Track * combinedTrack(void) const
Definition: MuonMatch.h:167
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::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::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::MuonMatch::outerMatchProb
double outerMatchProb(void) const
Definition: MuonMatch.h:259
Rec::MuonMatch::innerMatchChi2
double innerMatchChi2(void) const
Definition: MuonMatch.h:219
Rec::MuonMatch::Inner
@ Inner
Inner: good inner match chi2.
Definition: MuonMatch.h:41
MuidTrack::m_muonCode
int m_muonCode
Definition: MuidTrack.h:61
Rec::MuonMatch::m_vertex
const Trk::RecVertex * m_vertex
Definition: MuonMatch.h:145
Rec::MuonMatch::MuonMatch
MuonMatch(const MuonMatch &)
Rec::MuonMatch::m_outerMatchDoF
int m_outerMatchDoF
Definition: MuonMatch.h:154
Rec::MuonMatch::outerMatchChi2
double outerMatchChi2(void) const
Definition: MuonMatch.h:251
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
Rec::MuonMatch::momentumBalanceSignificance
double momentumBalanceSignificance(void) const
Definition: MuonMatch.h:239
Rec::MuonMatch::m_matchType
MatchType m_matchType
Definition: MuonMatch.h:151
Rec::MuonMatch::innerMatchDoF
int innerMatchDoF(void) const
Definition: MuonMatch.h:223
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::MuonMatch::innerMatchProb
double innerMatchProb(void) const
Definition: MuonMatch.h:227
Rec::MuonMatch::m_indetParticle
const TrackParticle * m_indetParticle
Definition: MuonMatch.h:141
Rec::MuonMatch::fieldIntegral
const FieldIntegral & fieldIntegral(void) const
Definition: MuonMatch.h:207
Rec::MuonMatch::scatteringAngleSignificance
const ScatteringAngleSignificance & scatteringAngleSignificance(void) const
Definition: MuonMatch.h:263
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::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::outerMatchDoF
int outerMatchDoF(void) const
Definition: MuonMatch.h:255
Rec::MuonMatch::Tight
@ Tight
Tight: good inner and outer match chi2.
Definition: MuonMatch.h:38