CbmRoot
CbmPsdHit.h
Go to the documentation of this file.
1
13
#ifndef CBMPSDHIT_H
14
#define CBMPSDHIT_H 1
15
16
#include <Rtypes.h>
// for ClassDef
17
#include <RtypesCore.h>
// for Double_t, Int_t, Option_t
18
#include <TObject.h>
// for TObject
19
20
class
CbmPsdHit
:
public
TObject {
21
22
public
:
24
CbmPsdHit
();
25
26
CbmPsdHit
(Int_t module, Double_t edep);
27
28
30
virtual
~CbmPsdHit
();
31
32
35
//Float_t GetEdep(Int_t module) const { return fEdep[module]; } // SELIM: simplification vector [49] -> simple double
36
//void SetEdep(Float_t edep, Int_t module) {fEdep[module]=edep;}
37
38
Double_t
GetEdep
()
const
{
39
return
fEdep
;
40
}
// SELIM: simplification vector [49] -> simple double
41
void
SetEdep
(Double_t edep) {
fEdep
= edep; }
42
43
Int_t
GetModuleID
()
const
{
return
fModuleID
; }
44
void
SetModuleID
(Int_t mod) {
fModuleID
= mod; }
45
46
void
Print
(Option_t* =
""
)
const
;
47
48
private
:
51
Int_t
fModuleID
;
52
Double_t
53
fEdep
;
//[49]; // SELIM: simplification vector [49] -> simple double
54
55
56
ClassDef
(
CbmPsdHit
, 1);
57
};
58
59
60
#endif
CbmPsdHit::SetModuleID
void SetModuleID(Int_t mod)
Definition:
CbmPsdHit.h:44
CbmPsdHit::SetEdep
void SetEdep(Double_t edep)
Definition:
CbmPsdHit.h:41
CbmPsdHit::Print
void Print(Option_t *="") const
Definition:
CbmPsdHit.cxx:38
CbmPsdHit::CbmPsdHit
CbmPsdHit()
Definition:
CbmPsdHit.cxx:15
CbmPsdHit::GetModuleID
Int_t GetModuleID() const
Definition:
CbmPsdHit.h:43
CbmPsdHit::fModuleID
Int_t fModuleID
Definition:
CbmPsdHit.h:51
CbmPsdHit::GetEdep
Double_t GetEdep() const
Definition:
CbmPsdHit.h:38
CbmPsdHit::fEdep
Double_t fEdep
Definition:
CbmPsdHit.h:53
CbmPsdHit::ClassDef
ClassDef(CbmPsdHit, 1)
CbmPsdHit::~CbmPsdHit
virtual ~CbmPsdHit()
Definition:
CbmPsdHit.cxx:35
CbmPsdHit
Definition:
CbmPsdHit.h:20
core
data
psd
CbmPsdHit.h
Generated on Wed Oct 28 2020 15:11:43 for CbmRoot by
1.8.18