12#include "MucRecEvent/MucRecHitID.h"
21 : m_Part(part), m_Seg(seg), m_Gap(gap), m_Hit(hit)
26 : m_Part(source.m_Part),
53 if ( m_Part == other.m_Part &&
54 m_Seg == other.m_Seg &&
55 m_Gap == other.m_Gap &&
56 m_Hit == other.m_Hit )
65 if ( m_Part == other.m_Part &&
66 m_Seg == other.m_Seg &&
67 m_Gap == other.m_Gap &&
68 m_Hit == other.m_Hit )
77 if (m_Part < other.m_Part ||
78 (m_Part == other.m_Part && m_Seg < other.m_Seg) ||
79 (m_Part == other.m_Part && m_Seg == other.m_Seg && m_Gap < other.m_Gap) ||
80 (m_Part == other.m_Part && m_Seg == other.m_Seg && m_Gap == other.m_Gap && m_Hit < other.m_Hit)) {
91 if (m_Part > other.m_Part ||
92 (m_Part == other.m_Part && m_Seg > other.m_Seg) ||
93 (m_Part == other.m_Part && m_Seg == other.m_Seg && m_Gap > other.m_Gap) ||
94 (m_Part == other.m_Part && m_Seg == other.m_Seg && m_Gap == other.m_Gap && m_Hit > other.m_Hit)) {
bool operator!=(const MucRecHitID &other) const
bool operator>(const MucRecHitID &other) const
bool operator<(const MucRecHitID &other) const
MucRecHitID(const int part=-1, const int seg=-1, const int gap=-1, const int hit=-1)
Constructor.
~MucRecHitID()
Destructor.
MucRecHitID & operator=(const MucRecHitID &orig)
Assignment operator.
bool operator==(const MucRecHitID &other) const
Comparison operators.
void SetID(const int part=-1, const int seg=-1, const int gap=-1, const int hit=-1)
Set the identifier.