BOSS 7.0.9
BESIII Offline Software System
|
#include <MucRecHitID.h>
Public Member Functions | |
MucRecHitID (const int part=-1, const int seg=-1, const int gap=-1, const int hit=-1) | |
Constructor. | |
MucRecHitID (const MucRecHitID &source) | |
Copy constructor. | |
MucRecHitID & | operator= (const MucRecHitID &orig) |
Assignment operator. | |
bool | operator== (const MucRecHitID &other) const |
Comparison operators. | |
bool | operator!= (const MucRecHitID &other) const |
bool | operator< (const MucRecHitID &other) const |
bool | operator> (const MucRecHitID &other) const |
~MucRecHitID () | |
Destructor. | |
void | SetID (const int part=-1, const int seg=-1, const int gap=-1, const int hit=-1) |
Set the identifier. | |
int | Part () const |
Get part number. (0-east cap, 1-barrel, 2-west cap) | |
int | Seg () const |
Get seg number. (0-7) | |
int | Gap () const |
Get gap number. (0-8) | |
int | Hit () const |
Get hit number within this gap. (starts at 0) | |
Class BesMUCRecRawHit contains the four numbers necessary to identify a hit uniquely: part, seg, gap, strip, and hit within the gap.
Definition at line 30 of file MucRecHitID.h.
MucRecHitID::MucRecHitID | ( | const int | part = -1 , |
const int | seg = -1 , |
||
const int | gap = -1 , |
||
const int | hit = -1 |
||
) |
Constructor.
Definition at line 17 of file MucRecHitID.cxx.
MucRecHitID::MucRecHitID | ( | const MucRecHitID & | source | ) |
Copy constructor.
Definition at line 25 of file MucRecHitID.cxx.
MucRecHitID::~MucRecHitID | ( | ) |
|
inline |
|
inline |
Get hit number within this gap. (starts at 0)
Definition at line 74 of file MucRecHitID.h.
bool MucRecHitID::operator!= | ( | const MucRecHitID & | other | ) | const |
Definition at line 63 of file MucRecHitID.cxx.
bool MucRecHitID::operator< | ( | const MucRecHitID & | other | ) | const |
MucRecHitID & MucRecHitID::operator= | ( | const MucRecHitID & | orig | ) |
Assignment operator.
Definition at line 38 of file MucRecHitID.cxx.
bool MucRecHitID::operator== | ( | const MucRecHitID & | other | ) | const |
bool MucRecHitID::operator> | ( | const MucRecHitID & | other | ) | const |
|
inline |
Get part number. (0-east cap, 1-barrel, 2-west cap)
Definition at line 65 of file MucRecHitID.h.
|
inline |
void MucRecHitID::SetID | ( | const int | part = -1 , |
const int | seg = -1 , |
||
const int | gap = -1 , |
||
const int | hit = -1 |
||
) |
Set the identifier.
Definition at line 104 of file MucRecHitID.cxx.