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

Ratpac-two: /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/ds/include/RAT/DS/PMT.hh Source File
Ratpac-two
PMT.hh
1 
8 #ifndef __RAT_DS_PMT__
9 #define __RAT_DS_PMT__
10 
11 #include <Rtypes.h>
12 
13 namespace RAT {
14 namespace DS {
15 
16 class PMT : public TObject {
17  public:
18  PMT() : TObject() {}
19  virtual ~PMT() {}
20 
22  virtual void SetID(Int_t _id) { this->id = _id; }
23  virtual Int_t GetID() { return id; }
24 
26  virtual void SetCharge(Double_t _charge) { this->charge = _charge; }
27  virtual Double_t GetCharge() { return charge; }
28 
30  virtual void SetTime(Double_t _time) { this->time = _time; }
31  virtual Double_t GetTime() { return time; }
32 
33  ClassDef(PMT, 5);
34 
35  protected:
36  Int_t id;
37  Double_t charge;
38  Double_t time;
39 };
40 
41 } // namespace DS
42 } // namespace RAT
43 
44 #endif
Definition: PMT.hh:16
virtual void SetID(Int_t _id)
Definition: PMT.hh:22
virtual void SetCharge(Double_t _charge)
Definition: PMT.hh:26
virtual void SetTime(Double_t _time)
Definition: PMT.hh:30
Definition: CCCrossSecMessenger.hh:29