LDMX Software
|
A spill of events from a FiberTracker station. More...
Public Member Functions | |
FiberTrackerEvent (const std::vector< uint32_t > &spill_data, std::size_t i_word) | |
Public Attributes | |
int | trigger_timestamp_lsb |
int | trigger_timestamp_msb |
int | event_timestamp_lsb |
int | event_timestamp_msb |
std::vector< uint32_t > | channel_hits |
A spill of events from a FiberTracker station.
Each event is 10 32-bit words where
Word 0: Timestamp LSB in 8 ns ticks since the last whole second, for the trigger signal Word 1: Timestamp MSB in UNIX epoch seconds for the trigger signal (in international atomic time)
Word 2: Timestamp LSB in 8 ns ticks since the last whole second, for the "event" Word 3: Timestamp MSB in UNIX epoch seconds for the "event" (honestly don't know what they mean by "event", so I ignore this timestamp)
Word 4-9: Hit information, the fiber tracker has 6*32=192 fibers, a 1 means a hit and a 0 means no hit.
There are 192 bits to make the system compatible with the samll and big detectors. In T9 we have small detectors (only 96 channels) so we have lots of zeros. Only channels 48-144 have detector data, the other channels are empty (all zeros).
Definition at line 135 of file FiberTrackerRawDecoder.cxx.
|
inline |
Definition at line 142 of file FiberTrackerRawDecoder.cxx.
std::vector<uint32_t> packing::FiberTrackerEvent::channel_hits |
Definition at line 138 of file FiberTrackerRawDecoder.cxx.
int packing::FiberTrackerEvent::event_timestamp_lsb |
Definition at line 136 of file FiberTrackerRawDecoder.cxx.
int packing::FiberTrackerEvent::event_timestamp_msb |
Definition at line 137 of file FiberTrackerRawDecoder.cxx.
int packing::FiberTrackerEvent::trigger_timestamp_lsb |
Definition at line 136 of file FiberTrackerRawDecoder.cxx.
int packing::FiberTrackerEvent::trigger_timestamp_msb |
Definition at line 136 of file FiberTrackerRawDecoder.cxx.