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

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

#include <EventBuilder.hpp>

Public Member Functions

Int_t Total (Int_t strip) const
 A strip's deposit: the sum of its ends, or the unsegmented value.

Public Attributes

Int_t leftdE [16]
 Left end of strips 1-16, in ADC, index strip - 1.
Int_t rightdE [16]
 Right end of strips 1-16, in ADC, index strip - 1.
Int_t strip0dE
 Strip 0, unsegmented, in ADC.
Int_t strip17dE
 Strip 17, unsegmented, 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 31 of file EventBuilder.hpp.

Member Function Documentation

◆ Total()

Int_t EventState::Total ( Int_t strip) const
inline

A strip's deposit: the sum of its ends, or the unsegmented value.

Parameters
stripAnode strip, 0 to 17.

Definition at line 50 of file EventBuilder.hpp.

Referenced by FinalizeEvent().

Member Data Documentation

◆ cathode

Int_t EventState::cathode

Cathode energy, in ADC.

Definition at line 38 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 42 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 39 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 43 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 37 of file EventBuilder.hpp.

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

◆ leftdE

Int_t EventState::leftdE[16]

Left end of strips 1-16, in ADC, index strip - 1.

Definition at line 32 of file EventBuilder.hpp.

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

◆ 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 47 of file EventBuilder.hpp.

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

◆ rightdE

Int_t EventState::rightdE[16]

Right end of strips 1-16, in ADC, index strip - 1.

Definition at line 33 of file EventBuilder.hpp.

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

◆ strip0dE

Int_t EventState::strip0dE

Strip 0, unsegmented, in ADC.

Definition at line 34 of file EventBuilder.hpp.

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

◆ strip17dE

Int_t EventState::strip17dE

Strip 17, unsegmented, in ADC.

Definition at line 35 of file EventBuilder.hpp.

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


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