#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 305 of file PackerHelp.h.
typedef std::vector<uint16_t> UHTRpacker::uhtrData |
Definition at line 309 of file PackerHelp.h.
typedef std::map<int,uhtrData> UHTRpacker::UHTRMap |
Definition at line 310 of file PackerHelp.h.
|
inline |
Definition at line 341 of file PackerHelp.h.
|
inline |
Definition at line 497 of file PackerHelp.h.
References runTauDisplay::eid, RecoTauValidation_cfi::header, HcalElectronicsMap::lookup(), edm::SortedCollection< T, SORT >::push_back(), and edm::SortedCollection< T, SORT >::size().
Referenced by HcalDigiToRawuHTR::produce().
|
inline |
Definition at line 521 of file PackerHelp.h.
References runTauDisplay::eid, RecoTauValidation_cfi::header, HcalElectronicsMap::lookup(), edm::SortedCollection< T, SORT >::push_back(), and edm::SortedCollection< T, SORT >::size().
|
inline |
Definition at line 545 of file PackerHelp.h.
References RecoTauValidation_cfi::header, and edm::SortedCollection< T, SORT >::size().
|
inline |
Definition at line 556 of file PackerHelp.h.
References QIE11DataFrame::begin(), QIE11DataFrame::detid(), runTauDisplay::eid, QIE11DataFrame::end(), QIE11DataFrame::FLAG_WORDS, RecoTauValidation_cfi::header, QIE11DataFrame::HEADER_WORDS, and HcalElectronicsMap::lookup().
|
inline |
Definition at line 574 of file PackerHelp.h.
References QIE10DataFrame::begin(), QIE10DataFrame::detid(), runTauDisplay::eid, QIE10DataFrame::end(), QIE10DataFrame::FLAG_WORDS, RecoTauValidation_cfi::header, QIE10DataFrame::HEADER_WORDS, and HcalElectronicsMap::lookup().
|
inline |
|
inline |
Definition at line 474 of file PackerHelp.h.
References pfDeepCMVAJetTags_cfi::toAdd.
Referenced by HcalDigiToRawuHTR::produce().
|
inline |
Definition at line 433 of file PackerHelp.h.
References hgcalDigitizer_cfi::fwVersion, mps_fire::i, AMCHeaderSpec::MASK_CRATE_ID, AMC13HeaderSpec::MASK_ORN, AMCHeaderSpec::MASK_PRESAMPLES, AMCHeaderSpec::MASK_SLOT_ID, hpstanc_transforms::max, and hcalTTPDigis_cfi::presamples.
Referenced by HcalDigiToRawuHTR::produce().
|
inline |
Definition at line 399 of file PackerHelp.h.
References HcalElectronicsId::fiberChanId(), HcalElectronicsId::fiberIndex(), 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.
|
inline |
Definition at line 416 of file PackerHelp.h.
References HcalElectronicsId::fiberChanId(), HcalElectronicsId::fiberIndex(), RecoTauValidation_cfi::header, QIE11HeaderSpec::MASK_CAPID, QIE11HeaderSpec::MASK_FIBER, QIE11HeaderSpec::MASK_FIBERCHAN, QIE11HeaderSpec::MASK_FIBERERR, QIE11HeaderSpec::MASK_FLAVOR, QIE11HeaderSpec::MASK_HEADER_BIT, QIE11HeaderSpec::OFFSET_CAPID, QIE11HeaderSpec::OFFSET_FIBER, QIE11HeaderSpec::OFFSET_FIBERCHAN, QIE11HeaderSpec::OFFSET_FIBERERR, QIE11HeaderSpec::OFFSET_FLAVOR, QIE11HeaderSpec::OFFSET_HEADER_BIT, and QIE11DataFrame::samples().
|
inline |
Definition at line 348 of file PackerHelp.h.
References HcalQIESample::capid(), HcalQIESample::er(), HcalElectronicsId::fiberChanId(), HcalElectronicsId::fiberIndex(), 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.
|
inline |
Definition at line 371 of file PackerHelp.h.
References ecalMGPA::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 simplePhotonAnalyzer_cfi::sample.
|
inline |
Definition at line 387 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.
|
static |
Definition at line 318 of file PackerHelp.h.
|
static |
Definition at line 325 of file PackerHelp.h.
|
static |
Definition at line 316 of file PackerHelp.h.
|
static |
Definition at line 335 of file PackerHelp.h.
|
static |
Definition at line 320 of file PackerHelp.h.
|
static |
Definition at line 322 of file PackerHelp.h.
|
static |
Definition at line 333 of file PackerHelp.h.
|
static |
Definition at line 339 of file PackerHelp.h.
|
static |
Definition at line 331 of file PackerHelp.h.
|
static |
Definition at line 337 of file PackerHelp.h.
|
static |
Definition at line 329 of file PackerHelp.h.
|
static |
Definition at line 327 of file PackerHelp.h.
|
static |
Definition at line 317 of file PackerHelp.h.
|
static |
Definition at line 324 of file PackerHelp.h.
|
static |
Definition at line 315 of file PackerHelp.h.
|
static |
Definition at line 334 of file PackerHelp.h.
|
static |
Definition at line 319 of file PackerHelp.h.
|
static |
Definition at line 321 of file PackerHelp.h.
|
static |
Definition at line 332 of file PackerHelp.h.
|
static |
Definition at line 338 of file PackerHelp.h.
|
static |
Definition at line 330 of file PackerHelp.h.
|
static |
Definition at line 336 of file PackerHelp.h.
|
static |
Definition at line 328 of file PackerHelp.h.
|
static |
Definition at line 326 of file PackerHelp.h.
UHTRMap UHTRpacker::uhtrs |
Definition at line 312 of file PackerHelp.h.
Referenced by HcalDigiToRawuHTR::produce().