Analysis-Utilities 26.9.9
C++/ROOT utilities for nuclear measurement data analysis
Loading...
Searching...
No Matches
SOLHit Struct Reference

Lightweight SOL block: header fields only, traces stripped. More...

#include <BinaryUtils.hpp>

Public Attributes

UChar_t channel
 Channel index.
UShort_t energy
 Long-gate energy, in ADC channel units.
UShort_t energy_short
 Short-gate energy; meaningful when is_psd.
ULong64_t timestamp
 Coarse timestamp, in nanoseconds.
UShort_t fine_timestamp
 Sub-nanosecond refinement of timestamp.
UShort_t flags_high
 Upper status word.
UShort_t flags_low
 Lower status word.
UChar_t data_type
 Block format; see SOLData::DataType.
Bool_t is_psd
 Whether this block came from a PSD firmware.
UChar_t down_sampling
 Trace downsampling factor applied on-board.
UChar_t board_fail
 Board failure indicator.
UChar_t flush
 Flush indicator.
UShort_t trigger_thr
 Trigger threshold in force.
ULong64_t event_size
 Size of the source block, in bytes.
UInt_t agg_counter
 Aggregate counter from the board.
ULong64_t block_id
 Zero-based index of this block in the file.
ULong64_t trace_len
 Samples the source block carried, though this struct stores none of them.
UChar_t ana_probe_type [2]
 Analogue probe selection for traces 0 and 1.
UChar_t dig_probe_type [4]
 Digital probe selection for traces 0 to 3.

Detailed Description

Lightweight SOL block: header fields only, traces stripped.

What SOLReader::ToHit() produces and what InitUtils::ConvertSOLBinToHits() returns. Fixed size, so a whole run's worth fits in a vector without the memory cost of the traces.

Definition at line 378 of file BinaryUtils.hpp.

Member Data Documentation

◆ agg_counter

UInt_t SOLHit::agg_counter

Aggregate counter from the board.

Definition at line 393 of file BinaryUtils.hpp.

Referenced by SOLReader::ToHit().

◆ ana_probe_type

UChar_t SOLHit::ana_probe_type[2]

Analogue probe selection for traces 0 and 1.

Definition at line 397 of file BinaryUtils.hpp.

Referenced by SOLReader::ToHit().

◆ block_id

ULong64_t SOLHit::block_id

Zero-based index of this block in the file.

Definition at line 394 of file BinaryUtils.hpp.

Referenced by SOLReader::ToHit().

◆ board_fail

UChar_t SOLHit::board_fail

Board failure indicator.

Definition at line 389 of file BinaryUtils.hpp.

Referenced by SOLReader::ToHit().

◆ channel

UChar_t SOLHit::channel

Channel index.

Definition at line 379 of file BinaryUtils.hpp.

Referenced by SOLReader::ToHit().

◆ data_type

UChar_t SOLHit::data_type

Block format; see SOLData::DataType.

Definition at line 386 of file BinaryUtils.hpp.

Referenced by SOLReader::ToHit().

◆ dig_probe_type

UChar_t SOLHit::dig_probe_type[4]

Digital probe selection for traces 0 to 3.

Definition at line 398 of file BinaryUtils.hpp.

Referenced by SOLReader::ToHit().

◆ down_sampling

UChar_t SOLHit::down_sampling

Trace downsampling factor applied on-board.

Definition at line 388 of file BinaryUtils.hpp.

Referenced by SOLReader::ToHit().

◆ energy

UShort_t SOLHit::energy

Long-gate energy, in ADC channel units.

Definition at line 380 of file BinaryUtils.hpp.

Referenced by SOLReader::ToHit().

◆ energy_short

UShort_t SOLHit::energy_short

Short-gate energy; meaningful when is_psd.

Definition at line 381 of file BinaryUtils.hpp.

Referenced by SOLReader::ToHit().

◆ event_size

ULong64_t SOLHit::event_size

Size of the source block, in bytes.

Definition at line 392 of file BinaryUtils.hpp.

Referenced by SOLReader::ToHit().

◆ fine_timestamp

UShort_t SOLHit::fine_timestamp

Sub-nanosecond refinement of timestamp.

Definition at line 383 of file BinaryUtils.hpp.

Referenced by SOLReader::ToHit().

◆ flags_high

UShort_t SOLHit::flags_high

Upper status word.

Definition at line 384 of file BinaryUtils.hpp.

Referenced by SOLReader::ToHit().

◆ flags_low

UShort_t SOLHit::flags_low

Lower status word.

Definition at line 385 of file BinaryUtils.hpp.

Referenced by SOLReader::ToHit().

◆ flush

UChar_t SOLHit::flush

Flush indicator.

Definition at line 390 of file BinaryUtils.hpp.

Referenced by SOLReader::ToHit().

◆ is_psd

Bool_t SOLHit::is_psd

Whether this block came from a PSD firmware.

Definition at line 387 of file BinaryUtils.hpp.

Referenced by SOLReader::ToHit().

◆ timestamp

ULong64_t SOLHit::timestamp

Coarse timestamp, in nanoseconds.

Definition at line 382 of file BinaryUtils.hpp.

Referenced by SOLReader::ToHit().

◆ trace_len

ULong64_t SOLHit::trace_len

Samples the source block carried, though this struct stores none of them.

Definition at line 395 of file BinaryUtils.hpp.

Referenced by SOLReader::ToHit().

◆ trigger_thr

UShort_t SOLHit::trigger_thr

Trigger threshold in force.

Definition at line 391 of file BinaryUtils.hpp.

Referenced by SOLReader::ToHit().


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