NSCL DDAS
1.0
Support for XIA DDAS at the NSCL
|
#include <DDASFitHit.h>
Public Member Functions | |
void | Reset () |
void | setExtension (const ::DDAS::HitExtension &extension) |
bool | hasExtension () const |
const ::DDAS::HitExtension & | getExtension () const |
![]() | |
DDASHit () | |
Default constructor. More... | |
DDASHit (const DDASHit &obj) | |
Copy constructor. | |
DDASHit & | operator= (const DDASHit &obj) |
Assignment operator. | |
virtual | ~DDASHit () |
Destructor. | |
void | Reset () |
Resets the state of all member data to that of initialization. More... | |
uint32_t | GetEnergy () const |
Retrieve the energy. More... | |
uint32_t | GetTimeHigh () const |
Retrieve most significant 16-bits of raw timestamp. | |
uint32_t | GetTimeLow () const |
Retrieve least significant 32-bit of raw timestamp. | |
uint32_t | GetTimeCFD () const |
Retrieve the raw cfd time. | |
double | GetTime () const |
Retrieve computed time. More... | |
uint64_t | GetCoarseTime () const |
Retrieve the 48-bit timestamp in nanoseconds without any CFD correction. | |
uint32_t | GetFinishCode () const |
Retrieve finish code. More... | |
uint32_t | GetChannelLength () const |
Retrieve number of 32-bit words that were in original data packet. More... | |
uint32_t | GetChannelLengthHeader () const |
Retrieve length of header in original data packet. | |
uint32_t | GetOverflowCode () const |
Retrieve the overflow code. | |
uint32_t | GetSlotID () const |
Retrieve the slot that the module resided in. | |
uint32_t | GetCrateID () const |
Retrieve the index of the crate the module resided in. | |
uint32_t | GetChannelID () const |
Retrieve the channel index. | |
uint32_t | GetModMSPS () const |
Retrieve the ADC frequency of the module. | |
int | GetHardwareRevision () const |
Retrieve the hardware revision. | |
int | GetADCResolution () const |
Retrieve the adc resolution. | |
uint32_t | GetCFDTrigSource () const |
uint32_t | GetCFDFailBit () const |
uint32_t | GetTraceLength () const |
std::vector< uint16_t > & | GetTrace () |
const std::vector< uint16_t > & | GetTrace () const |
std::vector< uint32_t > & | GetEnergySums () |
const std::vector< uint32_t > & | GetEnergySums () const |
std::vector< uint32_t > & | GetQDCSums () |
const std::vector< uint32_t > & | GetQDCSums () const |
uint64_t | GetExternalTimestamp () const |
bool | GetADCOverflowUnderflow () const |
Return the adc overflow/underflow status. More... | |
void | setChannel (uint32_t channel) |
void | setSlot (uint32_t slot) |
void | setCrate (uint32_t crate) |
void | setChannelHeaderLength (uint32_t channelHeaderLength) |
void | setChannelLength (uint32_t channelLength) |
void | setOverflowCode (uint32_t overflow) |
void | setFinishCode (bool finishCode) |
void | setCoarseTime (uint64_t time) |
void | setRawCFDTime (uint32_t data) |
void | setCFDTrigSourceBit (uint32_t bit) |
void | setCFDFailBit (uint32_t bit) |
void | setTimeLow (uint32_t datum) |
void | setTimeHigh (uint32_t datum) |
void | setTime (double time) |
void | setEnergy (uint32_t value) |
void | setTraceLength (uint32_t trace) |
void | setADCFrequency (uint32_t value) |
void | setADCResolution (int value) |
void | setHardwareRevision (int value) |
void | appendEnergySum (uint32_t value) |
void | appendQDCSum (uint32_t value) |
void | appendTraceSample (uint16_t value) |
void | setExternalTimestamp (uint64_t tstamp) |
void | setADCOverflowUnderflow (bool state) |
Encapsulates data for ddas hits that may have fitted traces. This is produced by FitHitUnpacker::decode. This is basically just a DDASHit with extra fields.