ATLAS Offline Software
MVFVxTrackAtVertex.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef VXMULTIVERTEX_MVFVXTRACKATVERTEX_H
6 #define VXMULTIVERTEX_MVFVXTRACKATVERTEX_H
7 
13 namespace Trk {
14 
27 class TrackToVtxLink;
28 class Track;
29 
31 {
32 public:
37 
43 
48  MVFVxTrackAtVertex(double chi2PerTrk,
51 
56  MVFVxTrackAtVertex(double chi2PerTrk,
58  double ndfPerTrk,
59  Trk::LinearizedTrack* linState = nullptr);
60 
65  MVFVxTrackAtVertex(double chi2PerTrk,
68  double ndfPerTrk,
69  Trk::LinearizedTrack* linState = nullptr);
70 
76 
81  const Track* track,
82  const TrackCollection* trackTES);
83 
85  const Trk::TrackParticleBase* trackparticle,
86  const Trk::TrackParticleBaseCollection* trkpartTES);
87 
93  TrackToVtxLink* actuallink);
94 
98  virtual ~MVFVxTrackAtVertex();
99 
104 
109 
114  virtual MVFVxTrackAtVertex* clone() const override;
115 
120 
124  const Trk::TrackToVtxLink* linkToVertices(void) const;
125 
130 
134  virtual MsgStream& dump(MsgStream& sl) const override;
135 
139  virtual std::ostream& dump(std::ostream& sl) const override;
140 
141 protected:
147 };
148 
151 {
152  return new MVFVxTrackAtVertex(*this);
153 }
154 
155 inline Trk::TrackToVtxLink*
157 {
158  return m_linkToVertices;
159 }
160 
161 inline const Trk::TrackToVtxLink*
163 {
164  return m_linkToVertices;
165 }
166 
167 }
168 #endif
169 
TrackParticleBaseCollection.h
Trk::MVFVxTrackAtVertex
Definition: MVFVxTrackAtVertex.h:31
TrackParameters.h
Trk::VxTrackAtVertex
The VxTrackAtVertex is a common class for all present TrkVertexFitters The VxTrackAtVertex is designe...
Definition: VxTrackAtVertex.h:77
TrackParticleBase.h
Trk::MVFVxTrackAtVertex::~MVFVxTrackAtVertex
virtual ~MVFVxTrackAtVertex()
Destructor.
Definition: MVFVxTrackAtVertex.cxx:110
Trk::VxTrackAtVertex::trackOrParticleLink
const ITrackLink * trackOrParticleLink(void) const
Trk::MVFVxTrackAtVertex::setLinkToVertices
void setLinkToVertices(TrackToVtxLink *trk)
Set method for linkToVertices object.
Definition: MVFVxTrackAtVertex.cxx:133
Trk::MVFVxTrackAtVertex::linkToVertices
Trk::TrackToVtxLink * linkToVertices(void)
Unconst access to linkToVertices object.
Definition: MVFVxTrackAtVertex.h:156
Trk::TrackParticleBase
Definition: TrackParticleBase.h:41
Trk::MVFVxTrackAtVertex::MVFVxTrackAtVertex
MVFVxTrackAtVertex(const MVFVxTrackAtVertex &rhs)
Copy constructor.
Trk::MVFVxTrackAtVertex::m_linkToVertices
TrackToVtxLink * m_linkToVertices
Pointer to the TrackToVtxLink object, which contains the association of this track with all the other...
Definition: MVFVxTrackAtVertex.h:146
TrackCollection.h
VxTrackAtVertex.h
Trk::ParametersBase
Definition: ParametersBase.h:55
Trk::MVFVxTrackAtVertex::clone
virtual MVFVxTrackAtVertex * clone() const override
A clone method for the proper workings of the copy constructor in VxCandidate.
Definition: MVFVxTrackAtVertex.h:150
Trk::MVFVxTrackAtVertex::operator=
MVFVxTrackAtVertex & operator=(const MVFVxTrackAtVertex &)
Assignement operator.
Definition: MVFVxTrackAtVertex.cxx:122
DataVector< Trk::Track >
Trk::MVFVxTrackAtVertex::dump
virtual MsgStream & dump(MsgStream &sl) const override
Output Method for MsgStream, to be overloaded by child classes.
Definition: MVFVxTrackAtVertex.cxx:137
Trk::VxTrackAtVertex::linState
LinearizedTrack * linState(void)
Access method for the perigee linearized track.
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::VxTrackAtVertex::perigeeAtVertex
const TrackParameters * perigeeAtVertex(void) const
Perigee parameters with respect to fitted vertex d_0 and z_0 are equal to 0 in case the trajectory wa...
Trk::MVFVxTrackAtVertex::MVFVxTrackAtVertex
MVFVxTrackAtVertex()
Default constructor.
Definition: MVFVxTrackAtVertex.cxx:35
Track
Definition: TriggerChamberClusterOnTrackCreator.h:21
xAOD::track
@ track
Definition: TrackingPrimitives.h:512
Trk::VxTrackAtVertex::initialPerigee
const TrackParameters * initialPerigee(void) const
Access to the initial perigee parameters of trajectory.
Definition: VxTrackAtVertex.cxx:351
Trk::LinearizedTrack
Definition: LinearizedTrack.h:43