BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
BmnVspRawDigit.h
Go to the documentation of this file.
1
#ifndef BMNVSPRAWDIGIT_H
2
#define BMNVSPRAWDIGIT_H
3
// STL
4
#include <vector>
5
// BmnRoot
6
#include <
TObject.h
>
7
8
using
std::vector;
9
10
class
BmnVspRawDigit
:
public
TObject
11
{
12
public
:
13
BmnVspRawDigit
(uint64_t TrgEvId = 0, uint16_t DpbIdx = 0, uint64_t TrgTimeFLES = 0);
14
15
void
AppendHit
(uint64_t HitTime, uint16_t ElinkIdx, uint16_t Chan, uint16_t Adc);
16
17
size_t
GetNHits
() {
return
fVecHitTimeFLES
.size(); }
18
19
uint16_t
GetDpbIdx
()
const
{
return
fDpbIdx
; }
20
21
uint64_t
GetTrgEvId
()
const
{
return
fTriggerFLES
; }
22
23
uint64_t
GetTrigTime
()
const
{
return
fTrgTimeFLES
; }
24
25
void
SetTTrigTime
(uint64_t val) {
fTrgTimeFLES
= val; }
26
27
uint16_t
GetHitMissedEvts
()
const
{
return
fHitMissedEvts
; }
28
29
void
SetTHitMissedEvts
(uint16_t val) {
fHitMissedEvts
= val; }
30
31
vector<uint64_t>&
GetVecHitTimeFLES
() {
return
fVecHitTimeFLES
; }
32
33
void
SetTVecHitTimeFLES
(vector<uint64_t> val) {
fVecHitTimeFLES
= val; }
34
35
vector<uint16_t>&
GetVecElinkIdx
() {
return
fVecElinkIdx
; }
36
37
void
SetTVecElinkIdx
(vector<uint16_t> val) {
fVecElinkIdx
= val; }
38
39
vector<uint16_t>&
GetVecChan
() {
return
fVecChan
; }
40
41
void
SetTVecChan
(vector<uint16_t> val) {
fVecChan
= val; }
42
43
vector<uint16_t>&
GetVecAdc
() {
return
fVecAdc
; }
44
45
void
SetTVecAdc
(vector<uint16_t> val) {
fVecAdc
= val; }
46
virtual
~BmnVspRawDigit
();
47
48
protected
:
49
uint64_t
fTriggerFLES
;
50
uint16_t
fDpbIdx
;
51
uint64_t
fTrgTimeFLES
;
52
uint16_t
fHitMissedEvts
;
53
vector<uint64_t>
fVecHitTimeFLES
;
54
vector<uint16_t>
fVecElinkIdx
;
55
vector<uint16_t>
fVecChan
;
56
vector<uint16_t>
fVecAdc
;
57
58
ClassDef
(
BmnVspRawDigit
, 1);
59
};
60
61
#endif
// BMNVSPRAWDIGIT_H
ClassDef
#define ClassDef(name, id)
TObject.h
BmnVspRawDigit
Definition
BmnVspRawDigit.h:11
BmnVspRawDigit::GetVecHitTimeFLES
vector< uint64_t > & GetVecHitTimeFLES()
Definition
BmnVspRawDigit.h:31
BmnVspRawDigit::AppendHit
void AppendHit(uint64_t HitTime, uint16_t ElinkIdx, uint16_t Chan, uint16_t Adc)
BmnVspRawDigit::SetTVecAdc
void SetTVecAdc(vector< uint16_t > val)
Definition
BmnVspRawDigit.h:45
BmnVspRawDigit::fVecElinkIdx
vector< uint16_t > fVecElinkIdx
Definition
BmnVspRawDigit.h:54
BmnVspRawDigit::GetHitMissedEvts
uint16_t GetHitMissedEvts() const
Definition
BmnVspRawDigit.h:27
BmnVspRawDigit::GetDpbIdx
uint16_t GetDpbIdx() const
Definition
BmnVspRawDigit.h:19
BmnVspRawDigit::SetTVecChan
void SetTVecChan(vector< uint16_t > val)
Definition
BmnVspRawDigit.h:41
BmnVspRawDigit::SetTVecHitTimeFLES
void SetTVecHitTimeFLES(vector< uint64_t > val)
Definition
BmnVspRawDigit.h:33
BmnVspRawDigit::GetNHits
size_t GetNHits()
Definition
BmnVspRawDigit.h:17
BmnVspRawDigit::GetVecAdc
vector< uint16_t > & GetVecAdc()
Definition
BmnVspRawDigit.h:43
BmnVspRawDigit::GetTrgEvId
uint64_t GetTrgEvId() const
Definition
BmnVspRawDigit.h:21
BmnVspRawDigit::fVecHitTimeFLES
vector< uint64_t > fVecHitTimeFLES
Definition
BmnVspRawDigit.h:53
BmnVspRawDigit::fHitMissedEvts
uint16_t fHitMissedEvts
Definition
BmnVspRawDigit.h:52
BmnVspRawDigit::fTrgTimeFLES
uint64_t fTrgTimeFLES
Definition
BmnVspRawDigit.h:51
BmnVspRawDigit::fTriggerFLES
uint64_t fTriggerFLES
Definition
BmnVspRawDigit.h:49
BmnVspRawDigit::fDpbIdx
uint16_t fDpbIdx
Definition
BmnVspRawDigit.h:50
BmnVspRawDigit::~BmnVspRawDigit
virtual ~BmnVspRawDigit()
BmnVspRawDigit::SetTHitMissedEvts
void SetTHitMissedEvts(uint16_t val)
Definition
BmnVspRawDigit.h:29
BmnVspRawDigit::GetVecElinkIdx
vector< uint16_t > & GetVecElinkIdx()
Definition
BmnVspRawDigit.h:35
BmnVspRawDigit::SetTTrigTime
void SetTTrigTime(uint64_t val)
Definition
BmnVspRawDigit.h:25
BmnVspRawDigit::SetTVecElinkIdx
void SetTVecElinkIdx(vector< uint16_t > val)
Definition
BmnVspRawDigit.h:37
BmnVspRawDigit::fVecChan
vector< uint16_t > fVecChan
Definition
BmnVspRawDigit.h:55
BmnVspRawDigit::BmnVspRawDigit
BmnVspRawDigit(uint64_t TrgEvId=0, uint16_t DpbIdx=0, uint64_t TrgTimeFLES=0)
BmnVspRawDigit::GetTrigTime
uint64_t GetTrigTime() const
Definition
BmnVspRawDigit.h:23
BmnVspRawDigit::GetVecChan
vector< uint16_t > & GetVecChan()
Definition
BmnVspRawDigit.h:39
BmnVspRawDigit::fVecAdc
vector< uint16_t > fVecAdc
Definition
BmnVspRawDigit.h:56
TObject
install
include
BmnVspRawDigit.h
Generated on
for BmnRoot by
1.17.0