GRUTinizer
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TPhosWallHit.h
Go to the documentation of this file.
1 #ifndef _TPHOSWALLHIT_H_
2 #define _TPHOSWALLHIT_H_
3 
4 #include <TVector3.h>
5 
6 #include "TDetectorHit.h"
7 #include "TRawEvent.h"
8 
9 class TPhosWallHit : public TDetectorHit {
10 public:
11  TPhosWallHit();
12  TPhosWallHit(TRawEvent::PWHit *hit);
13  virtual ~TPhosWallHit();
14 
15  virtual void Copy(TObject &obj) const;
16  virtual void Print(Option_t *opt = "") const;
17  virtual void Clear(Option_t *opt = "");
18 
19  Int_t A() const { return fACharge; }
20  Int_t B() const { return fBCharge; }
21  Int_t C() const { return fCCharge; }
22  Int_t Pixel() const { return fPixel; }
23  Int_t Time() const { return fTime; }
24 
25  virtual Int_t Charge() const { return B(); }
26 
27 
28 private:
29  Short_t fACharge;
30  Short_t fBCharge;
31  Short_t fCCharge;
32  Short_t fPixel;
33  Short_t fTime;
34 
35  TVector3 fPosition;
36 
38 
39 };
40 
41 #endif