BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnTrigWaveDigit.cxx
Go to the documentation of this file.
1#include "BmnTrigWaveDigit.h"
2
4 : fMod(-1)
5 , fNsmpl(0)
6 , fValueI(nullptr)
7 , fValue(vector<int16_t>())
10 , fTime(0)
11{}
12
14 vector<int16_t>&& iValue,
15 Double_t trigTimestamp,
16 Double_t adcTimestamp,
17 Double_t time)
18 : fMod(iMod)
19 , fNsmpl(iValue.size())
20 , fValueI(nullptr)
21 , fValue(std::move(iValue))
22 , fTrigTimestamp(trigTimestamp)
23 , fAdcTimestamp(adcTimestamp)
24 , fTime(time)
25{}
26
28 int16_t* iValue,
29 UInt_t nVals,
30 Double_t trigTimestamp,
31 Double_t adcTimestamp,
32 Double_t time)
33 : fMod(iMod)
34 , fNsmpl(nVals)
35 , fValueI(nullptr)
36 , fValue{iValue, iValue + nVals}
37 , fTrigTimestamp(trigTimestamp)
38 , fAdcTimestamp(adcTimestamp)
39 , fTime(time)
40{}
41
unsigned short UShort_t
unsigned int UInt_t
double Double_t
uint32_t fNsmpl
ROOT schema evolution does not work as stated in their manual So we have to hold old fields in order ...
vector< int16_t > fValue
Definition json.hpp:4446