104 |
|
PixelHit(const ThreeVector &pos) : |
105 |
|
fPosition(pos), fType(0), fQuality(0), fCharge(0), fSize(0) {} |
106 |
|
|
107 |
+ |
UInt_t Charge() const { return fCharge; } |
108 |
|
Bool_t IsOnEdge() const; |
109 |
|
Bool_t HasBadPixels() const; |
109 |
– |
const ThreeVector Position() const { return fPosition.V(); } |
110 |
|
EObjType ObjType() const { return kPixelHit; } |
111 |
+ |
const ThreeVector Position() const { return fPosition.V(); } |
112 |
+ |
UInt_t Quality() const { return fQuality; } |
113 |
|
void SetCharge(UInt_t u) { fCharge = u; } |
114 |
|
void SetPosition(const ThreeVector &pos) { fPosition = pos; } |
115 |
|
void SetPosition(Double_t x, Double_t y, Double_t z); |
116 |
|
void SetQuality(UInt_t u) { fQuality = u; } |
117 |
|
void SetType(Char_t t) { fType = t; } |
118 |
|
void SetSize(UInt_t u) { fSize = u; } |
119 |
+ |
UInt_t Size() const { return fSize; } |
120 |
|
Bool_t SpansTwoROCs() const; |
121 |
|
EType Type() const |
122 |
|
{ return static_cast<EType>(fType); } |