#include <PackerHelp.h>
Public Types | |
typedef std::vector< uint16_t > | uhtrData |
typedef std::map< int, uhtrData > | UHTRMap |
Public Member Functions | |
void | addChannel (int uhtrIndex, edm::SortedCollection< HFDataFrame >::const_iterator &qiedf, const HcalElectronicsMap *readoutMap, bool premix, int verbosity=0) |
void | addChannel (int uhtrIndex, edm::SortedCollection< HBHEDataFrame >::const_iterator qiedf, const HcalElectronicsMap *readoutMap, bool premix, int verbosity=0) |
void | addChannel (int uhtrIndex, edm::SortedCollection< HcalTriggerPrimitiveDigi >::const_iterator qiedf, int channelid, int verbosity=0) |
void | addChannel (int uhtrIndex, QIE11DataFrame qiedf, const HcalElectronicsMap *readoutMap, int verbosity=0) |
void | addChannel (int uhtrIndex, QIE10DataFrame qiedf, const HcalElectronicsMap *readoutMap, int verbosity=0) |
bool | exist (int uhtrIndex) |
void | finalizeHeadTail (uhtrData *uhtr, bool verbosity) |
uhtrData * | newUHTR (int uhtrIndex, int ps=0, int orn=0, int bcn=0, uint64_t evt=0) |
uint16_t | packQIE10header (const HcalElectronicsId &eid) |
uint16_t | packQIE11header (const QIE11DataFrame &qiedf, const HcalElectronicsId &eid) |
uint16_t | packQIE8header (const HcalQIESample &qieSample, const HcalElectronicsId &eid, int flavor) |
uint16_t | packQIE8sample (const HcalQIESample &qieSample) |
uint16_t | packTPheader (const HcalTriggerPrimitiveSample &tpSample, int channelid) |
UHTRpacker () | |
Public Attributes | |
UHTRMap | uhtrs |
Static Public Attributes | |
static const int | MASK_BCN = 0xFFF |
static const int | MASK_CRATE_ID = 0xFFFFFF |
static const int | MASK_DATA_LENGTH = 0xFFFFF |
static const int | MASK_EVENT_TYPE = 0xF |
static const int | MASK_EVN = 0xFFFFFF |
static const int | MASK_FILED_BY_AMC13 = 0xFF |
static const int | MASK_FW_FLAVOR = 0xFF |
static const int | MASK_FW_VERSION = 0xFFFF |
static const int | MASK_ORN = 0xFFFF |
static const int | MASK_PAYLOAD_FORMAT = 0xF |
static const int | MASK_PRESAMPLES = 0xF |
static const int | MASK_SLOT_ID = 0xF |
static const int | OFFSET_BCN = 20 |
static const int | OFFSET_CRATE_ID = 0 |
static const int | OFFSET_DATA_LENGTH = 0 |
static const int | OFFSET_EVENT_TYPE = 40 |
static const int | OFFSET_EVN = 32 |
static const int | OFFSET_FILED_BY_AMC13 = 56 |
static const int | OFFSET_FW_FLAVOR = 32 |
static const int | OFFSET_FW_VERSION = 48 |
static const int | OFFSET_ORN = 16 |
static const int | OFFSET_PAYLOAD_FORMAT = 44 |
static const int | OFFSET_PRESAMPLES = 12 |
static const int | OFFSET_SLOT_ID = 8 |
Definition at line 311 of file PackerHelp.h.
typedef std::vector<uint16_t> UHTRpacker::uhtrData |
Definition at line 313 of file PackerHelp.h.
typedef std::map<int, uhtrData> UHTRpacker::UHTRMap |
Definition at line 314 of file PackerHelp.h.
|
inline |
Definition at line 345 of file PackerHelp.h.
|
inline |
Definition at line 506 of file PackerHelp.h.
References generateEDF::cont, runTauDisplay::eid, RecoTauValidation_cfi::header, HcalElectronicsMap::lookup(), packQIE8header(), packQIE8sample(), edm::SortedCollection< T, SORT >::size(), and uhtrs.
Referenced by HcalDigiToRawuHTR::produce().
|
inline |
Definition at line 534 of file PackerHelp.h.
References generateEDF::cont, runTauDisplay::eid, RecoTauValidation_cfi::header, HcalElectronicsMap::lookup(), packQIE8header(), packQIE8sample(), edm::SortedCollection< T, SORT >::size(), and uhtrs.
|
inline |
Definition at line 562 of file PackerHelp.h.
References RecoTauValidation_cfi::header, TPHeaderSpec::MASK_SOI_BIT, TPHeaderSpec::OFFSET_SOI_BIT, packTPheader(), edm::SortedCollection< T, SORT >::size(), and uhtrs.
|
inline |
Definition at line 581 of file PackerHelp.h.
References QIE11DataFrame::begin(), QIE11DataFrame::detid(), runTauDisplay::eid, QIE11DataFrame::end(), QIE11DataFrame::FLAG_WORDS, RecoTauValidation_cfi::header, QIE11DataFrame::HEADER_WORDS, HcalElectronicsMap::lookup(), packQIE11header(), and uhtrs.
|
inline |
Definition at line 599 of file PackerHelp.h.
References QIE10DataFrame::begin(), QIE10DataFrame::detid(), runTauDisplay::eid, QIE10DataFrame::end(), QIE10DataFrame::FLAG_WORDS, RecoTauValidation_cfi::header, QIE10DataFrame::HEADER_WORDS, HcalElectronicsMap::lookup(), packQIE10header(), and uhtrs.
|
inline |
Definition at line 347 of file PackerHelp.h.
References uhtrs.
Referenced by HcalDigiToRawuHTR::produce().
|
inline |
Definition at line 484 of file PackerHelp.h.
References HLT_2022v12_cff::toAdd.
Referenced by HcalDigiToRawuHTR::produce().
|
inline |
Definition at line 444 of file PackerHelp.h.
References hcalcalib_dqm_sourceclient-live_cfg::eventType, amcDumpToRaw_cfi::fwVersion, mps_fire::i, MASK_BCN, MASK_CRATE_ID, MASK_DATA_LENGTH, MASK_EVENT_TYPE, MASK_EVN, MASK_FILED_BY_AMC13, MASK_FW_FLAVOR, MASK_FW_VERSION, MASK_ORN, MASK_PAYLOAD_FORMAT, MASK_PRESAMPLES, MASK_SLOT_ID, SiStripPI::max, OFFSET_BCN, OFFSET_CRATE_ID, OFFSET_DATA_LENGTH, OFFSET_EVENT_TYPE, OFFSET_EVN, OFFSET_FILED_BY_AMC13, OFFSET_FW_FLAVOR, OFFSET_FW_VERSION, OFFSET_ORN, OFFSET_PAYLOAD_FORMAT, OFFSET_PRESAMPLES, OFFSET_SLOT_ID, hcalTTPDigis_cfi::presamples, and uhtrs.
Referenced by HcalDigiToRawuHTR::produce().
|
inline |
Definition at line 400 of file PackerHelp.h.
References runTauDisplay::eid, RecoTauValidation_cfi::header, QIE10HeaderSpec::MASK_FIBER, QIE10HeaderSpec::MASK_FIBERCHAN, QIE10HeaderSpec::MASK_FLAVOR, QIE10HeaderSpec::MASK_HEADER_BIT, QIE10HeaderSpec::MASK_LE, QIE10HeaderSpec::MASK_MP, QIE10HeaderSpec::MASK_RESERV, QIE10HeaderSpec::OFFSET_FIBER, QIE10HeaderSpec::OFFSET_FIBERCHAN, QIE10HeaderSpec::OFFSET_FLAVOR, QIE10HeaderSpec::OFFSET_HEADER_BIT, QIE10HeaderSpec::OFFSET_LE, QIE10HeaderSpec::OFFSET_MP, and QIE10HeaderSpec::OFFSET_RESERV.
Referenced by addChannel().
|
inline |
Definition at line 417 of file PackerHelp.h.
References runTauDisplay::eid, QIE11DataFrame::flavor(), RecoTauValidation_cfi::header, QIE11HeaderSpec0::MASK_CAPID, QIE11HeaderSpec0::MASK_FIBER, QIE11HeaderSpec3::MASK_FIBER, QIE11HeaderSpec0::MASK_FIBERCHAN, QIE11HeaderSpec3::MASK_FIBERCHAN, QIE11HeaderSpec0::MASK_FIBERERR, QIE11HeaderSpec0::MASK_FLAVOR, QIE11HeaderSpec3::MASK_FLAVOR, QIE11HeaderSpec0::MASK_HEADER_BIT, QIE11HeaderSpec3::MASK_HEADER_BIT, QIE11HeaderSpec3::MASK_LINKERROR, QIE11HeaderSpec3::MASK_MP, QIE11HeaderSpec0::OFFSET_CAPID, QIE11HeaderSpec0::OFFSET_FIBER, QIE11HeaderSpec3::OFFSET_FIBER, QIE11HeaderSpec0::OFFSET_FIBERCHAN, QIE11HeaderSpec3::OFFSET_FIBERCHAN, QIE11HeaderSpec0::OFFSET_FIBERERR, QIE11HeaderSpec0::OFFSET_FLAVOR, QIE11HeaderSpec3::OFFSET_FLAVOR, QIE11HeaderSpec0::OFFSET_HEADER_BIT, QIE11HeaderSpec3::OFFSET_HEADER_BIT, QIE11HeaderSpec3::OFFSET_LINKERROR, and QIE11HeaderSpec3::OFFSET_MP.
Referenced by addChannel().
|
inline |
Definition at line 350 of file PackerHelp.h.
References HcalQIESample::capid(), runTauDisplay::eid, HcalQIESample::er(), RecoTauValidation_cfi::header, QIE8HeaderSpec::MASK_CAPID, QIE8HeaderSpec::MASK_FIBER, QIE8HeaderSpec::MASK_FIBERCHAN, QIE8HeaderSpec::MASK_FIBERERR, QIE8HeaderSpec::MASK_FLAVOR, QIE8HeaderSpec::MASK_HEADER_BIT, QIE8HeaderSpec::MASK_TECHNICAL_DATA_TYPE, QIE8HeaderSpec::OFFSET_CAPID, QIE8HeaderSpec::OFFSET_FIBER, QIE8HeaderSpec::OFFSET_FIBERCHAN, QIE8HeaderSpec::OFFSET_FIBERERR, QIE8HeaderSpec::OFFSET_FLAVOR, QIE8HeaderSpec::OFFSET_HEADER_BIT, and QIE8HeaderSpec::OFFSET_TECHNICAL_DATA_TYPE.
Referenced by addChannel().
|
inline |
Definition at line 372 of file PackerHelp.h.
References gpuClustering::adc, HcalQIESample::adc(), HcalQIESample::capid(), HcalQIESample::dv(), HcalQIESample::er(), QIE8SampleSpec::MASK_ADC, QIE8SampleSpec::MASK_CAPID, QIE8SampleSpec::MASK_DV, QIE8SampleSpec::MASK_ER, QIE8SampleSpec::OFFSET_ADC, QIE8SampleSpec::OFFSET_CAPID, QIE8SampleSpec::OFFSET_DV, QIE8SampleSpec::OFFSET_ER, and ecalGpuTask_cfi::sample.
Referenced by addChannel().
|
inline |
Definition at line 388 of file PackerHelp.h.
References RecoTauValidation_cfi::header, TPHeaderSpec::MASK_CHANID, TPHeaderSpec::MASK_FLAVOR, TPHeaderSpec::MASK_HEADER_BIT, TPHeaderSpec::MASK_RESV, TPHeaderSpec::MASK_TPERR, TPHeaderSpec::OFFSET_CHANID, TPHeaderSpec::OFFSET_FLAVOR, TPHeaderSpec::OFFSET_HEADER_BIT, TPHeaderSpec::OFFSET_RESV, and TPHeaderSpec::OFFSET_TPERR.
Referenced by addChannel().
|
static |
Definition at line 322 of file PackerHelp.h.
Referenced by newUHTR().
|
static |
Definition at line 329 of file PackerHelp.h.
Referenced by newUHTR().
|
static |
Definition at line 320 of file PackerHelp.h.
Referenced by newUHTR().
|
static |
Definition at line 339 of file PackerHelp.h.
Referenced by newUHTR().
|
static |
Definition at line 324 of file PackerHelp.h.
Referenced by newUHTR().
|
static |
Definition at line 326 of file PackerHelp.h.
Referenced by newUHTR().
|
static |
Definition at line 337 of file PackerHelp.h.
Referenced by newUHTR().
|
static |
Definition at line 343 of file PackerHelp.h.
Referenced by newUHTR().
|
static |
Definition at line 335 of file PackerHelp.h.
Referenced by newUHTR().
|
static |
Definition at line 341 of file PackerHelp.h.
Referenced by newUHTR().
|
static |
Definition at line 333 of file PackerHelp.h.
Referenced by newUHTR().
|
static |
Definition at line 331 of file PackerHelp.h.
Referenced by newUHTR().
|
static |
Definition at line 321 of file PackerHelp.h.
Referenced by newUHTR().
|
static |
Definition at line 328 of file PackerHelp.h.
Referenced by newUHTR().
|
static |
Definition at line 319 of file PackerHelp.h.
Referenced by newUHTR().
|
static |
Definition at line 338 of file PackerHelp.h.
Referenced by newUHTR().
|
static |
Definition at line 323 of file PackerHelp.h.
Referenced by newUHTR().
|
static |
Definition at line 325 of file PackerHelp.h.
Referenced by newUHTR().
|
static |
Definition at line 336 of file PackerHelp.h.
Referenced by newUHTR().
|
static |
Definition at line 342 of file PackerHelp.h.
Referenced by newUHTR().
|
static |
Definition at line 334 of file PackerHelp.h.
Referenced by newUHTR().
|
static |
Definition at line 340 of file PackerHelp.h.
Referenced by newUHTR().
|
static |
Definition at line 332 of file PackerHelp.h.
Referenced by newUHTR().
|
static |
Definition at line 330 of file PackerHelp.h.
Referenced by newUHTR().
UHTRMap UHTRpacker::uhtrs |
Definition at line 316 of file PackerHelp.h.
Referenced by addChannel(), exist(), newUHTR(), and HcalDigiToRawuHTR::produce().