MUSIC unknown
Analysis for the MUSIC active-target ionization chamber
Loading...
Searching...
No Matches
EventState Struct Reference

One built event: the per-slot energies and the flags seen while building it. More...

#include <EventBuilder.hpp>

Public Attributes

Int_t leftdE [18]
 Left-side energy per anode strip, in ADC.
Int_t rightdE [18]
 Right-side energy per anode strip, in ADC.
Int_t totaldE [18]
 Summed energy per anode strip, in ADC.
Int_t hits [Constants::N_ARR_SLOTS]
 Hit count per slot; see SlotLayout.hpp.
Int_t cathode
 Cathode energy, in ADC.
Int_t grid
 Frisch grid energy, in ADC.
UInt_t flags_or
 Bitwise OR of the CoMPASS status flags of every hit in the event, so a single test covers pileup or saturation anywhere in it.
Bool_t had_cathode
 Whether a cathode hit was seen at all.
ULong64_t ref_ts
 Timestamp of the reference grid hit that seeded this event.

Detailed Description

One built event: the per-slot energies and the flags seen while building it.

Array indices follow the fixed layout in SlotLayout.hpp, so slot Constants::ARR_SLOT_CATHODE is the cathode in every array here.

Definition at line 34 of file EventBuilder.hpp.

Member Data Documentation

◆ cathode

Int_t EventState::cathode

Cathode energy, in ADC.

Definition at line 40 of file EventBuilder.hpp.

Referenced by EventBuilder::AssignHit(), FinalizeEvent(), and EventBuilder::ResetEventState().

◆ flags_or

UInt_t EventState::flags_or

Bitwise OR of the CoMPASS status flags of every hit in the event, so a single test covers pileup or saturation anywhere in it.

Definition at line 44 of file EventBuilder.hpp.

Referenced by EventBuilder::AssignHit(), FinalizeEvent(), EventBuilder::GetFlagSummary(), and EventBuilder::ResetEventState().

◆ grid

Int_t EventState::grid

Frisch grid energy, in ADC.

Definition at line 41 of file EventBuilder.hpp.

Referenced by EventBuilder::AssignHit(), FinalizeEvent(), and EventBuilder::ResetEventState().

◆ had_cathode

Bool_t EventState::had_cathode

Whether a cathode hit was seen at all.

Definition at line 45 of file EventBuilder.hpp.

Referenced by EventBuilder::AssignHit(), FinalizeEvent(), and EventBuilder::ResetEventState().

◆ hits

Int_t EventState::hits[Constants::N_ARR_SLOTS]

Hit count per slot; see SlotLayout.hpp.

Definition at line 39 of file EventBuilder.hpp.

Referenced by EventBuilder::AssignHit(), FinalizeEvent(), and EventBuilder::ResetEventState().

◆ leftdE

Int_t EventState::leftdE[18]

Left-side energy per anode strip, in ADC.

Definition at line 35 of file EventBuilder.hpp.

Referenced by EventBuilder::AssignHit(), EventBuilder::CheckEventComplete(), FinalizeEvent(), and EventBuilder::ResetEventState().

◆ ref_ts

ULong64_t EventState::ref_ts

Timestamp of the reference grid hit that seeded this event.

Unique per event and stable across re-chunking, so it joins a cached event back to its source without depending on file or entry numbering.

Definition at line 49 of file EventBuilder.hpp.

Referenced by EventBuilder::BuildEventsFromSortedHits(), FinalizeEvent(), and EventBuilder::ResetEventState().

◆ rightdE

Int_t EventState::rightdE[18]

Right-side energy per anode strip, in ADC.

Definition at line 36 of file EventBuilder.hpp.

Referenced by EventBuilder::AssignHit(), EventBuilder::CheckEventComplete(), FinalizeEvent(), and EventBuilder::ResetEventState().

◆ totaldE

Int_t EventState::totaldE[18]

Summed energy per anode strip, in ADC.

Definition at line 37 of file EventBuilder.hpp.

Referenced by EventBuilder::AssignHit(), EventBuilder::CheckEventComplete(), FinalizeEvent(), and EventBuilder::ResetEventState().


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