10#include "GaudiKernel/MsgStream.h"
13 unsigned int TotalPrecisionHits,
unsigned int SharedSpectroPhiHits,
14 unsigned int TotalSpectroPhiHits, std::set<Identifier> msIntersection)
74 sl <<
"Muon overlap desriptor: " <<
endmsg;
75 sl <<
"ID pointers: " << (itself.
sharesIndetTrack() ?
"identical" :
"different")
82 sl <<
"Muon overlap desriptor: no Overlap." <<
endmsg;
91 sl <<
"Muon overlap desriptor: " << std::endl;
92 sl <<
"ID pointers: " << (itself.
sharesIndetTrack() ?
"identical" :
"different")
93 <<
", MS pointers: " << (itself.
sharesSpectroTrack() ?
"identical" :
"different") << std::endl;
99 sl <<
"Muon overlap desriptor: no Overlap." << std::endl;
A class describing ID, MS and hit overlaps, mind this class is TRANSIENT ONLY.
bool sharesIndetTrack() const
Access if the overlap consists of sharing the ID track.
unsigned int m_totalSpectroPhiHits
bool m_sharesSpectroTrack
bool sharesSpectroTrack() const
Access if the overlap consists of sharing the MS track.
MuonOverlapDescriptor(bool SharesIDTrack, bool SharesSpectroTrack, unsigned int SharedPrecisionHits, unsigned int TotalPrecisionHits, unsigned int SharedSpectroPhiHits, unsigned int TotalSpectroPhiHits, std::set< Identifier > ms_intersection)
full constructor with some overlap information
MuonOverlapDescriptor & operator=(const MuonOverlapDescriptor &)
assignment operator
std::set< Identifier > m_intersection
unsigned int m_sharedPrecisionHits
unsigned int nSharedSpectroPhiHits() const
Tell if there are shared MS phi shared hits.
bool hasOverlap(unsigned int tolaratedSharedHits=0) const
summary method
unsigned int m_totalPrecisionHits
unsigned int nTotalSpectroPhiHits() const
Total MS phi hits to compare to.
unsigned int m_sharedSpectroPhiHits
MuonOverlapDescriptor()
default constructor
unsigned int nSharedPrecisionHits() const
Tell if there are shared MS precision shared hits.
unsigned int nTotalPrecisionHits() const
Total MS precision hits to compare to.
~MuonOverlapDescriptor()
destructor
MsgStream & operator<<(MsgStream &sl, const MuonOverlapDescriptor &des)
Overload of << operator for MsgStream for debug output.