ATLAS Offline Software
Tracklet.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MSVERTEXUTILS_TRACKLET_H
6 #define MSVERTEXUTILS_TRACKLET_H
7 
8 #include <vector>
9 
13 
14 // HV Track Class
15 class Tracklet {
19  std::vector<const Muon::MdtPrepData*> m_mdts;
20  AmgSymMatrix(5) m_ErrorMatrix;
21  float m_charge;
22 
23 public:
24  Tracklet() {}
25  Tracklet(const TrackletSegment& ML1seg, const TrackletSegment& ML2seg, const Amg::Vector3D& p, const AmgSymMatrix(5) & ErrorMatrix,
26  float charge);
27  Tracklet(const TrackletSegment& ML1seg, const Amg::Vector3D& p, const AmgSymMatrix(5) & ErrorMatrix, float charge);
28 
30 
31  void momentum(const Amg::Vector3D& p);
32  void charge(float charge);
33 
34  int mdtChamber() const;
35  int mdtChEta() const;
36  int mdtChPhi() const;
37  const TrackletSegment& getML1seg() const;
38  const TrackletSegment& getML2seg() const;
39  const Amg::Vector3D& globalPosition() const;
40  const Amg::Vector3D& momentum() const;
41  float alpha() const;
42  float charge() const;
43  const AmgSymMatrix(5) & errorMatrix() const;
44  float deltaAlpha() const;
45  const std::vector<const Muon::MdtPrepData*>& mdtHitsOnTrack() const;
46 };
47 #endif
Tracklet::charge
float charge() const
Definition: Tracklet.cxx:50
Tracklet::AmgSymMatrix
AmgSymMatrix(5) m_ErrorMatrix
Tracklet::m_charge
float m_charge
Definition: Tracklet.h:21
Tracklet::momentum
const Amg::Vector3D & momentum() const
Definition: Tracklet.cxx:48
Tracklet::m_pos
Amg::Vector3D m_pos
Definition: Tracklet.h:18
Tracklet::deltaAlpha
float deltaAlpha() const
GeoPrimitives.h
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
Tracklet::alpha
float alpha() const
Definition: Tracklet.cxx:49
TrackletSegment
New segment class for single ML segments.
Definition: TrackletSegment.h:17
Tracklet::mdtChEta
int mdtChEta() const
Definition: Tracklet.cxx:43
Tracklet::mdtChPhi
int mdtChPhi() const
Definition: Tracklet.cxx:44
Tracklet::Tracklet
Tracklet()
Definition: Tracklet.h:24
Tracklet::getML1seg
const TrackletSegment & getML1seg() const
Definition: Tracklet.cxx:45
EventPrimitives.h
Tracklet::mdtHitsOnTrack
const std::vector< const Muon::MdtPrepData * > & mdtHitsOnTrack() const
Tracklet::getML2seg
const TrackletSegment & getML2seg() const
Definition: Tracklet.cxx:46
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
Tracklet::m_ml1seg
TrackletSegment m_ml1seg
Definition: Tracklet.h:16
Tracklet::~Tracklet
~Tracklet()
Tracklet::m_momentum
Amg::Vector3D m_momentum
Definition: Tracklet.h:17
Tracklet::AmgSymMatrix
const AmgSymMatrix(5) &errorMatrix() const
Tracklet::m_ml2seg
TrackletSegment m_ml2seg
Definition: Tracklet.h:16
Tracklet::mdtChamber
int mdtChamber() const
Definition: Tracklet.cxx:42
Tracklet::globalPosition
const Amg::Vector3D & globalPosition() const
Definition: Tracklet.cxx:47
Tracklet
Definition: Tracklet.h:15
Tracklet::m_mdts
std::vector< const Muon::MdtPrepData * > m_mdts
Definition: Tracklet.h:19
TrackletSegment.h