12#ifndef MUC_REC_HIT_ID_H
13#define MUC_REC_HIT_ID_H
59 void SetID(
const int part = -1,
65 int Part()
const {
return m_Part; }
68 int Seg()
const {
return m_Seg; }
71 int Gap()
const {
return m_Gap; }
74 int Hit()
const {
return m_Hit; }
bool operator!=(const MucRecHitID &other) const
int Gap() const
Get gap number. (0-8)
bool operator>(const MucRecHitID &other) const
int Seg() const
Get seg number. (0-7)
bool operator<(const MucRecHitID &other) const
MucRecHitID(const int part=-1, const int seg=-1, const int gap=-1, const int hit=-1)
Constructor.
int Hit() const
Get hit number within this gap. (starts at 0)
~MucRecHitID()
Destructor.
MucRecHitID & operator=(const MucRecHitID &orig)
Assignment operator.
bool operator==(const MucRecHitID &other) const
Comparison operators.
int Part() const
Get part number. (0-east cap, 1-barrel, 2-west cap)
void SetID(const int part=-1, const int seg=-1, const int gap=-1, const int hit=-1)
Set the identifier.