9 #ifndef _Df125FDCPulse_
10 #define _Df125FDCPulse_
89 void toStrings(vector<pair<string,string> > &items)
const{
91 AddString(items,
"le_time",
"%d",
le_time);
93 AddString(items,
"integral",
"%d",
integral);
95 AddString(items,
"pedestal",
"%d",
pedestal);
96 AddString(items,
"NPK",
"%d",
NPK);
99 AddString(items,
"peak_amp",
"%d",
peak_amp);
100 AddString(items,
"peak_time",
"%d",
peak_time);
103 AddString(items,
"emulated",
"%d",
emulated);
107 #endif // _Df125FDCPulse_
void toStrings(vector< pair< string, string > > &items) const
void toStrings(vector< pair< string, string > > &items) const
uint32_t peak_time
from second word
uint32_t peak_time_emulated
emulated from raw data when available
uint32_t peak_amp
from second word (type 9)
uint32_t integral
from second word (type 6)
uint32_t peak_amp_emulated
emulated from raw data when available
uint32_t time_quality_bit_emulated
emulated from raw data when available
uint32_t word2
second word
uint32_t le_time
from first word
uint32_t le_time_emulated
emulated from raw data when available
JOBJECT_PUBLIC(Df125FDCPulse)
Holds pulse integral data for one identified pulse in one event in one channel of a single f125 Flash...
uint32_t time_quality_bit
from first word
bool emulated
true if emulated values are copied to the main input
This class holds the Crate, Slot, Channel address for a digitized value from the DAQ system...
uint32_t pedestal
from second word
uint32_t nsamples_integral
number of samples used in pedestal
uint32_t overflow_count_emulated
emulated from raw data when available
uint32_t pedestal_emulated
emulated from raw data when available
uint32_t NPK
from first word
Df125FDCPulse(uint32_t rocid=0, uint32_t slot=0, uint32_t channel=0, uint32_t itrigger=0, uint32_t NPK=0, uint32_t le_time=0, uint32_t time_quality_bit=0, uint32_t overflow_count=0, uint32_t pedestal=0, uint32_t integral=0, uint32_t peak_amp=0, uint32_t peak_time=0, uint32_t word1=0, uint32_t word2=0, uint32_t nsamples_pedestal=1, uint32_t nsamples_integral=1, bool emulated=false, uint32_t le_time_emulated=0xffff, uint32_t time_quality_bit_emulated=0xffff, uint32_t overflow_count_emulated=0xffff, uint32_t pedestal_emulated=0xffff, uint32_t integral_emulated=0xffff, uint32_t peak_amp_emulated=0xffff, uint32_t peak_time_emulated=0xffff)
uint32_t nsamples_pedestal
number of samples used in integral
uint32_t overflow_count
from first word
uint32_t integral_emulated
emulated from raw data when available