#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, int verbosity=0) |
void | addChannel (int uhtrIndex, edm::SortedCollection< HBHEDataFrame >::const_iterator qiedf, const HcalElectronicsMap *readoutMap, 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) |
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 292 of file PackerHelp.h.
typedef std::vector<uint16_t> UHTRpacker::uhtrData |
Definition at line 296 of file PackerHelp.h.
typedef std::map<int,uhtrData> UHTRpacker::UHTRMap |
Definition at line 297 of file PackerHelp.h.
|
inline |
Definition at line 328 of file PackerHelp.h.
|
inline |
Definition at line 462 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 479 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 496 of file PackerHelp.h.
References RecoTauValidation_cfi::header, and edm::SortedCollection< T, SORT >::size().
|
inline |
Definition at line 507 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 525 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 439 of file PackerHelp.h.
References pfDeepCMVAJetTags_cfi::toAdd.
Referenced by HcalDigiToRawuHTR::produce().
|
inline |
Definition at line 398 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 364 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 381 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, QIE8HeaderSpec::OFFSET_CAPID, QIE11HeaderSpec::OFFSET_FIBER, QIE11HeaderSpec::OFFSET_FIBERCHAN, QIE8HeaderSpec::OFFSET_FIBERERR, QIE11HeaderSpec::OFFSET_FLAVOR, QIE11HeaderSpec::OFFSET_HEADER_BIT, and QIE11DataFrame::samples().
|
inline |
Definition at line 334 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::OFFSET_CAPID, QIE8HeaderSpec::OFFSET_FIBER, QIE8HeaderSpec::OFFSET_FIBERCHAN, QIE8HeaderSpec::OFFSET_FIBERERR, QIE8HeaderSpec::OFFSET_FLAVOR, and QIE8HeaderSpec::OFFSET_HEADER_BIT.
|
inline |
Definition at line 352 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 305 of file PackerHelp.h.
|
static |
Definition at line 312 of file PackerHelp.h.
|
static |
Definition at line 303 of file PackerHelp.h.
|
static |
Definition at line 322 of file PackerHelp.h.
|
static |
Definition at line 307 of file PackerHelp.h.
|
static |
Definition at line 309 of file PackerHelp.h.
|
static |
Definition at line 320 of file PackerHelp.h.
|
static |
Definition at line 326 of file PackerHelp.h.
|
static |
Definition at line 318 of file PackerHelp.h.
|
static |
Definition at line 324 of file PackerHelp.h.
|
static |
Definition at line 316 of file PackerHelp.h.
|
static |
Definition at line 314 of file PackerHelp.h.
|
static |
Definition at line 304 of file PackerHelp.h.
|
static |
Definition at line 311 of file PackerHelp.h.
|
static |
Definition at line 302 of file PackerHelp.h.
|
static |
Definition at line 321 of file PackerHelp.h.
|
static |
Definition at line 306 of file PackerHelp.h.
|
static |
Definition at line 308 of file PackerHelp.h.
|
static |
Definition at line 319 of file PackerHelp.h.
|
static |
Definition at line 325 of file PackerHelp.h.
|
static |
Definition at line 317 of file PackerHelp.h.
|
static |
Definition at line 323 of file PackerHelp.h.
|
static |
Definition at line 315 of file PackerHelp.h.
|
static |
Definition at line 313 of file PackerHelp.h.
UHTRMap UHTRpacker::uhtrs |
Definition at line 299 of file PackerHelp.h.
Referenced by HcalDigiToRawuHTR::produce().