epic-drich-beam-test-analysis
ePIC dRICH beam test analysis framework
Loading...
Searching...
No Matches
alcor_finedata_struct Struct Reference

Raw decoded hit data from an ALCOR TDC channel. More...

#include <alcor_finedata.h>

Public Member Functions

 alcor_finedata_struct ()=default
 Default constructor.
 
 alcor_finedata_struct (uint32_t rollover_, uint16_t coarse_, uint8_t fine_, float hit_x_, float hit_y_, uint32_t global_index_, uint32_t hit_mask_)
 Constructor from individual values.
 
 alcor_finedata_struct (const alcor_data_struct &d)
 Construct from a raw alcor_data_struct.
 

Public Attributes

Timing Components
uint32_t rollover
 Rollover counter (most-significant timing word).
 
uint16_t coarse
 Coarse timestamp (clock-cycle counter).
 
uint8_t fine
 Fine timestamp (TDC interpolation bin within a clock cycle).
 
float hit_x
 X-axis position from mapping.
 
float hit_y
 Y-axis position from mapping.
 
Indexing & Masking
uint32_t global_index
 Global calibration index identifying the TDC channel.
 
uint32_t hit_mask
 Bitmask encoding hit channel/pixel information.
 

Detailed Description

Raw decoded hit data from an ALCOR TDC channel.

Holds the timing components (rollover, coarse, fine) and the calibration index used to look up the corresponding fine-time calibration parameters.

Todo:
Implement bit-wise manipulation for rollover, fine, and coarse encoding.

Constructor & Destructor Documentation

◆ alcor_finedata_struct()

alcor_finedata_struct::alcor_finedata_struct ( const alcor_data_struct d)

Construct from a raw alcor_data_struct.

Parameters
dRaw data word to decode into timing components.

The documentation for this struct was generated from the following files: