![]() |
Project
|
#include <RecEventFlat.h>
Inherited by o2::zdc::RecEventAux.
Public Member Functions | |
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) |
BCRecData & | getCurB () |
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 | |
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::BCRecData > | mRecBC |
TDC pile-up correction flag (TODO) | |
gsl::span< const o2::zdc::ZDCEnergy > | mEnergy |
Interaction record and references to data. | |
gsl::span< const o2::zdc::ZDCTDCData > | mTDCData |
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, NChannels > | isBeg {} |
N info. | |
std::array< bool, NChannels > | isEnd {} |
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, NChannels > | genericE {} |
Centroid computed. | |
std::array< bool, NChannels > | tdcPedEv {} |
0 Generic error | |
std::array< bool, NChannels > | tdcPedOr {} |
– Event pedestal for TDC | |
std::array< bool, NChannels > | tdcPedQC {} |
– Orbit pedestal for TDC | |
std::array< bool, NChannels > | tdcPedMissing {} |
1 QC pedestal for TDC | |
std::array< bool, NChannels > | adcPedEv {} |
2 Missing pedestal for ADC | |
std::array< bool, NChannels > | adcPedOr {} |
– Event pedestal for ADC | |
std::array< bool, NChannels > | adcPedQC {} |
3 Orbit pedestal for ADC | |
std::array< bool, NChannels > | adcPedMissing {} |
4 QC pedestal for ADC | |
std::array< bool, NChannels > | offPed {} |
5 Missing pedestal for ADC | |
std::array< bool, NChannels > | pilePed {} |
6 Anomalous offset from pedestal info | |
std::array< bool, NChannels > | pileTM {} |
7 Pile-up detection from pedestal info | |
std::array< bool, NChannels > | adcMissingwTDC {} |
8 Pile-up detection from TM trigger bit | |
std::array< bool, NChannels > | tdcPileEvC {} |
9 Missing ADC even if TDC is present | |
std::array< bool, NChannels > | tdcPileEvE {} |
10 TDC in-bunch pile-up corrected | |
std::array< bool, NChannels > | tdcPileM1C {} |
11 TDC in-bunch pile-up error | |
std::array< bool, NChannels > | tdcPileM1E {} |
12 TDC pile-up in bunch -1 corrected | |
std::array< bool, NChannels > | tdcPileM2C {} |
13 TDC pile-up in bunch -1 error | |
std::array< bool, NChannels > | tdcPileM2E {} |
14 TDC pile-up in bunch -2 corrected | |
std::array< bool, NChannels > | tdcPileM3C {} |
15 TDC pile-up in bunch -2 error | |
std::array< bool, NChannels > | tdcPileM3E {} |
16 TDC pile-up in bunch -3 corrected | |
std::array< bool, NChannels > | tdcSigE {} |
17 TDC pile-up in bunch -3 error | |
uint8_t | mVerbosity = DbgZero |
uint32_t | mTriggerMask = 0 |
Verbosity level. | |
Definition at line 55 of file RecEventFlat.h.
Definition at line 122 of file RecEventFlat.h.
Definition at line 200 of file RecEventFlat.cxx.
void RecEventFlat::centroidZNA | ( | float & | x, |
float & | y | ||
) |
Definition at line 390 of file RecEventFlat.cxx.
void RecEventFlat::centroidZNC | ( | float & | x, |
float & | y | ||
) |
Definition at line 438 of file RecEventFlat.cxx.
void RecEventFlat::centroidZPA | ( | float & | x, |
float & | rms | ||
) |
Definition at line 542 of file RecEventFlat.cxx.
void RecEventFlat::centroidZPC | ( | float & | x, |
float & | rms | ||
) |
Definition at line 601 of file RecEventFlat.cxx.
o2::zdc::RecEventFlat::ClassDefNV | ( | RecEventFlat | , |
1 | |||
) |
void RecEventFlat::clearBitmaps | ( | ) |
18 Missing TDC signal correction
Definition at line 165 of file RecEventFlat.cxx.
void RecEventFlat::decodeInfo | ( | uint8_t | ch, |
uint16_t | code | ||
) |
Definition at line 317 of file RecEventFlat.cxx.
void RecEventFlat::decodeMapInfo | ( | uint32_t | ch, |
uint16_t | code | ||
) |
Definition at line 305 of file RecEventFlat.cxx.
|
inline |
Definition at line 214 of file RecEventFlat.h.
|
inline |
Definition at line 238 of file RecEventFlat.h.
|
inline |
Definition at line 239 of file RecEventFlat.h.
|
inline |
Definition at line 225 of file RecEventFlat.h.
|
inline |
Definition at line 226 of file RecEventFlat.h.
|
inline |
Definition at line 227 of file RecEventFlat.h.
|
inline |
Definition at line 228 of file RecEventFlat.h.
|
inline |
Definition at line 224 of file RecEventFlat.h.
|
inline |
Definition at line 229 of file RecEventFlat.h.
|
inline |
Definition at line 242 of file RecEventFlat.h.
|
inline |
Definition at line 243 of file RecEventFlat.h.
|
inline |
Definition at line 244 of file RecEventFlat.h.
|
inline |
Definition at line 245 of file RecEventFlat.h.
|
inline |
Definition at line 241 of file RecEventFlat.h.
|
inline |
Definition at line 246 of file RecEventFlat.h.
|
inline |
Definition at line 232 of file RecEventFlat.h.
|
inline |
Definition at line 233 of file RecEventFlat.h.
|
inline |
Definition at line 234 of file RecEventFlat.h.
|
inline |
Definition at line 235 of file RecEventFlat.h.
|
inline |
Definition at line 231 of file RecEventFlat.h.
|
inline |
Definition at line 236 of file RecEventFlat.h.
|
inline |
Definition at line 249 of file RecEventFlat.h.
|
inline |
Definition at line 250 of file RecEventFlat.h.
|
inline |
Definition at line 251 of file RecEventFlat.h.
|
inline |
Definition at line 252 of file RecEventFlat.h.
|
inline |
Definition at line 248 of file RecEventFlat.h.
|
inline |
Definition at line 253 of file RecEventFlat.h.
|
inline |
Definition at line 129 of file RecEventFlat.h.
|
inline |
Definition at line 171 of file RecEventFlat.h.
|
inline |
Definition at line 149 of file RecEventFlat.h.
|
inline |
Definition at line 134 of file RecEventFlat.h.
|
inline |
Definition at line 144 of file RecEventFlat.h.
|
inline |
Definition at line 139 of file RecEventFlat.h.
|
inline |
Definition at line 166 of file RecEventFlat.h.
|
inline |
Definition at line 161 of file RecEventFlat.h.
void RecEventFlat::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 | ||
) |
Definition at line 155 of file RecEventFlat.cxx.
void RecEventFlat::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.
Definition at line 145 of file RecEventFlat.cxx.
int RecEventFlat::next | ( | ) |
Definition at line 195 of file RecEventFlat.cxx.
|
inline |
Definition at line 205 of file RecEventFlat.h.
|
inline |
Definition at line 196 of file RecEventFlat.h.
void RecEventFlat::print | ( | ) | const |
Definition at line 660 of file RecEventFlat.cxx.
void RecEventFlat::printDecodedMessages | ( | ) | const |
Definition at line 710 of file RecEventFlat.cxx.
void RecEventFlat::printEvent | ( | ) | const |
Definition at line 754 of file RecEventFlat.cxx.
float RecEventFlat::rmsZPA | ( | ) |
Definition at line 528 of file RecEventFlat.cxx.
float RecEventFlat::rmsZPC | ( | ) |
Definition at line 535 of file RecEventFlat.cxx.
|
inline |
Definition at line 186 of file RecEventFlat.h.
|
inline |
Definition at line 176 of file RecEventFlat.h.
float RecEventFlat::xZNA | ( | ) |
Definition at line 486 of file RecEventFlat.cxx.
float RecEventFlat::xZNC | ( | ) |
Definition at line 500 of file RecEventFlat.cxx.
float RecEventFlat::xZPA | ( | ) |
Definition at line 514 of file RecEventFlat.cxx.
float RecEventFlat::xZPC | ( | ) |
Definition at line 521 of file RecEventFlat.cxx.
float RecEventFlat::yZNA | ( | ) |
Definition at line 493 of file RecEventFlat.cxx.
float RecEventFlat::yZNC | ( | ) |
Definition at line 507 of file RecEventFlat.cxx.
std::array<bool, NChannels> o2::zdc::RecEventFlat::adcMissingwTDC {} |
8 Pile-up detection from TM trigger bit
Definition at line 99 of file RecEventFlat.h.
std::array<bool, NChannels> o2::zdc::RecEventFlat::adcPedEv {} |
2 Missing pedestal for ADC
Definition at line 92 of file RecEventFlat.h.
std::array<bool, NChannels> o2::zdc::RecEventFlat::adcPedMissing {} |
4 QC pedestal for ADC
Definition at line 95 of file RecEventFlat.h.
std::array<bool, NChannels> o2::zdc::RecEventFlat::adcPedOr {} |
– Event pedestal for ADC
Definition at line 93 of file RecEventFlat.h.
std::array<bool, NChannels> o2::zdc::RecEventFlat::adcPedQC {} |
3 Orbit pedestal for ADC
Definition at line 94 of file RecEventFlat.h.
uint32_t o2::zdc::RecEventFlat::channels = 0 |
Definition at line 57 of file RecEventFlat.h.
std::map<uint8_t, float> o2::zdc::RecEventFlat::ezdc |
pattern of channels with autotrigger bit
Definition at line 60 of file RecEventFlat.h.
uint32_t o2::zdc::RecEventFlat::ezdcDecoded = 0 |
pattern of channels acquired
Definition at line 58 of file RecEventFlat.h.
std::array<bool, NChannels> o2::zdc::RecEventFlat::genericE {} |
Centroid computed.
Definition at line 87 of file RecEventFlat.h.
std::vector<float> o2::zdc::RecEventFlat::inter[NChannels] |
Current BC.
Definition at line 83 of file RecEventFlat.h.
o2::InteractionRecord o2::zdc::RecEventFlat::ir |
Definition at line 56 of file RecEventFlat.h.
std::array<bool, NChannels> o2::zdc::RecEventFlat::isBeg {} |
N info.
Definition at line 80 of file RecEventFlat.h.
std::array<bool, NChannels> o2::zdc::RecEventFlat::isEnd {} |
Beginning of sequence.
Definition at line 81 of file RecEventFlat.h.
std::array<bool, 4> o2::zdc::RecEventFlat::mComputed {} |
Interpolated samples.
Definition at line 84 of file RecEventFlat.h.
BCRecData o2::zdc::RecEventFlat::mCurB |
End of sequence.
Definition at line 82 of file RecEventFlat.h.
std::vector<uint16_t> o2::zdc::RecEventFlat::mDecodedInfo |
Event quality information.
Definition at line 68 of file RecEventFlat.h.
gsl::span<const o2::zdc::ZDCEnergy> o2::zdc::RecEventFlat::mEnergy |
Interaction record and references to data.
Definition at line 65 of file RecEventFlat.h.
uint64_t o2::zdc::RecEventFlat::mEntry = 0 |
Event quality information (decoded)
Definition at line 69 of file RecEventFlat.h.
FirstEntry o2::zdc::RecEventFlat::mFirstE = 0 |
Number of entries.
Definition at line 71 of file RecEventFlat.h.
FirstEntry o2::zdc::RecEventFlat::mFirstI = 0 |
First TDC.
Definition at line 73 of file RecEventFlat.h.
FirstEntry o2::zdc::RecEventFlat::mFirstT = 0 |
First energy.
Definition at line 72 of file RecEventFlat.h.
gsl::span<const uint16_t> o2::zdc::RecEventFlat::mInfo |
ZDC TDC.
Definition at line 67 of file RecEventFlat.h.
NElem o2::zdc::RecEventFlat::mNE = 0 |
Last + 1 info.
Definition at line 77 of file RecEventFlat.h.
uint64_t o2::zdc::RecEventFlat::mNEntries = 0 |
Current entry.
Definition at line 70 of file RecEventFlat.h.
NElem o2::zdc::RecEventFlat::mNI = 0 |
N TDC.
Definition at line 79 of file RecEventFlat.h.
NElem o2::zdc::RecEventFlat::mNT = 0 |
N energy.
Definition at line 78 of file RecEventFlat.h.
gsl::span<const o2::zdc::BCRecData> o2::zdc::RecEventFlat::mRecBC |
TDC pile-up correction flag (TODO)
Definition at line 64 of file RecEventFlat.h.
FirstEntry o2::zdc::RecEventFlat::mStopE = 0 |
First info.
Definition at line 74 of file RecEventFlat.h.
FirstEntry o2::zdc::RecEventFlat::mStopI = 0 |
Last + 1 TDC.
Definition at line 76 of file RecEventFlat.h.
FirstEntry o2::zdc::RecEventFlat::mStopT = 0 |
Last + 1 energy.
Definition at line 75 of file RecEventFlat.h.
gsl::span<const o2::zdc::ZDCTDCData> o2::zdc::RecEventFlat::mTDCData |
ZDC energy.
Definition at line 66 of file RecEventFlat.h.
uint32_t o2::zdc::RecEventFlat::mTriggerMask = 0 |
Verbosity level.
Definition at line 114 of file RecEventFlat.h.
uint8_t o2::zdc::RecEventFlat::mVerbosity = DbgZero |
Definition at line 113 of file RecEventFlat.h.
std::array<bool, NChannels> o2::zdc::RecEventFlat::offPed {} |
5 Missing pedestal for ADC
Definition at line 96 of file RecEventFlat.h.
std::array<bool, NChannels> o2::zdc::RecEventFlat::pilePed {} |
6 Anomalous offset from pedestal info
Definition at line 97 of file RecEventFlat.h.
std::array<bool, NChannels> o2::zdc::RecEventFlat::pileTM {} |
7 Pile-up detection from pedestal info
Definition at line 98 of file RecEventFlat.h.
std::vector<float> o2::zdc::RecEventFlat::TDCAmp[NTDCChannels] |
TDC values.
Definition at line 62 of file RecEventFlat.h.
std::array<bool, NChannels> o2::zdc::RecEventFlat::tdcPedEv {} |
0 Generic error
Definition at line 88 of file RecEventFlat.h.
std::array<bool, NChannels> o2::zdc::RecEventFlat::tdcPedMissing {} |
1 QC pedestal for TDC
Definition at line 91 of file RecEventFlat.h.
std::array<bool, NChannels> o2::zdc::RecEventFlat::tdcPedOr {} |
– Event pedestal for TDC
Definition at line 89 of file RecEventFlat.h.
std::array<bool, NChannels> o2::zdc::RecEventFlat::tdcPedQC {} |
– Orbit pedestal for TDC
Definition at line 90 of file RecEventFlat.h.
std::vector<bool> o2::zdc::RecEventFlat::TDCPile[NTDCChannels] |
TDC signal amplitudes.
Definition at line 63 of file RecEventFlat.h.
std::array<bool, NChannels> o2::zdc::RecEventFlat::tdcPileEvC {} |
9 Missing ADC even if TDC is present
Definition at line 100 of file RecEventFlat.h.
std::array<bool, NChannels> o2::zdc::RecEventFlat::tdcPileEvE {} |
10 TDC in-bunch pile-up corrected
Definition at line 101 of file RecEventFlat.h.
std::array<bool, NChannels> o2::zdc::RecEventFlat::tdcPileM1C {} |
11 TDC in-bunch pile-up error
Definition at line 102 of file RecEventFlat.h.
std::array<bool, NChannels> o2::zdc::RecEventFlat::tdcPileM1E {} |
12 TDC pile-up in bunch -1 corrected
Definition at line 103 of file RecEventFlat.h.
std::array<bool, NChannels> o2::zdc::RecEventFlat::tdcPileM2C {} |
13 TDC pile-up in bunch -1 error
Definition at line 104 of file RecEventFlat.h.
std::array<bool, NChannels> o2::zdc::RecEventFlat::tdcPileM2E {} |
14 TDC pile-up in bunch -2 corrected
Definition at line 105 of file RecEventFlat.h.
std::array<bool, NChannels> o2::zdc::RecEventFlat::tdcPileM3C {} |
15 TDC pile-up in bunch -2 error
Definition at line 106 of file RecEventFlat.h.
std::array<bool, NChannels> o2::zdc::RecEventFlat::tdcPileM3E {} |
16 TDC pile-up in bunch -3 corrected
Definition at line 107 of file RecEventFlat.h.
std::array<bool, NChannels> o2::zdc::RecEventFlat::tdcSigE {} |
17 TDC pile-up in bunch -3 error
Definition at line 108 of file RecEventFlat.h.
std::vector<float> o2::zdc::RecEventFlat::TDCVal[NTDCChannels] |
signal in ZDCs
Definition at line 61 of file RecEventFlat.h.
uint32_t o2::zdc::RecEventFlat::triggers = 0 |
pattern of decoded energies
Definition at line 59 of file RecEventFlat.h.