5 |
|
class MuonObj : public TrackObj { |
6 |
|
public: |
7 |
|
MuonObj():TrackObj(),theMuonBits(0) {} |
8 |
< |
MuonObj(float pt, float eta, float phi) : TrackObj(pt,eta,phi), theMuonBits(0) {} |
8 |
> |
MuonObj(float pt, float eta, float phi, float charge) : TrackObj(pt,eta,phi,charge), theMuonBits(0) {} |
9 |
|
virtual ~MuonObj(){} |
10 |
|
void setBits(bool isGlobal, bool isTracker, bool isOuter, bool isCalo, bool isMatched) { |
11 |
|
if (isGlobal) theMuonBits = 1 << 4; |
19 |
|
bool isOuter() const { return (theMuonBits>>2)&1 ;} |
20 |
|
bool isCalo() const { return (theMuonBits>>1)&1 ;} |
21 |
|
bool isMatched() const { return theMuonBits&1 ;} |
22 |
+ |
public: |
23 |
+ |
unsigned int nRPCHits, nDTHits, nCSCHits, nTrackerHits, nMatchedStations; |
24 |
|
private: |
25 |
|
unsigned int theMuonBits; |
26 |
|
public: |