EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
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
54
ClassDef
(
CbmRichHit
, 1)
55
};
56
57
#endif // CBMRICHHIT_H_
EicRoot
blob
master
cbmdata
rich
CbmRichHit.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:33
using
1.8.2 with
EIC GitHub integration