1 #ifndef TRB3Decoder_hxx_seen
2 #define TRB3Decoder_hxx_seen
110 TrbTdcMeas(uint32_t fpga, uint32_t header, uint32_t epoch, uint32_t measurement):
138 TrbDecoder(
int bklen,
void *pdata, std::string bankname,
int type);
void UseTRB3LinearCalibration(bool uselinear)
bool useLinearCalibration
static Trb3Calib & getInstance()
float LinearCalibHighEnd()
Trb3Calib(Trb3Calib const &)
void operator=(Trb3Calib const &)
void SetTRB3LinearCalibrationConstants(float low_value, float high_value)
float LinearCalibLowEnd()
Decoder for data packets from TRB3.
const uint32_t GetBoardId()
const uint32_t GetRunNr()
std::vector< TrbTdcMeas > fMeasurements
Vector of TDC Measurements.
const uint32_t GetMonth()
uint32_t GetSubEventID()
Get Sub-event ID.
const int GetNumberMeasurements()
TrbDecoder(int bklen, void *pdata, std::string bankname, int type)
Constructor.
std::vector< TrbTdcMeas > & GetMeasurements()
Get the Vector of TDC Measurements.
const uint32_t GetSeqNr()
uint32_t GetTriggerNumber()
Get Trigger Number.
const uint32_t GetPacketSize()
Get Packet size.
uint32_t GetTriggerCode()
Get Trigger code.
Decoder for individual hits from GSI TFB3 FPGA-TDC.
bool IsTrailing() const
Is this the trailing edge measurement?
uint32_t GetBoardId() const
bool IsLeading() const
Is this the leading edge measurement?
uint32_t GetMeasurement() const
Get the TDC measurement.
TrbTdcMeas(uint32_t fpga, uint32_t header, uint32_t epoch, uint32_t measurement)
Constructor;.
double GetSemiFinalTime() const
uint32_t GetEpochCounter() const
uint32_t GetChannel() const
Get the channel number.
uint32_t tdc_measurement_word
uint32_t fgpa_header_word
Found fields to hold the header, measurement error words.
uint32_t GetCoarseTime() const
double GetFinalTime() const
uint32_t GetFineTime() const