Project
Loading...
Searching...
No Matches
o2::zdc::RecEventAux Struct Reference

#include <RecEventAux.h>

Inherits o2::zdc::RecEventFlat.

Public Member Functions

 RecEventAux ()
 Samples (raw or filtered)
 
void print () const
 
 ClassDefNV (RecEventAux, 1)
 
- Public Member Functions inherited from o2::zdc::RecEventFlat
void clearBitmaps ()
 18 Missing TDC signal correction
 
void init (const std::vector< o2::zdc::BCRecData > *RecBC, const std::vector< o2::zdc::ZDCEnergy > *Energy, const std::vector< o2::zdc::ZDCTDCData > *TDCData, const std::vector< uint16_t > *Info)
 Trigger mask for printout.
 
void init (const gsl::span< const o2::zdc::BCRecData > RecBC, const gsl::span< const o2::zdc::ZDCEnergy > Energy, const gsl::span< const o2::zdc::ZDCTDCData > TDCData, const gsl::span< const uint16_t > Info)
 
int next ()
 
int at (int ientry)
 
void allocate (int isig)
 
BCRecDatagetCurB ()
 
int getEntries () const
 
int getNextEntry () const
 
NElem getNEnergy () const
 
bool getEnergy (int32_t i, uint8_t &key, float &val) const
 
NElem getNTDC () const
 
NElem getNInfo () const
 
const std::vector< uint16_t > & getDecodedInfo ()
 
float tdcV (uint8_t ich, uint64_t ipos) const
 
float tdcA (uint8_t ich, uint64_t ipos) const
 
int NtdcV (uint8_t ich) const
 
int NtdcA (uint8_t ich) const
 
float EZDC (uint8_t ich) const
 
float EZNAC () const
 
float EZNA1 () const
 
float EZNA2 () const
 
float EZNA3 () const
 
float EZNA4 () const
 
float EZNASum () const
 
float EZPAC () const
 
float EZPA1 () const
 
float EZPA2 () const
 
float EZPA3 () const
 
float EZPA4 () const
 
float EZPASum () const
 
float EZEM1 () const
 
float EZEM2 () const
 
float EZNCC () const
 
float EZNC1 () const
 
float EZNC2 () const
 
float EZNC3 () const
 
float EZNC4 () const
 
float EZNCSum () const
 
float EZPCC () const
 
float EZPC1 () const
 
float EZPC2 () const
 
float EZPC3 () const
 
float EZPC4 () const
 
float EZPCSum () const
 
void centroidZNA (float &x, float &y)
 
void centroidZNC (float &x, float &y)
 
void centroidZPA (float &x, float &rms)
 
void centroidZPC (float &x, float &rms)
 
float xZNA ()
 
float yZNA ()
 
float xZNC ()
 
float yZNC ()
 
float xZPA ()
 
float xZPC ()
 
float rmsZPA ()
 
float rmsZPC ()
 
void decodeInfo (uint8_t ch, uint16_t code)
 
void decodeMapInfo (uint32_t ch, uint16_t code)
 
void print () const
 
void printDecodedMessages () const
 
void printEvent () const
 
 ClassDefNV (RecEventFlat, 1)
 

Public Attributes

uint32_t flags
 
int ntdc [NTDCChannels] = {0}
 
std::array< bool, NTDCChannelspattern
 Number of hits in TDC.
 
uint16_t fired [NTDCChannels] = {0}
 Pattern of TDC.
 
bool chfired [NChannels] = {0}
 Position at which the trigger algorithm is fired.
 
uint32_t ref [NChannels]
 Fired TDC condition related to channel.
 
std::array< bool, NChannelserr
 Cache of references.
 
std::array< int16_t, NTimeBinsPerBCdata [NChannels] = {0}
 Generic error condition.
 
- Public Attributes inherited from o2::zdc::RecEventFlat
o2::InteractionRecord ir
 
uint32_t channels = 0
 
uint32_t ezdcDecoded = 0
 pattern of channels acquired
 
uint32_t triggers = 0
 pattern of decoded energies
 
std::map< uint8_t, float > ezdc
 pattern of channels with autotrigger bit
 
std::vector< float > TDCVal [NTDCChannels]
 signal in ZDCs
 
std::vector< float > TDCAmp [NTDCChannels]
 TDC values.
 
std::vector< bool > TDCPile [NTDCChannels]
 TDC signal amplitudes.
 
gsl::span< const o2::zdc::BCRecDatamRecBC
 TDC pile-up correction flag (TODO)
 
gsl::span< const o2::zdc::ZDCEnergymEnergy
 Interaction record and references to data.
 
gsl::span< const o2::zdc::ZDCTDCDatamTDCData
 ZDC energy.
 
gsl::span< const uint16_t > mInfo
 ZDC TDC.
 
std::vector< uint16_t > mDecodedInfo
 Event quality information.
 
uint64_t mEntry = 0
 Event quality information (decoded)
 
uint64_t mNEntries = 0
 Current entry.
 
FirstEntry mFirstE = 0
 Number of entries.
 
FirstEntry mFirstT = 0
 First energy.
 
FirstEntry mFirstI = 0
 First TDC.
 
FirstEntry mStopE = 0
 First info.
 
FirstEntry mStopT = 0
 Last + 1 energy.
 
FirstEntry mStopI = 0
 Last + 1 TDC.
 
NElem mNE = 0
 Last + 1 info.
 
NElem mNT = 0
 N energy.
 
NElem mNI = 0
 N TDC.
 
std::array< bool, NChannelsisBeg {}
 N info.
 
std::array< bool, NChannelsisEnd {}
 Beginning of sequence.
 
BCRecData mCurB
 End of sequence.
 
std::vector< float > inter [NChannels]
 Current BC.
 
std::array< bool, 4 > mComputed {}
 Interpolated samples.
 
std::array< bool, NChannelsgenericE {}
 Centroid computed.
 
std::array< bool, NChannelstdcPedEv {}
 0 Generic error
 
std::array< bool, NChannelstdcPedOr {}
 – Event pedestal for TDC
 
std::array< bool, NChannelstdcPedQC {}
 – Orbit pedestal for TDC
 
std::array< bool, NChannelstdcPedMissing {}
 1 QC pedestal for TDC
 
std::array< bool, NChannelsadcPedEv {}
 2 Missing pedestal for ADC
 
std::array< bool, NChannelsadcPedOr {}
 – Event pedestal for ADC
 
std::array< bool, NChannelsadcPedQC {}
 3 Orbit pedestal for ADC
 
std::array< bool, NChannelsadcPedMissing {}
 4 QC pedestal for ADC
 
std::array< bool, NChannelsoffPed {}
 5 Missing pedestal for ADC
 
std::array< bool, NChannelspilePed {}
 6 Anomalous offset from pedestal info
 
std::array< bool, NChannelspileTM {}
 7 Pile-up detection from pedestal info
 
std::array< bool, NChannelsadcMissingwTDC {}
 8 Pile-up detection from TM trigger bit
 
std::array< bool, NChannelstdcPileEvC {}
 9 Missing ADC even if TDC is present
 
std::array< bool, NChannelstdcPileEvE {}
 10 TDC in-bunch pile-up corrected
 
std::array< bool, NChannelstdcPileM1C {}
 11 TDC in-bunch pile-up error
 
std::array< bool, NChannelstdcPileM1E {}
 12 TDC pile-up in bunch -1 corrected
 
std::array< bool, NChannelstdcPileM2C {}
 13 TDC pile-up in bunch -1 error
 
std::array< bool, NChannelstdcPileM2E {}
 14 TDC pile-up in bunch -2 corrected
 
std::array< bool, NChannelstdcPileM3C {}
 15 TDC pile-up in bunch -2 error
 
std::array< bool, NChannelstdcPileM3E {}
 16 TDC pile-up in bunch -3 corrected
 
std::array< bool, NChannelstdcSigE {}
 17 TDC pile-up in bunch -3 error
 
uint8_t mVerbosity = DbgZero
 
uint32_t mTriggerMask = 0
 Verbosity level.
 

Detailed Description

Definition at line 33 of file RecEventAux.h.

Constructor & Destructor Documentation

◆ RecEventAux()

o2::zdc::RecEventAux::RecEventAux ( )
inline

Samples (raw or filtered)

Definition at line 48 of file RecEventAux.h.

Member Function Documentation

◆ ClassDefNV()

o2::zdc::RecEventAux::ClassDefNV ( RecEventAux  ,
 
)

◆ print()

void RecEventAux::print ( ) const

Definition at line 16 of file RecEventAux.cxx.

Member Data Documentation

◆ chfired

bool o2::zdc::RecEventAux::chfired[NChannels] = {0}

Position at which the trigger algorithm is fired.

Definition at line 42 of file RecEventAux.h.

◆ data

std::array<int16_t, NTimeBinsPerBC> o2::zdc::RecEventAux::data[NChannels] = {0}

Generic error condition.

Definition at line 45 of file RecEventAux.h.

◆ err

std::array<bool, NChannels> o2::zdc::RecEventAux::err

Cache of references.

Definition at line 44 of file RecEventAux.h.

◆ fired

uint16_t o2::zdc::RecEventAux::fired[NTDCChannels] = {0}

Pattern of TDC.

Definition at line 41 of file RecEventAux.h.

◆ flags

uint32_t o2::zdc::RecEventAux::flags

Definition at line 34 of file RecEventAux.h.

◆ ntdc

int o2::zdc::RecEventAux::ntdc[NTDCChannels] = {0}

Definition at line 39 of file RecEventAux.h.

◆ pattern

std::array<bool, NTDCChannels> o2::zdc::RecEventAux::pattern

Number of hits in TDC.

Definition at line 40 of file RecEventAux.h.

◆ ref

uint32_t o2::zdc::RecEventAux::ref[NChannels]

Fired TDC condition related to channel.

Definition at line 43 of file RecEventAux.h.


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