ATLAS Offline Software
MSVertex.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_MSVERTEX_H
6 #define MSVERTEXUTILS_MSVERTEX_H
7 
8 #include "GaudiKernel/MsgStream.h"
11 
12 class MSVertex {
13 public:
14  MSVertex();
15  MSVertex(const MSVertex&);
16  MSVertex(int, const Amg::Vector3D&, float, float, int, int, int);
17  MSVertex(int, const Amg::Vector3D&, const std::vector<xAOD::TrackParticle*>&, float, float, int, int, int);
18  MSVertex& operator=(const MSVertex& msvx);
19 
20  virtual ~MSVertex();
21 
22  MSVertex* clone();
23 
24  void setPosition(const Amg::Vector3D&);
25 
26  const Amg::Vector3D& getPosition() const;
27 
28  const std::vector<xAOD::TrackParticle*>* getTracks() const;
29 
30  void setAuthor(const int);
31 
32  int getAuthor() const;
33 
34  float getChi2Probability() const;
35  float getChi2() const;
36 
37  int getNTracks() const;
38 
39  void setNMDT(const int);
40  void setNRPC(const int);
41  void setNTGC(const int);
42 
43  int getNMDT() const;
44  int getNRPC() const;
45  int getNTGC() const;
46 
47 private:
48  unsigned int m_author;
49 
51 
52  std::vector<xAOD::TrackParticle*> m_tracks;
53 
55 
57 };
58 
59 std::string str(const MSVertex& a);
60 
61 MsgStream& operator<<(MsgStream& m, const MSVertex& a);
62 
63 bool operator==(const MSVertex& a, const MSVertex& b);
64 
65 inline bool operator!=(const MSVertex& a, const MSVertex& b) { return !(a == b); }
66 
67 #endif // MSVERTEXUTILS_MSVERTEX_H
MSVertex::m_nMDT
int m_nMDT
Definition: MSVertex.h:56
MSVertex::setPosition
void setPosition(const Amg::Vector3D &)
Definition: MSVertex.cxx:76
MSVertex::getNTracks
int getNTracks() const
Definition: MSVertex.cxx:88
MSVertex::m_position
Amg::Vector3D m_position
Definition: MSVertex.h:50
python.SystemOfUnits.m
int m
Definition: SystemOfUnits.py:91
MSVertex::m_nTGC
int m_nTGC
Definition: MSVertex.h:56
MSVertex::m_chi2
float m_chi2
Definition: MSVertex.h:54
MSVertex::clone
MSVertex * clone()
Definition: MSVertex.cxx:68
MSVertex::m_tracks
std::vector< xAOD::TrackParticle * > m_tracks
Definition: MSVertex.h:52
operator!=
bool operator!=(const MSVertex &a, const MSVertex &b)
Definition: MSVertex.h:65
MSVertex
Definition: MSVertex.h:12
MSVertex::getChi2
float getChi2() const
Definition: MSVertex.cxx:86
str
std::string str(const MSVertex &a)
Definition: MSVertex.cxx:103
GeoPrimitives.h
MSVertex::m_chi2prob
float m_chi2prob
Definition: MSVertex.h:54
MSVertex::getNRPC
int getNRPC() const
Definition: MSVertex.cxx:100
operator==
bool operator==(const MSVertex &a, const MSVertex &b)
Definition: MSVertex.cxx:116
MSVertex::~MSVertex
virtual ~MSVertex()
Definition: MSVertex.cxx:41
MSVertex::getNMDT
int getNMDT() const
Definition: MSVertex.cxx:99
MSVertex::setNRPC
void setNRPC(const int)
Definition: MSVertex.cxx:96
operator<<
MsgStream & operator<<(MsgStream &m, const MSVertex &a)
Definition: MSVertex.cxx:114
MSVertex::getChi2Probability
float getChi2Probability() const
Definition: MSVertex.cxx:85
MSVertex::setNTGC
void setNTGC(const int)
Definition: MSVertex.cxx:97
MSVertex::operator=
MSVertex & operator=(const MSVertex &msvx)
Definition: MSVertex.cxx:51
MSVertex::setAuthor
void setAuthor(const int)
Definition: MSVertex.cxx:82
MSVertex::m_author
unsigned int m_author
Definition: MSVertex.h:48
MSVertex::getNTGC
int getNTGC() const
Definition: MSVertex.cxx:101
MSVertex::m_nRPC
int m_nRPC
Definition: MSVertex.h:56
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
TrackParticle.h
MSVertex::setNMDT
void setNMDT(const int)
Definition: MSVertex.cxx:95
a
TList * a
Definition: liststreamerinfos.cxx:10
MSVertex::MSVertex
MSVertex()
Definition: MSVertex.cxx:11
MSVertex::getTracks
const std::vector< xAOD::TrackParticle * > * getTracks() const
Definition: MSVertex.cxx:80
MSVertex::getAuthor
int getAuthor() const
Definition: MSVertex.cxx:84
MSVertex::getPosition
const Amg::Vector3D & getPosition() const
Definition: MSVertex.cxx:78