/home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/ds/include/RAT/DS/LAPPDHit.hh Source File

Ratpac-two: /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/ds/include/RAT/DS/LAPPDHit.hh Source File
Ratpac-two
LAPPDHit.hh
1 
10 #ifndef __RAT_DS_LAPPDHit__
11 #define __RAT_DS_LAPPDHit__
12 
13 #include <TObject.h>
14 #include <TVector3.h>
15 
16 namespace RAT {
17 namespace DS {
18 
19 class LAPPDHit : public TObject {
20  public:
21  LAPPDHit() : TObject() {}
22  virtual ~LAPPDHit() {}
23 
25  virtual Double_t GetTime() const { return time; }
26  virtual void SetTime(Double_t _time) { time = _time; }
27 
29  virtual TVector3 GetPosition() const { return pos; }
30  virtual void SetPosition(const TVector3 &_pos) { pos = _pos; }
31 
33  virtual Double_t GetCharge() const { return charge; }
34  virtual void SetCharge(Double_t _charge) { charge = _charge; }
35 
36  ClassDef(LAPPDHit, 2);
37 
38  protected:
39  Double_t time;
40  Double_t charge;
41  TVector3 pos;
42 };
43 
44 } // namespace DS
45 } // namespace RAT
46 
47 #endif
Definition: LAPPDHit.hh:19
virtual Double_t GetTime() const
Definition: LAPPDHit.hh:25
virtual TVector3 GetPosition() const
Definition: LAPPDHit.hh:29
virtual Double_t GetCharge() const
Definition: LAPPDHit.hh:33
Definition: CCCrossSecMessenger.hh:29