#include <PackerHelp.h>
Public Types | |
typedef std::vector< uint16_t > | uhtrData |
Public Member Functions | |
void | addAMCHeader (uint64_t crate, uint64_t slot, uint64_t AMCsize, uint64_t presamples=10, uint64_t blockNum=0) |
void | addUHTR (uhtrData uhtr, uint64_t crate, uint64_t slot) |
void | formatFEDdata (FEDRawData &rawData) |
HCalFED (int fedId_, uint64_t EventNum_=9999, uint64_t OrbitNum_=999, uint64_t BxNum_=99) | |
void | setAMC13Header () |
void | setCDFHeader () |
void | setNAMC (uint64_t NAMC) |
void | split64bitTo8bit (std::vector< unsigned char > &outVec, const uint64_t &var64bit) |
Public Attributes | |
uint64_t | AMC13Header |
std::vector< uint64_t > | AMCHeaders |
uint64_t | BxNum |
unsigned char | cdfh [8] |
uint64_t | cdfHeader |
uint64_t | Crate |
uint64_t | EventNum |
std::vector< unsigned char > | fedData |
int | fedId |
uint64_t | OrbitNum |
FEDHeader * | rawFEDHeader |
std::vector< uhtrData > | uhtrs |
Definition at line 180 of file PackerHelp.h.
typedef std::vector<uint16_t> HCalFED::uhtrData |
Definition at line 182 of file PackerHelp.h.
|
inline |
Definition at line 197 of file PackerHelp.h.
References BxNum, Crate, EventNum, fedId, FEDNumbering::MINHCALuTCAFEDID, OrbitNum, setAMC13Header(), and setCDFHeader().
|
inline |
Definition at line 238 of file PackerHelp.h.
References AMCHeaders, RecoTauValidation_cfi::header, AMCHeaderSpec::MASK_AMC_NO, AMCHeaderSpec::MASK_AMCN_SIZE, AMCHeaderSpec::MASK_BLK_NO, AMCHeaderSpec::MASK_CRATE_ID, AMCHeaderSpec::MASK_PRESAMPLES, AMCHeaderSpec::MASK_SLOT_ID, AMCHeaderSpec::OFFSET_AMC_NO, AMCHeaderSpec::OFFSET_AMCN_SIZE, AMCHeaderSpec::OFFSET_BLK_NO, AMCHeaderSpec::OFFSET_C, AMCHeaderSpec::OFFSET_CRATE_ID, AMCHeaderSpec::OFFSET_E, AMCHeaderSpec::OFFSET_L, AMCHeaderSpec::OFFSET_M, AMCHeaderSpec::OFFSET_P, AMCHeaderSpec::OFFSET_PRESAMPLES, AMCHeaderSpec::OFFSET_S, AMCHeaderSpec::OFFSET_SLOT_ID, AMCHeaderSpec::OFFSET_V, hcalTTPDigis_cfi::presamples, and testProducerWithPsetDescEmpty_cfi::x1.
Referenced by addUHTR().
|
inline |
Definition at line 257 of file PackerHelp.h.
References addAMCHeader(), and uhtrs.
|
inline |
Definition at line 265 of file PackerHelp.h.
References AMC13Header, AMCHeaders, cdfHeader, fedData, mps_fire::i, l1tstage2_dqm_sourceclient-live_cfg::rawData, setNAMC(), split64bitTo8bit(), and uhtrs.
|
inline |
Definition at line 226 of file PackerHelp.h.
References AMC13Header, AMC13HeaderSpec::FIXED_LSB, AMC13HeaderSpec::MASK_FIXED_LSB, AMC13HeaderSpec::MASK_NAMC, AMC13HeaderSpec::MASK_ORN, AMC13HeaderSpec::MASK_RES, AMC13HeaderSpec::MASK_RESERVED, AMC13HeaderSpec::MASK_UFOV, AMC13HeaderSpec::OFFSET_FIXED_LSB, AMC13HeaderSpec::OFFSET_NAMC, AMC13HeaderSpec::OFFSET_ORN, AMC13HeaderSpec::OFFSET_RES, AMC13HeaderSpec::OFFSET_RESERVED, AMC13HeaderSpec::OFFSET_UFOV, OrbitNum, and testProducerWithPsetDescEmpty_cfi::x1.
Referenced by HCalFED().
|
inline |
Definition at line 214 of file PackerHelp.h.
References BxNum, cdfHeader, fedId, CDFHeaderSpec::FIXED_MSB, CDFHeaderSpec::MASK_BX_ID, CDFHeaderSpec::MASK_EVT_TY, CDFHeaderSpec::MASK_FIXED_MSB, CDFHeaderSpec::MASK_FOV, CDFHeaderSpec::MASK_H, CDFHeaderSpec::MASK_LV1_ID, CDFHeaderSpec::MASK_SOURCE_ID, CDFHeaderSpec::OFFSET_BX_ID, CDFHeaderSpec::OFFSET_EVT_TY, CDFHeaderSpec::OFFSET_FIXED_MSB, CDFHeaderSpec::OFFSET_FOV, CDFHeaderSpec::OFFSET_H, CDFHeaderSpec::OFFSET_LV1_ID, CDFHeaderSpec::OFFSET_SOURCE_ID, and testProducerWithPsetDescEmpty_cfi::x1.
Referenced by HCalFED().
|
inline |
Definition at line 236 of file PackerHelp.h.
References AMC13Header, AMC13HeaderSpec::MASK_NAMC, and AMC13HeaderSpec::OFFSET_NAMC.
Referenced by formatFEDdata().
|
inline |
Definition at line 208 of file PackerHelp.h.
Referenced by formatFEDdata().
uint64_t HCalFED::AMC13Header |
Definition at line 188 of file PackerHelp.h.
Referenced by formatFEDdata(), setAMC13Header(), and setNAMC().
std::vector<uint64_t> HCalFED::AMCHeaders |
Definition at line 185 of file PackerHelp.h.
Referenced by addAMCHeader(), and formatFEDdata().
uint64_t HCalFED::BxNum |
Definition at line 191 of file PackerHelp.h.
Referenced by HCalFED(), and setCDFHeader().
unsigned char HCalFED::cdfh[8] |
Definition at line 194 of file PackerHelp.h.
uint64_t HCalFED::cdfHeader |
Definition at line 188 of file PackerHelp.h.
Referenced by formatFEDdata(), and setCDFHeader().
uint64_t HCalFED::Crate |
Definition at line 192 of file PackerHelp.h.
Referenced by HCalFED().
uint64_t HCalFED::EventNum |
Definition at line 190 of file PackerHelp.h.
Referenced by HCalFED().
std::vector<unsigned char> HCalFED::fedData |
Definition at line 184 of file PackerHelp.h.
Referenced by formatFEDdata().
int HCalFED::fedId |
Definition at line 187 of file PackerHelp.h.
Referenced by HCalFED(), and setCDFHeader().
uint64_t HCalFED::OrbitNum |
Definition at line 189 of file PackerHelp.h.
Referenced by HCalFED(), and setAMC13Header().
FEDHeader* HCalFED::rawFEDHeader |
Definition at line 195 of file PackerHelp.h.
std::vector<uhtrData> HCalFED::uhtrs |
Definition at line 186 of file PackerHelp.h.
Referenced by addUHTR(), and formatFEDdata().