ATLAS Offline Software
TrackletSegment.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 MSVERTEX_TRACKLETSEGMENT_H
6 #define MSVERTEX_TRACKLETSEGMENT_H
7 
8 #include <vector>
9 
11 
12 namespace Muon {
13  class MdtPrepData;
14 }
15 
18  int m_chamber;
21  float m_alpha, m_dalpha; // angle of the segment
22  float m_rErr, m_zErr; // error on the r & z coordinates
23  Amg::Vector3D m_globalPosition; // GlobalPosition of the segment
24  float m_chmid; // radius of the middle of the chamber
25  std::vector<const Muon::MdtPrepData*> m_mdts; // vector of hits on track
26  int m_pattern;
28 
29 public:
31  TrackletSegment(int ch, int cheta, int chphi, float chmid, float alpha, float dalpha, const Amg::Vector3D& gpos, float rErr, float zErr,
32  const std::vector<const Muon::MdtPrepData*>& mdts, int pattern);
34 
35  // set functions
36  void clearMdt();
37  void isCombined(bool iscomb);
38 
39  // get functions
40  int mdtChamber() const;
41  int mdtChEta() const;
42  int mdtChPhi() const;
43  float alpha() const;
44  float alphaError() const;
45  float zError() const;
46  float rError() const;
47  float getChMidPoint() const;
48  bool isCombined() const;
49  const Amg::Vector3D& globalPosition() const;
50  const std::vector<const Muon::MdtPrepData*>& mdtHitsOnTrack() const;
51  int getHitPattern() const;
52 };
53 
54 #endif
mergePhysValFiles.pattern
pattern
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:26
TrackletSegment::clearMdt
void clearMdt()
Definition: TrackletSegment.cxx:43
Trk::PrepRawDataType::MdtPrepData
@ MdtPrepData
sendEI_SPB.ch
ch
Definition: sendEI_SPB.py:35
TrackletSegment::m_zErr
float m_zErr
Definition: TrackletSegment.h:22
TrackletSegment::m_cham_phi
int m_cham_phi
Definition: TrackletSegment.h:20
TrackletSegment::m_dalpha
float m_dalpha
Definition: TrackletSegment.h:21
TrackletSegment::m_pattern
int m_pattern
Definition: TrackletSegment.h:26
TrackletSegment::m_cham_eta
int m_cham_eta
Definition: TrackletSegment.h:19
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:49
TrackletSegment::alphaError
float alphaError() const
Definition: TrackletSegment.cxx:55
TrackletSegment::isCombined
bool isCombined() const
Definition: TrackletSegment.cxx:59
TrackletSegment::globalPosition
const Amg::Vector3D & globalPosition() const
Definition: TrackletSegment.cxx:60
GeoPrimitives.h
TrackletSegment::mdtChamber
int mdtChamber() const
Definition: TrackletSegment.cxx:51
TrackletSegment::getChMidPoint
float getChMidPoint() const
Definition: TrackletSegment.cxx:58
TrackletSegment
New segment class for single ML segments.
Definition: TrackletSegment.h:17
TrackletSegment::zError
float zError() const
Definition: TrackletSegment.cxx:56
TrackletSegment::rError
float rError() const
Definition: TrackletSegment.cxx:57
TrackletSegment::~TrackletSegment
~TrackletSegment()
TrackletSegment::TrackletSegment
TrackletSegment()
Definition: TrackletSegment.cxx:9
TrackletSegment::m_mdts
std::vector< const Muon::MdtPrepData * > m_mdts
Definition: TrackletSegment.h:25
TrackletSegment::m_isCombined
bool m_isCombined
Definition: TrackletSegment.h:27
TrackletSegment::m_globalPosition
Amg::Vector3D m_globalPosition
Definition: TrackletSegment.h:23
TrackletSegment::m_rErr
float m_rErr
Definition: TrackletSegment.h:22
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
TrackletSegment::m_chamber
int m_chamber
Definition: TrackletSegment.h:18
TrackletSegment::mdtHitsOnTrack
const std::vector< const Muon::MdtPrepData * > & mdtHitsOnTrack() const
Definition: TrackletSegment.cxx:61
TrackletSegment::m_alpha
float m_alpha
Definition: TrackletSegment.h:21
TrackletSegment::alpha
float alpha() const
Definition: TrackletSegment.cxx:54
TrackletSegment::mdtChEta
int mdtChEta() const
Definition: TrackletSegment.cxx:52
TrackletSegment::mdtChPhi
int mdtChPhi() const
Definition: TrackletSegment.cxx:53
TrackletSegment::getHitPattern
int getHitPattern() const
Definition: TrackletSegment.cxx:62
TrackletSegment::m_chmid
float m_chmid
Definition: TrackletSegment.h:24