SciSDK Library
SDK for SciCompiler projects
SCISDK_FE_OPENDPP_EVENT Struct Reference

OpenDPP structure. More...

#include <scisdk_defines.h>

Public Attributes

uint8_t channel
 
uint64_t timestamp
 
uint64_t timestamp_ns
 
uint16_t fine_timestamp
 
uint16_t energy
 
uint16_t flags_b
 
uint8_t flags_a
 
uint16_t psd
 
uint64_t * user_info
 
uint32_t user_info_size
 
bool truncated
 
uint16_t * waveform
 
uint32_t waveform_size
 
bool board_fail
 
bool special_event
 
uint32_t event_size
 
bool flush
 
uint32_t aggregate_counter
 

Detailed Description

OpenDPP structure.

This type is used to store decoded events from CAEN OpenDPP result The reference document for the data format is the OpenDPP

Member Data Documentation

◆ aggregate_counter

uint32_t SCISDK_FE_OPENDPP_EVENT::aggregate_counter

Aggregate counter section in the Event Aggregate structure. Shared by all the events

◆ board_fail

bool SCISDK_FE_OPENDPP_EVENT::board_fail

Set if the logical AND between of the ErrorFlag and ErrorFlagDataMask is not 0. Present in all the events

◆ channel

uint8_t SCISDK_FE_OPENDPP_EVENT::channel

Channel (7 bits)

◆ energy

uint16_t SCISDK_FE_OPENDPP_EVENT::energy

Energy (16 bits)

◆ event_size

uint32_t SCISDK_FE_OPENDPP_EVENT::event_size

Total event raw size, useful for statistics and to discriminate between compressed events (if == 8, see EnDataReduction) and standard events (if > 8).

◆ fine_timestamp

uint16_t SCISDK_FE_OPENDPP_EVENT::fine_timestamp

Fine timestamp (10 bits)

◆ flags_a

uint8_t SCISDK_FE_OPENDPP_EVENT::flags_a

Event high priority flags (8 bits). See High Priority.

◆ flags_b

uint16_t SCISDK_FE_OPENDPP_EVENT::flags_b

Event low priority flags (12 bits). See Low Priority.

◆ flush

bool SCISDK_FE_OPENDPP_EVENT::flush

Flush of the aggregate word. Shared by all the events in the aggregate. Useful for debug purposes.

◆ psd

uint16_t SCISDK_FE_OPENDPP_EVENT::psd

Pulse Shape Discrimination (16 bits)

◆ special_event

bool SCISDK_FE_OPENDPP_EVENT::special_event

Set if Special event

◆ timestamp

uint64_t SCISDK_FE_OPENDPP_EVENT::timestamp

Timestamp (48 bits)

◆ timestamp_ns

uint64_t SCISDK_FE_OPENDPP_EVENT::timestamp_ns

Timestamp in nanoseconds (51 bits)

◆ truncated

bool SCISDK_FE_OPENDPP_EVENT::truncated

0 Set if the event is truncated

◆ user_info

uint64_t* SCISDK_FE_OPENDPP_EVENT::user_info

User Info word

◆ user_info_size

uint32_t SCISDK_FE_OPENDPP_EVENT::user_info_size

Number of User Info word

◆ waveform

uint16_t* SCISDK_FE_OPENDPP_EVENT::waveform

Waveform samples

◆ waveform_size

uint32_t SCISDK_FE_OPENDPP_EVENT::waveform_size

Number of waveform samples.


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