EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CbmRichHit.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file CbmRichHit.h
1 
9 #ifndef CBMRICHHIT_H_
10 #define CBMRICHHIT_H_
11 
12 #include "CbmPixelHit.h"
13 
14 class CbmRichHit : public CbmPixelHit {
15 
16 public:
17 
21  CbmRichHit();
22 
26  virtual ~CbmRichHit();
27 
31  virtual string ToString() const;
32 
36  virtual Int_t GetPlaneId() const { return 0; }
37 
39  virtual void SetPmtId (Int_t det) { fPmtId = det; }
40  virtual void SetNPhotons (Int_t n) { fNPhotons = n; }
41  virtual void SetAmplitude(Double_t amp) { fAmplitude = amp; }
42 
44  virtual Int_t GetPmtId() const { return fPmtId; }
45  virtual Int_t GetNPhotons() const { return fNPhotons; }
46  virtual Double_t GetAmplitude() const { return fAmplitude; }
47 
48 private:
49 
50  Int_t fPmtId; // photomultiplier number
51  Int_t fNPhotons; // number of photons in this hit
52  Double32_t fAmplitude; // hit amplitude
53 
55 };
56 
57 #endif // CBMRICHHIT_H_