9 #ifndef _Df125PulsePedestal_
10 #define _Df125PulsePedestal_
23 Df125PulsePedestal(uint32_t
rocid=0, uint32_t
slot=0, uint32_t
channel=0, uint32_t
itrigger=0, uint32_t
pulse_number=0, uint32_t
pedestal=0, uint32_t
pulse_peak=0, uint32_t
nsamples=0,
bool emulated=
false):
DDAQAddress(
rocid,
slot,
channel,
itrigger),
pulse_number(
pulse_number),
pedestal(
pedestal),
pulse_peak(
pulse_peak),
nsamples(
nsamples),
emulated(
emulated){}
33 void toStrings(vector<pair<string,string> > &items)
const{
36 AddString(items,
"pedestal",
"%d",
pedestal);
37 AddString(items,
"pulse_peak",
"%d",
pulse_peak);
38 AddString(items,
"nsamples",
"%d",
nsamples);
39 AddString(items,
"emulated",
"%d",
emulated);
43 #endif // _Df125PulsePedestal_
void toStrings(vector< pair< string, string > > &items) const
uint32_t nsamples
number of samples used in pedestal
bool emulated
true if made from Window Raw Data
uint32_t pulse_peak
from Pulse Pedestal Data word
void toStrings(vector< pair< string, string > > &items) const
uint32_t pulse_number
from Pulse Pedestal Data word
uint32_t pedestal
from Pulse Pedestal Data word
This class holds the Crate, Slot, Channel address for a digitized value from the DAQ system...
Df125PulsePedestal(uint32_t rocid=0, uint32_t slot=0, uint32_t channel=0, uint32_t itrigger=0, uint32_t pulse_number=0, uint32_t pedestal=0, uint32_t pulse_peak=0, uint32_t nsamples=0, bool emulated=false)
JOBJECT_PUBLIC(Df125PulsePedestal)
Holds pulse time for one identified pulse in one event in one channel of a single f250 Flash ADC modu...