#include "GaudiKernel/MsgStream.h"
#include "GeoPrimitives/GeoPrimitives.h"
#include "xAODTracking/TrackParticle.h"
Go to the source code of this file.
◆ operator!=()
◆ operator<<()
◆ operator==()
Definition at line 116 of file MSVertex.cxx.
118 const double DELTA = 1
e-3;
120 if (std::abs(
a.getPosition().x() -
b.getPosition().x()) > DELTA)
return false;
121 if (std::abs(
a.getPosition().y() -
b.getPosition().y()) > DELTA)
return false;
122 if (std::abs(
a.getPosition().z() -
b.getPosition().z()) > DELTA)
return false;
123 if (std::abs(
a.getPosition().eta() -
b.getPosition().eta()) > DELTA)
return false;
124 if (std::abs(
a.getPosition().phi() -
b.getPosition().phi()) > DELTA)
return false;
125 if (std::abs(
a.getChi2Probability() -
b.getChi2Probability()) > DELTA)
return false;
127 if (
a.getAuthor() -
b.getAuthor() != 0)
return false;
128 if (
a.getNTracks() -
b.getNTracks() != 0)
return false;
129 if (
a.getNMDT() -
b.getNMDT() != 0)
return false;
130 if (
a.getNRPC() -
b.getNRPC() != 0)
return false;
131 if (
a.getNTGC() -
b.getNTGC() != 0)
return false;
◆ str()
Definition at line 103 of file MSVertex.cxx.
104 std::stringstream
ss;
106 ss <<
"author = " <<
a.getAuthor() <<
"; x = " <<
a.getPosition().x() <<
"; y = " <<
a.getPosition().y()
107 <<
"; z = " <<
a.getPosition().z() <<
"; phi = " <<
a.getPosition().phi() <<
"; eta = " <<
a.getPosition().eta()
108 <<
"; chi2 prob. = " <<
a.getChi2Probability() <<
"; # tracks = " <<
a.getNTracks() <<
"; # MDT hits = " <<
a.getNMDT()
109 <<
"; # RPC hits = " <<
a.getNRPC() <<
"; # TGC hits = " <<
a.getNTGC();