BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
BmnTQDCADCDigit.h
Go to the documentation of this file.
1
#ifndef BMNTQDCADCDIGIT_H
2
#define BMNTQDCADCDIGIT_H
3
4
#include "
BmnADCDigit.h
"
5
6
template
<
typename
IntType =
int
16_t>
7
class
BmnTQDCADCDigit
:
public
BmnADCDigit
<IntType>
8
{
9
public
:
10
BmnTQDCADCDigit
()
11
:
BmnADCDigit
<
IntType
>()
12
,
fTrigTimestamp
(0)
13
,
fAdcTimestamp
(0)
14
,
fSlot
(0)
15
{}
16
17
BmnTQDCADCDigit
(
UInt_t
iSerial,
18
UInt_t
iChannel,
19
UChar_t
iSlot,
20
vector<IntType>&& iValue,
21
UShort_t
TrigTS,
22
UShort_t
AdcTS)
23
:
BmnADCDigit
<
IntType
>(iSerial, iChannel,
std
::move(iValue))
24
,
fTrigTimestamp
(TrigTS)
25
,
fAdcTimestamp
(AdcTS)
26
,
fSlot
(iSlot)
27
{}
28
29
UShort_t
GetTrigTimestamp
()
const
{
return
fTrigTimestamp
; }
30
31
UShort_t
GetAdcTimestamp
()
const
{
return
fAdcTimestamp
; }
32
33
UChar_t
GetSlot
()
const
{
return
fSlot
; }
34
virtual
~BmnTQDCADCDigit
() {}
35
36
protected
:
37
UShort_t
fTrigTimestamp
;
38
UShort_t
fAdcTimestamp
;
39
UChar_t
fSlot
;
40
41
ClassDef
(
BmnTQDCADCDigit
, 2);
42
};
43
44
#endif
/* BMNTQDCADCDIGIT_H */
UShort_t
unsigned short UShort_t
UChar_t
unsigned char UChar_t
UInt_t
unsigned int UInt_t
ClassDef
#define ClassDef(name, id)
BmnADCDigit.h
BmnADCDigit< int16_t >::BmnADCDigit
BmnADCDigit()
Definition
BmnADCDigit.h:23
BmnTQDCADCDigit::GetSlot
UChar_t GetSlot() const
Definition
BmnTQDCADCDigit.h:33
BmnTQDCADCDigit::GetTrigTimestamp
UShort_t GetTrigTimestamp() const
Definition
BmnTQDCADCDigit.h:29
BmnTQDCADCDigit::fSlot
UChar_t fSlot
Definition
BmnTQDCADCDigit.h:39
BmnTQDCADCDigit::~BmnTQDCADCDigit
virtual ~BmnTQDCADCDigit()
Definition
BmnTQDCADCDigit.h:34
BmnTQDCADCDigit::BmnTQDCADCDigit
BmnTQDCADCDigit()
Definition
BmnTQDCADCDigit.h:10
BmnTQDCADCDigit::BmnTQDCADCDigit
BmnTQDCADCDigit(UInt_t iSerial, UInt_t iChannel, UChar_t iSlot, vector< IntType > &&iValue, UShort_t TrigTS, UShort_t AdcTS)
Definition
BmnTQDCADCDigit.h:17
BmnTQDCADCDigit::GetAdcTimestamp
UShort_t GetAdcTimestamp() const
Definition
BmnTQDCADCDigit.h:31
BmnTQDCADCDigit::fTrigTimestamp
UShort_t fTrigTimestamp
Definition
BmnTQDCADCDigit.h:37
BmnTQDCADCDigit::fAdcTimestamp
UShort_t fAdcTimestamp
Definition
BmnTQDCADCDigit.h:38
IntType
@ IntType
Definition
uni_db_structures.h:38
std
Definition
json.hpp:4446
base
raw
BmnTQDCADCDigit.h
Generated on
for BmnRoot by
1.17.0