28 |
|
kTEC |
29 |
|
}; |
30 |
|
|
31 |
< |
StripHit() : fType(0), fGeoType(0), fCharge(0), fSizeX(0), fSizeY(0) {} |
31 |
> |
StripHit() : fType(0), fGeoType(0) {} |
32 |
|
StripHit(Double_t x, Double_t y, Double_t z) : |
33 |
< |
fPosition(x,y,z), fType(0), fGeoType(0), fCharge(0), fSizeX(0), fSizeY(0) {} |
33 |
> |
fPosition(x,y,z), fType(0), fGeoType(0) {} |
34 |
|
StripHit(const ThreeVector &pos) : |
35 |
< |
fPosition(pos), fType(0), fGeoType(0), fCharge(0), fSizeX(0), fSizeY(0) {} |
35 |
> |
fPosition(pos), fType(0), fGeoType(0) {} |
36 |
|
|
37 |
– |
UInt_t Charge() const { return fCharge; } |
37 |
|
Int_t GeoType() const { return fGeoType; } |
38 |
|
EObjType ObjType() const { return kStripHit; } |
39 |
|
const ThreeVector Position() const { return fPosition.V(); } |
41 |
– |
void SetCharge(UInt_t u) { fCharge = u; } |
40 |
|
void SetGeoType(Int_t u) { fGeoType = u; } |
41 |
|
void SetPosition(const ThreeVector &pos) { fPosition = pos; } |
42 |
|
void SetPosition(Double_t x, Double_t y, Double_t z); |
45 |
– |
void SetSizeX(UInt_t u) { fSizeX = u; } |
46 |
– |
void SetSizeY(UInt_t u) { fSizeY = u; } |
43 |
|
void SetType(Char_t t) { fType = t; } |
48 |
– |
UInt_t SizeX() const { return fSizeX; } |
49 |
– |
UInt_t SizeY() const { return fSizeY; } |
44 |
|
EType Type() const |
45 |
|
{ return static_cast<EType>(fType); } |
46 |
|
Double_t X() const { return fPosition.X(); } |
51 |
|
Vect3 fPosition; //point in space |
52 |
|
Char_t fType; //strip type |
53 |
|
Int_t fGeoType; //geometrical characteristics (layer, disk, side) |
60 |
– |
UInt_t fCharge; //charge of assigned cluster |
61 |
– |
UInt_t fSizeX; //size in local x of assigned cluster |
62 |
– |
UInt_t fSizeY; //size in local y of assigned cluster |
54 |
|
|
55 |
|
ClassDef(StripHit, 1) // StripHit class |
56 |
|
}; |