|
ATLAS Offline Software
|
Go to the documentation of this file.
22 #include "GaudiKernel/MsgStream.h"
30 static const double DELTA = 0.001;
59 m_matchChi2( rhs.m_matchChi2 ),
60 m_nIdSctHits (rhs.m_nIdSctHits),
61 m_nIdPixelHits(rhs.m_nIdPixelHits),
62 m_nTrtHits(rhs.m_nTrtHits),
63 m_idTrackLink(rhs.m_idTrackLink)
124 std::stringstream
ss;
126 <<
"; chi2 match: " <<
d.matchChi2();
133 return (
m <<
str(
d ) );
144 if( std::abs(
a.matchChi2() -
b.matchChi2() ) > DELTA )
160 std::map< std::string, double >& variableChange ) {
165 if( std::abs(
a.matchChi2() -
b.matchChi2() ) > DELTA ) {
166 variableChange[
"MatchChi2" ] =
a.matchChi2() -
b.matchChi2();
const Rec::TrackParticle * getIDTrackParticle() const
Get associated ID track.
std::string str(const TrigMuonEFCbTrack &d)
This function uses the function str(TrigMuonEFTrack&) to print the "base class part" of the object.
bool toIndexedElement(BaseConstReference data, index_type elemID, IProxyDict *sg=0)
Set the link to an element given by index and pointer to container.
TrigMuonEFCbTrack()
Default constructor.
bool isValid() const
Test to see if the link can be dereferenced.
void setIDTrackElementLink(const ElementLink< Rec::TrackParticleContainer > &link)
Set associated ID track.
void diff(const TrigMuonEFCbTrack &a, const TrigMuonEFCbTrack &b, std::map< std::string, double > &variableChange)
Function compares two objects and returns "semi verbose" output in the form of map where there are va...
~TrigMuonEFCbTrack()
Destructor.
void setMatchChi2(double theMatchChi2)
set data member
void setIDTrack(const Rec::TrackParticleContainer *cont, unsigned int itrk)
Set associated ID track.
MsgStream & operator<<(MsgStream &m, const TrigMuonEFCbTrack &d)
Helper operator for printing the object.
bool operator==(const TrigMuonEFCbTrack &a, const TrigMuonEFCbTrack &b)
This operator uses the operator operator==(TrigMuonEFTrack&,TrigMuonEFTrack&) to compare the "base cl...
ElementLink< Rec::TrackParticleContainer > m_idTrackLink
Link to the associated ID track.