9 #ifndef _Df125PulseTime_
10 #define _Df125PulseTime_
23 Df125PulseTime(uint32_t
rocid=0, uint32_t
slot=0, uint32_t
channel=0, uint32_t
itrigger=0, uint32_t
pulse_number=0, uint32_t
quality_factor=0, uint32_t
time=0, uint32_t
overflows=0, uint32_t
peak_time=0,
bool emulated=
false):
DDAQAddress(
rocid,
slot,
channel,
itrigger),
pulse_number(
pulse_number),
quality_factor(
quality_factor),
time(
time),
overflows(
overflows),
peak_time(
peak_time),
emulated(
emulated){}
34 void toStrings(vector<pair<string,string> > &items)
const{
38 AddString(items,
"time",
"%d",
time);
39 AddString(items,
"overflows",
"%d",
overflows);
40 AddString(items,
"peak_time",
"%d",
peak_time);
41 AddString(items,
"emulated",
"%d",
emulated);
45 #endif // _Df125PulseTime_
void toStrings(vector< pair< string, string > > &items) const
uint32_t peak_time
from 2nd word for FDC data only (type 6 or 9)
uint32_t overflows
(future expansion. "7" means "7 or more" samples overflowed
uint32_t pulse_number
from Pulse Time Data word
uint32_t time
from Pulse Time Data word
void toStrings(vector< pair< string, string > > &items) const
bool emulated
true if made from Window Raw Data
JOBJECT_PUBLIC(Df125PulseTime)
Holds pulse time for one identified pulse in one event in one channel of a single f125 Flash ADC modu...
This class holds the Crate, Slot, Channel address for a digitized value from the DAQ system...
uint32_t quality_factor
from Pulse Time Data word
Df125PulseTime(uint32_t rocid=0, uint32_t slot=0, uint32_t channel=0, uint32_t itrigger=0, uint32_t pulse_number=0, uint32_t quality_factor=0, uint32_t time=0, uint32_t overflows=0, uint32_t peak_time=0, bool emulated=false)