CbmRoot
CbmRichHit.h
Go to the documentation of this file.
1
9
#ifndef CBMRICHHIT_H_
10
#define CBMRICHHIT_H_
11
12
#include <Rtypes.h>
// for ClassDef
13
#include <RtypesCore.h>
// for Double_t, Int_t
14
15
#include <string>
// for string
16
17
#include "
CbmPixelHit.h
"
// for CbmPixelHit
18
19
class
CbmRichHit
:
public
CbmPixelHit
{
20
21
public
:
25
CbmRichHit
();
26
30
CbmRichHit
(Double_t
x
, Double_t
y
);
31
35
CbmRichHit
(Double_t
x
, Double_t
y
, Double_t ts, Double_t tot);
36
40
virtual
~CbmRichHit
();
41
45
virtual
std::string
ToString
()
const
;
46
50
virtual
Int_t
GetPlaneId
()
const
{
return
0; }
51
53
virtual
void
SetPmtId
(Int_t det) {
fPmtId
= det; }
54
//virtual void SetNPhotons (Int_t n) { fNPhotons = n; }
55
//virtual void SetAmplitude(Double_t amp) { fAmplitude = amp; }
56
void
SetToT
(Double_t tot) {
fToT
= tot; }
57
59
virtual
Int_t
GetPmtId
()
const
{
return
fPmtId
; }
60
//virtual Int_t GetNPhotons() const { return fNPhotons; }
61
//virtual Double_t GetAmplitude() const { return fAmplitude; }
62
Double_t
GetToT
()
const
{
return
fToT
; }
63
65
// Double_t GetTimestamp() const { return GetTime(); }
66
// void SetTimestamp(Double_t ts) { SetTime(ts); }
67
68
private
:
69
Int_t
fPmtId
;
// photomultiplier number
70
//Int_t fNPhotons; // number of photons in this hit
71
//Double32_t fAmplitude; // hit amplitude
72
73
Double_t
fToT
;
// hit time-over-threshold
74
75
ClassDef
(
CbmRichHit
, 3)
76
};
77
78
#endif // CBMRICHHIT_H_
CbmRichHit::ToString
virtual std::string ToString() const
Inherited from CbmBaseHit.
Definition:
CbmRichHit.cxx:53
CbmRichHit::fToT
Double_t fToT
Definition:
CbmRichHit.h:73
CbmRichHit::GetToT
Double_t GetToT() const
Definition:
CbmRichHit.h:62
CbmRichHit::~CbmRichHit
virtual ~CbmRichHit()
Destructor.
Definition:
CbmRichHit.cxx:51
CbmRichHit::GetPlaneId
virtual Int_t GetPlaneId() const
Inherited from CbmBaseHit.
Definition:
CbmRichHit.h:50
CbmPixelHit.h
CbmPixelHit::ClassDef
ClassDef(CbmPixelHit, 1)
CbmRichHit::GetPmtId
virtual Int_t GetPmtId() const
Definition:
CbmRichHit.h:59
x
Double_t x
Definition:
CbmMvdSensorDigiToHitTask.cxx:68
y
Double_t y
Definition:
CbmMvdSensorDigiToHitTask.cxx:68
CbmPixelHit
Definition:
CbmPixelHit.h:21
CbmRichHit::fPmtId
Int_t fPmtId
Definition:
CbmRichHit.h:69
CbmRichHit::SetToT
void SetToT(Double_t tot)
Definition:
CbmRichHit.h:56
CbmRichHit
Definition:
CbmRichHit.h:19
CbmRichHit::SetPmtId
virtual void SetPmtId(Int_t det)
Definition:
CbmRichHit.h:53
CbmRichHit::CbmRichHit
CbmRichHit()
Default constructor.
Definition:
CbmRichHit.cxx:14
core
data
rich
CbmRichHit.h
Generated on Wed Oct 28 2020 15:11:44 for CbmRoot by
1.8.18