Bool_t m_adcOverUnderflow
whether adc overflowed or underflowed
Definition: ddaschannel.h:78
Int_t cfdtrigsourcebit
value of trigger source bit(s) for 250 MSPS and 500 MSPS
Definition: ddaschannel.h:70
Int_t GetChannelNum() const
Retrieve the channel number.
Definition: ddaschannel.h:202
Int_t channelheaderlength
length of header
Definition: ddaschannel.h:63
Int_t m_adcResolution
adc resolution (i.e. bit depth)
Definition: ddaschannel.h:76
Encapsulation of a generic DDAS event.
Definition: ddaschannel.h:41
UInt_t GetTimeHigh() const
Retrieve most significant 16-bits of raw timestamp.
Definition: ddaschannel.h:153
Int_t slotid
slot index
Definition: ddaschannel.h:66
Encapsulation of a generic DDAS event.
Definition: DDASHit.h:51
ddaschannel & operator=(const ddaschannel &obj)=default
Assignment operator.
Int_t tracelength
length of stored trace
Definition: ddaschannel.h:73
Int_t overflowcode
1 = overflow
Definition: ddaschannel.h:64
std::vector< UShort_t > trace
Trace data.
Definition: ddaschannel.h:85
Int_t ModMSPS
Sampling rate of the module (MSPS)
Definition: ddaschannel.h:75
Int_t GetOverflowCode() const
Retrieve the overflow code.
Definition: ddaschannel.h:221
Int_t channelnum
Definition: ddaschannel.h:60
Double_t time
assembled time including cfd
Definition: ddaschannel.h:51
UInt_t timehigh
bits 32-47 of timestamp
Definition: ddaschannel.h:56
void UnpackChannelData(const uint32_t *data)
Parse the DDAS Readout event data.
Definition: ddaschannel.cpp:143
Int_t finishcode
indicates whether pile-up occurred
Definition: ddaschannel.h:61
Double_t GetTime() const
Retrieve computed time.
Definition: ddaschannel.h:184
Int_t GetChannelLength() const
Retrieve number of 32-bit words that were in original data packet.
Definition: ddaschannel.h:215
UInt_t GetEnergy() const
Retrieve the energy.
Definition: ddaschannel.h:150
Int_t channellength
number of 32-bit words of raw data
Definition: ddaschannel.h:62
Double_t GetCoarseTime() const
Retrieve the 48-bit timestamp in nanoseconds without any CFD correction.
Definition: ddaschannel.h:187
Int_t chanid
channel index
Definition: ddaschannel.h:65
Int_t GetID() const
Definition: ddaschannel.h:233
Int_t id
Definition: ddaschannel.h:68
UInt_t energy
energy of event
Definition: ddaschannel.h:55
ddaschannel()
Default constructor.
Definition: ddaschannel.cpp:26
std::vector< UInt_t > qdcSums
QDC sum data.
Definition: ddaschannel.h:82
~ddaschannel()
Destructor.
Definition: ddaschannel.cpp:138
Double_t coarsetime
assembled time without cfd
Definition: ddaschannel.h:52
Int_t GetSlotID() const
Retrieve the slot that the module resided in.
Definition: ddaschannel.h:224
Double_t externalTimestamp
External clock.
Definition: ddaschannel.h:87
Int_t cfdfailbit
indicates whether the cfd algo failed
Definition: ddaschannel.h:71
Int_t GetChannelLengthHeader() const
Retrieve length of header in original data packet.
Definition: ddaschannel.h:218
Int_t GetChannelID() const
Retrieve the channel index.
Definition: ddaschannel.h:230
Int_t m_hdwrRevision
hardware revision
Definition: ddaschannel.h:77
UInt_t GetTimeLow() const
Retrieve least significant 32-bit of raw timestamp.
Definition: ddaschannel.h:156
Int_t crateid
crate index
Definition: ddaschannel.h:67
Double_t cfd
cfd time only
Definition: ddaschannel.h:53
UInt_t GetCFDTime() const
Retrieve the raw cfd time.
Definition: ddaschannel.h:159
std::vector< UInt_t > energySums
Energy sum data.
Definition: ddaschannel.h:81
Double_t GetCFD() const
Definition: ddaschannel.h:190
std::vector< UShort_t > GetTrace() const
Retrieve a copy of the trace stored.
Definition: ddaschannel.h:239
UInt_t GetEnergySums(Int_t i) const
Retrieve specific energy sum.
Definition: ddaschannel.h:199
void Reset()
Resets the state of all member data to that of initialization.
Definition: ddaschannel.cpp:100
Int_t GetFinishCode() const
Retrieve finish code.
Definition: ddaschannel.h:208
Definition: functions.h:26
UInt_t timecfd
raw cfd time
Definition: ddaschannel.h:58
Definition: SystemBooter.cpp:16
UInt_t timelow
bits 0-31 of timestamp
Definition: ddaschannel.h:57
Int_t GetModMSPS() const
Retrieve the ADC frequency of the module.
Definition: ddaschannel.h:236
Int_t GetCrateID() const
Retrieve the index of the crate the module resided in.
Definition: ddaschannel.h:227