CbmRoot
Loading...
Searching...
No Matches
CbmPsdHit.h
Go to the documentation of this file.
1
/* Copyright (C) 2012-2020 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2
SPDX-License-Identifier: GPL-3.0-only
3
Authors: Alla Maevskaya, Volker Friese [committer] */
4
17
#ifndef CBMPSDHIT_H
18
#define CBMPSDHIT_H 1
19
20
#include <Rtypes.h>
// for ClassDef
21
#include <TObject.h>
// for TObject
22
23
#include <cstdint>
24
25
class
CbmPsdHit
:
public
TObject {
26
27
public
:
29
CbmPsdHit
();
30
31
CbmPsdHit
(int32_t module,
double
edep);
32
33
35
virtual
~CbmPsdHit
();
36
37
40
//float GetEdep(int32_t module) const { return fEdep[module]; } // SELIM: simplification vector [49] -> simple double
41
//void SetEdep(float edep, int32_t module) {fEdep[module]=edep;}
42
43
double
GetEdep
()
const
{
return
fEdep
; }
// SELIM: simplification vector [49] -> simple double
44
void
SetEdep
(
double
edep) {
fEdep
= edep; }
45
46
int32_t
GetModuleID
()
const
{
return
fModuleID
; }
47
void
SetModuleID
(int32_t mod) {
fModuleID
= mod; }
48
49
void
Print
(Option_t* =
""
)
const
;
50
51
private
:
54
int32_t
fModuleID
;
55
double
fEdep
;
//[49]; // SELIM: simplification vector [49] -> simple double
56
57
58
ClassDef
(
CbmPsdHit
, 1);
59
};
60
61
62
#endif
CbmPsdHit
Definition
CbmPsdHit.h:25
CbmPsdHit::GetModuleID
int32_t GetModuleID() const
Definition
CbmPsdHit.h:46
CbmPsdHit::~CbmPsdHit
virtual ~CbmPsdHit()
Definition
CbmPsdHit.cxx:35
CbmPsdHit::SetEdep
void SetEdep(double edep)
Definition
CbmPsdHit.h:44
CbmPsdHit::CbmPsdHit
CbmPsdHit()
Definition
CbmPsdHit.cxx:18
CbmPsdHit::GetEdep
double GetEdep() const
Definition
CbmPsdHit.h:43
CbmPsdHit::ClassDef
ClassDef(CbmPsdHit, 1)
CbmPsdHit::fEdep
double fEdep
Definition
CbmPsdHit.h:55
CbmPsdHit::Print
void Print(Option_t *="") const
Definition
CbmPsdHit.cxx:38
CbmPsdHit::fModuleID
int32_t fModuleID
Definition
CbmPsdHit.h:54
CbmPsdHit::SetModuleID
void SetModuleID(int32_t mod)
Definition
CbmPsdHit.h:47
core
data
psd
CbmPsdHit.h
Generated on Sun Dec 22 2024 23:04:08 for CbmRoot by
1.12.0