Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
11 m_author(
author), m_position(position), m_tracks(0), m_chi2prob(chi2prob), m_chi2(
chi2), m_nMDT(nMDT), m_nRPC(nRPC), m_nTGC(nTGC) {}
14 int nMDT,
int nRPC,
int nTGC) :
45 void MSVertex::setNMDT(
const int nMDT,
const int nMDT_inwards,
const int nMDT_I,
const int nMDT_E,
const int nMDT_M,
const int nMDT_O) {
54 void MSVertex::setNRPC(
const int nRPC,
const int nRPC_inwards,
const int nRPC_I,
const int nRPC_E,
const int nRPC_M,
const int nRPC_O) {
63 void MSVertex::setNTGC(
const int nTGC,
const int nTGC_inwards,
const int nTGC_I,
const int nTGC_E,
const int nTGC_M,
const int nTGC_O) {
85 ss <<
"author = " <<
a.getAuthor() <<
"; x = " <<
a.getPosition().x() <<
"; y = " <<
a.getPosition().y()
86 <<
"; z = " <<
a.getPosition().z() <<
"; phi = " <<
a.getPosition().phi() <<
"; eta = " <<
a.getPosition().eta()
87 <<
"; chi2 prob. = " <<
a.getChi2Probability() <<
"; # tracks = " <<
a.getNTracks() <<
"; # MDT hits = " <<
a.getNMDT()
88 <<
"; # RPC hits = " <<
a.getNRPC() <<
"; # TGC hits = " <<
a.getNTGC();
97 const double DELTA = 1
e-3;
99 if (std::abs(
a.getPosition().x() -
b.getPosition().x()) > DELTA)
return false;
100 if (std::abs(
a.getPosition().y() -
b.getPosition().y()) > DELTA)
return false;
101 if (std::abs(
a.getPosition().z() -
b.getPosition().z()) > DELTA)
return false;
102 if (std::abs(
a.getPosition().eta() -
b.getPosition().eta()) > DELTA)
return false;
103 if (std::abs(
a.getPosition().phi() -
b.getPosition().phi()) > DELTA)
return false;
104 if (std::abs(
a.getChi2Probability() -
b.getChi2Probability()) > DELTA)
return false;
106 if (
a.getAuthor() -
b.getAuthor() != 0)
return false;
107 if (
a.getNTracks() -
b.getNTracks() != 0)
return false;
108 if (
a.getNMDT() -
b.getNMDT() != 0)
return false;
109 if (
a.getNRPC() -
b.getNRPC() != 0)
return false;
110 if (
a.getNTGC() -
b.getNTGC() != 0)
return false;
void setPosition(const Amg::Vector3D &)
void setNTGC(const int, const int, const int, const int, const int, const int)
double getChi2Probability() const
const std::vector< int > getNTGC_all() const
void setNMDT(const int, const int, const int, const int, const int, const int)
MsgStream & operator<<(MsgStream &m, const MSVertex &a)
std::vector< const xAOD::TrackParticle * > m_tracks
const std::vector< int > getNRPC_all() const
std::string str(const MSVertex &a)
const std::vector< const xAOD::TrackParticle * > * getTracks() const
void setNRPC(const int, const int, const int, const int, const int, const int)
const std::vector< int > getNMDT_all() const
double chi2(TH1 *h0, TH1 *h1)
void setAuthor(const int)
Eigen::Matrix< double, 3, 1 > Vector3D
bool operator==(const MSVertex &a, const MSVertex &b)
const Amg::Vector3D & getPosition() const