ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
Analysis::IPTrackInfo Class Reference

#include <IPTrackInfo.h>

Collaboration diagram for Analysis::IPTrackInfo:

Public Member Functions

 IPTrackInfo ()
 
 IPTrackInfo (const Rec::TrackParticleContainer *coll, const Rec::TrackParticle *trk, const TrackGrade &grade, bool isFromV0, double d0val, double d0sig, double z0val, double z0sig)
 
 IPTrackInfo (const ElementLink< Rec::TrackParticleContainer > &track, const TrackGrade &grade, bool isFromV0, double d0val, double d0sig, double z0val, double z0sig)
 
void setTrackWeight2D (double w)
 
void setTrackWeight3D (double w)
 
void setTrackProbJP (double p)
 
void setTrackProbJPneg (double p)
 
const Rec::TrackParticletrack () const
 
const ElementLink< Rec::TrackParticleContainer > & trackLink () const
 
const TrackGradetrackGrade () const
 
bool isFromV0 () const
 
double d0Value () const
 
double d0Significance () const
 
double z0Value () const
 
double z0Significance () const
 
double trackWeight2D () const
 
double trackWeight3D () const
 
double trackProbJP () const
 
double trackProbJPneg () const
 
void resetW ()
 

Private Attributes

ElementLink< Rec::TrackParticleContainerm_track
 
TrackGrade m_trackGrade
 
bool m_isFromV0
 
double m_valD0wrtPV
 
double m_sigD0wrtPV
 
double m_valZ0wrtPV
 
double m_sigZ0wrtPV
 
double m_trackWeight2D
 
double m_trackWeight3D
 
double m_trackProbJP
 
double m_trackProbJPneg
 

Detailed Description

Definition at line 18 of file IPTrackInfo.h.

Constructor & Destructor Documentation

◆ IPTrackInfo() [1/3]

Analysis::IPTrackInfo::IPTrackInfo ( )

Definition at line 13 of file IPTrackInfo.cxx.

13  :
15  m_trackGrade(),
16  m_isFromV0(false),
17  m_valD0wrtPV(0),
18  m_sigD0wrtPV(0),
19  m_valZ0wrtPV(0),
20  m_sigZ0wrtPV(0),
21  m_trackWeight2D(0),
22  m_trackWeight3D(0),
23  m_trackProbJP(0),
25 {
26 }

◆ IPTrackInfo() [2/3]

Analysis::IPTrackInfo::IPTrackInfo ( const Rec::TrackParticleContainer coll,
const Rec::TrackParticle trk,
const TrackGrade grade,
bool  isFromV0,
double  d0val,
double  d0sig,
double  z0val,
double  z0sig 
)

Definition at line 28 of file IPTrackInfo.cxx.

34  : m_trackWeight2D(0),
35  m_trackWeight3D(0),
36  m_trackProbJP(0),
38 {
40  if( link.toContainedElement(*coll, const_cast<Rec::TrackParticle*>(trk)) ) {
41  m_track = link;
42  }
43  m_trackGrade = grade;
45  m_valD0wrtPV = d0val;
46  m_sigD0wrtPV = d0sig;
47  m_valZ0wrtPV = z0val;
48  m_sigZ0wrtPV = z0sig;
49 }

◆ IPTrackInfo() [3/3]

Analysis::IPTrackInfo::IPTrackInfo ( const ElementLink< Rec::TrackParticleContainer > &  track,
const TrackGrade grade,
bool  isFromV0,
double  d0val,
double  d0sig,
double  z0val,
double  z0sig 
)

Definition at line 51 of file IPTrackInfo.cxx.

56  : m_track (track),
57  m_trackGrade (grade),
59  m_valD0wrtPV (d0val),
60  m_sigD0wrtPV (d0sig),
61  m_valZ0wrtPV (z0val),
62  m_sigZ0wrtPV (z0sig),
63  m_trackWeight2D(0),
64  m_trackWeight3D(0),
65  m_trackProbJP(0),
67 {
68 }

Member Function Documentation

◆ d0Significance()

double Analysis::IPTrackInfo::d0Significance ( ) const
inline

Definition at line 42 of file IPTrackInfo.h.

42 { return m_sigD0wrtPV; }

◆ d0Value()

double Analysis::IPTrackInfo::d0Value ( ) const
inline

Definition at line 41 of file IPTrackInfo.h.

41 { return m_valD0wrtPV; }

◆ isFromV0()

bool Analysis::IPTrackInfo::isFromV0 ( ) const
inline

Definition at line 40 of file IPTrackInfo.h.

40 { return m_isFromV0; }

◆ resetW()

void Analysis::IPTrackInfo::resetW ( )
inline

Definition at line 49 of file IPTrackInfo.h.

◆ setTrackProbJP()

void Analysis::IPTrackInfo::setTrackProbJP ( double  p)
inline

Definition at line 34 of file IPTrackInfo.h.

34 { m_trackProbJP = p; }

◆ setTrackProbJPneg()

void Analysis::IPTrackInfo::setTrackProbJPneg ( double  p)
inline

Definition at line 35 of file IPTrackInfo.h.

35 { m_trackProbJPneg = p; }

◆ setTrackWeight2D()

void Analysis::IPTrackInfo::setTrackWeight2D ( double  w)
inline

Definition at line 32 of file IPTrackInfo.h.

32 { m_trackWeight2D = w; }

◆ setTrackWeight3D()

void Analysis::IPTrackInfo::setTrackWeight3D ( double  w)
inline

Definition at line 33 of file IPTrackInfo.h.

33 { m_trackWeight3D = w; }

◆ track()

const Rec::TrackParticle * Analysis::IPTrackInfo::track ( ) const

Definition at line 70 of file IPTrackInfo.cxx.

70  {
71  if( m_track.isValid() ) {
72  return *(m_track);
73  } else {
74  return 0;
75  }
76 }

◆ trackGrade()

const TrackGrade& Analysis::IPTrackInfo::trackGrade ( ) const
inline

Definition at line 39 of file IPTrackInfo.h.

39 { return m_trackGrade; }

◆ trackLink()

const ElementLink<Rec::TrackParticleContainer>& Analysis::IPTrackInfo::trackLink ( ) const
inline

Definition at line 37 of file IPTrackInfo.h.

38  { return m_track; }

◆ trackProbJP()

double Analysis::IPTrackInfo::trackProbJP ( ) const
inline

Definition at line 47 of file IPTrackInfo.h.

47 { return m_trackProbJP; }

◆ trackProbJPneg()

double Analysis::IPTrackInfo::trackProbJPneg ( ) const
inline

Definition at line 48 of file IPTrackInfo.h.

48 { return m_trackProbJPneg; }

◆ trackWeight2D()

double Analysis::IPTrackInfo::trackWeight2D ( ) const
inline

Definition at line 45 of file IPTrackInfo.h.

45 { return m_trackWeight2D; }

◆ trackWeight3D()

double Analysis::IPTrackInfo::trackWeight3D ( ) const
inline

Definition at line 46 of file IPTrackInfo.h.

46 { return m_trackWeight3D; }

◆ z0Significance()

double Analysis::IPTrackInfo::z0Significance ( ) const
inline

Definition at line 44 of file IPTrackInfo.h.

44 { return m_sigZ0wrtPV; }

◆ z0Value()

double Analysis::IPTrackInfo::z0Value ( ) const
inline

Definition at line 43 of file IPTrackInfo.h.

43 { return m_valZ0wrtPV; }

Member Data Documentation

◆ m_isFromV0

bool Analysis::IPTrackInfo::m_isFromV0
private

Definition at line 53 of file IPTrackInfo.h.

◆ m_sigD0wrtPV

double Analysis::IPTrackInfo::m_sigD0wrtPV
private

Definition at line 55 of file IPTrackInfo.h.

◆ m_sigZ0wrtPV

double Analysis::IPTrackInfo::m_sigZ0wrtPV
private

Definition at line 57 of file IPTrackInfo.h.

◆ m_track

ElementLink<Rec::TrackParticleContainer> Analysis::IPTrackInfo::m_track
private

Definition at line 51 of file IPTrackInfo.h.

◆ m_trackGrade

TrackGrade Analysis::IPTrackInfo::m_trackGrade
private

Definition at line 52 of file IPTrackInfo.h.

◆ m_trackProbJP

double Analysis::IPTrackInfo::m_trackProbJP
private

Definition at line 60 of file IPTrackInfo.h.

◆ m_trackProbJPneg

double Analysis::IPTrackInfo::m_trackProbJPneg
private

Definition at line 61 of file IPTrackInfo.h.

◆ m_trackWeight2D

double Analysis::IPTrackInfo::m_trackWeight2D
private

Definition at line 58 of file IPTrackInfo.h.

◆ m_trackWeight3D

double Analysis::IPTrackInfo::m_trackWeight3D
private

Definition at line 59 of file IPTrackInfo.h.

◆ m_valD0wrtPV

double Analysis::IPTrackInfo::m_valD0wrtPV
private

Definition at line 54 of file IPTrackInfo.h.

◆ m_valZ0wrtPV

double Analysis::IPTrackInfo::m_valZ0wrtPV
private

Definition at line 56 of file IPTrackInfo.h.


The documentation for this class was generated from the following files:
Analysis::IPTrackInfo::m_sigZ0wrtPV
double m_sigZ0wrtPV
Definition: IPTrackInfo.h:57
Analysis::IPTrackInfo::track
const Rec::TrackParticle * track() const
Definition: IPTrackInfo.cxx:70
Analysis::IPTrackInfo::m_trackProbJP
double m_trackProbJP
Definition: IPTrackInfo.h:60
Analysis::IPTrackInfo::m_isFromV0
bool m_isFromV0
Definition: IPTrackInfo.h:53
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
Analysis::IPTrackInfo::m_trackWeight2D
double m_trackWeight2D
Definition: IPTrackInfo.h:58
Analysis::IPTrackInfo::m_trackGrade
TrackGrade m_trackGrade
Definition: IPTrackInfo.h:52
Analysis::IPTrackInfo::m_trackWeight3D
double m_trackWeight3D
Definition: IPTrackInfo.h:59
Analysis::IPTrackInfo::m_sigD0wrtPV
double m_sigD0wrtPV
Definition: IPTrackInfo.h:55
Analysis::IPTrackInfo::m_track
ElementLink< Rec::TrackParticleContainer > m_track
Definition: IPTrackInfo.h:51
Analysis::IPTrackInfo::m_valD0wrtPV
double m_valD0wrtPV
Definition: IPTrackInfo.h:54
Rec::TrackParticle
Definition: Reconstruction/Particle/Particle/TrackParticle.h:47
python.IoTestsLib.w
def w
Definition: IoTestsLib.py:200
Analysis::IPTrackInfo::m_trackProbJPneg
double m_trackProbJPneg
Definition: IPTrackInfo.h:61
Analysis::IPTrackInfo::m_valZ0wrtPV
double m_valZ0wrtPV
Definition: IPTrackInfo.h:56
Analysis::IPTrackInfo::isFromV0
bool isFromV0() const
Definition: IPTrackInfo.h:40