ATLAS Offline Software
TrigPrimaryVertexTrack.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGVERTEXFITTER_TRIGPRIMARYVERTEXTRACK_H
6 #define TRIGVERTEXFITTER_TRIGPRIMARYVERTEXTRACK_H
7 
8 class TrigL2Vertex;
9 class TrigInDetTrack;
10 namespace Trk {
11  class Track;
12 }
13 
15 {
16  public:
21  const Trk::Track* getTrkTrack();
22 
23  virtual double getChi2Distance(TrigL2Vertex*);
24  virtual void updateVertex(TrigL2Vertex*);
25  virtual MsgStream& report( MsgStream& ) const;
26  void setIndex(int);
27  int getIndex() const;
28  int getTrackType();
29  bool isActive();
30  void activate();
31  void mask();
32  const double* Perigee() const;
33  double PerigeeCovariance(int,int) const;
34  double getChi2Contribution();
35  private:
39  int m_index = 0;
40  double m_Vqq[3][3]{};
41  double m_Vuq[2][3]{};
42  double m_Vuu[2][2]{};
43  double m_u[2]{};
44  double m_q[3]{};
45  double m_Perigee[5]{};
46  double m_PerigeeCovariance[5][5]{};
47  double m_A[2][3]{};
48  double m_B[2][3]{};
49  double m_dChi2;
50  bool m_active;
51 };
52 
53 
54 #endif // not TRIGVERTEXFITTER_TRIGPRIMARYVERTEXTRACK_H
TrigPrimaryVertexTrack::setIndex
void setIndex(int)
to be used by TrigVertexingTool
Definition: TrigPrimaryVertexTrack.cxx:129
TrigPrimaryVertexTrack::m_A
double m_A[2][3]
Definition: TrigPrimaryVertexTrack.h:47
TrigPrimaryVertexTrack::report
virtual MsgStream & report(MsgStream &) const
Definition: TrigPrimaryVertexTrack.cxx:273
TrigPrimaryVertexTrack::m_pTrkTrack
const Trk::Track * m_pTrkTrack
Definition: TrigPrimaryVertexTrack.h:37
TrigPrimaryVertexTrack::getTrigTrack
const TrigInDetTrack * getTrigTrack()
getter for L2 tracks
Definition: TrigPrimaryVertexTrack.cxx:119
TrigPrimaryVertexTrack::getIndex
int getIndex() const
to be used by TrigVertexingTool
Definition: TrigPrimaryVertexTrack.cxx:134
TrigPrimaryVertexTrack::m_Vqq
double m_Vqq[3][3]
Definition: TrigPrimaryVertexTrack.h:40
TrigPrimaryVertexTrack::m_Perigee
double m_Perigee[5]
Definition: TrigPrimaryVertexTrack.h:45
Trk::Track
The ATLAS Track class.
Definition: Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
TrigPrimaryVertexTrack::updateVertex
virtual void updateVertex(TrigL2Vertex *)
implementation of abstract method from the base class
Definition: TrigPrimaryVertexTrack.cxx:248
TrigPrimaryVertexTrack::m_nTrackType
int m_nTrackType
Definition: TrigPrimaryVertexTrack.h:38
TrigVertexFittingNode
This is the implementation of classes used by TrigL2VertexFitter:
Definition: TrigL2Vertex.h:38
TrigPrimaryVertexTrack::PerigeeCovariance
double PerigeeCovariance(int, int) const
covariance of track parameters at the perigee
Definition: TrigPrimaryVertexTrack.cxx:144
TrigPrimaryVertexTrack::mask
void mask()
sets m_isActive to false
Definition: TrigPrimaryVertexTrack.cxx:98
TrigInDetTrack
Definition: TrigInDetTrack.h:34
TrigPrimaryVertexTrack::m_q
double m_q[3]
Definition: TrigPrimaryVertexTrack.h:44
TrigL2Vertex
Definition: TrigL2Vertex.h:146
TrigPrimaryVertexTrack::getChi2Contribution
double getChi2Contribution()
chi2-contribution to the vertex fit
Definition: TrigPrimaryVertexTrack.cxx:243
TrigPrimaryVertexTrack::getChi2Distance
virtual double getChi2Distance(TrigL2Vertex *)
implementation of abstract method from the base class
Definition: TrigPrimaryVertexTrack.cxx:149
TrigPrimaryVertexTrack::m_index
int m_index
Definition: TrigPrimaryVertexTrack.h:39
TrigPrimaryVertexTrack
Definition: TrigPrimaryVertexTrack.h:15
TrigPrimaryVertexTrack::getTrackType
int getTrackType()
0: L2 track, 1: EF(offline) track
Definition: TrigPrimaryVertexTrack.cxx:113
TrigPrimaryVertexTrack::m_PerigeeCovariance
double m_PerigeeCovariance[5][5]
Definition: TrigPrimaryVertexTrack.h:46
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
TrigPrimaryVertexTrack::activate
void activate()
sets m_isActive to true
Definition: TrigPrimaryVertexTrack.cxx:103
TrigPrimaryVertexTrack::m_pTrigTrack
const TrigInDetTrack * m_pTrigTrack
Definition: TrigPrimaryVertexTrack.h:36
TrigPrimaryVertexTrack::TrigPrimaryVertexTrack
TrigPrimaryVertexTrack(const TrigInDetTrack *)
constructor for L2 tracks
Definition: TrigPrimaryVertexTrack.cxx:11
TrigPrimaryVertexTrack::m_Vuu
double m_Vuu[2][2]
Definition: TrigPrimaryVertexTrack.h:42
TrigPrimaryVertexTrack::getTrkTrack
const Trk::Track * getTrkTrack()
getter for EF (offline) tracks
Definition: TrigPrimaryVertexTrack.cxx:124
TrigPrimaryVertexTrack::Perigee
const double * Perigee() const
track parameters at the perigee
Definition: TrigPrimaryVertexTrack.cxx:139
TrigPrimaryVertexTrack::m_Vuq
double m_Vuq[2][3]
Definition: TrigPrimaryVertexTrack.h:41
TrigPrimaryVertexTrack::~TrigPrimaryVertexTrack
~TrigPrimaryVertexTrack()
Definition: TrigPrimaryVertexTrack.cxx:93
Track
Definition: TriggerChamberClusterOnTrackCreator.h:21
TrigPrimaryVertexTrack::m_B
double m_B[2][3]
Definition: TrigPrimaryVertexTrack.h:48
TrigPrimaryVertexTrack::isActive
bool isActive()
if true this track will be used in the vertex fit otherwise it will be masked
Definition: TrigPrimaryVertexTrack.cxx:108
TrigPrimaryVertexTrack::m_u
double m_u[2]
Definition: TrigPrimaryVertexTrack.h:43
TrigPrimaryVertexTrack::m_active
bool m_active
Definition: TrigPrimaryVertexTrack.h:50
TrigPrimaryVertexTrack::m_dChi2
double m_dChi2
Definition: TrigPrimaryVertexTrack.h:49