#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 147 of file PackerHelp.h.
typedef std::vector<uint16_t> HCalFED::uhtrData |
Definition at line 151 of file PackerHelp.h.
|
inline |
Definition at line 166 of file PackerHelp.h.
References BxNum, Crate, EventNum, fedId, FEDNumbering::MINHCALuTCAFEDID, OrbitNum, setAMC13Header(), and setCDFHeader().
|
inline |
Definition at line 213 of file PackerHelp.h.
References AMCHeaders, 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, and AMCHeaderSpec::OFFSET_V.
Referenced by addUHTR().
|
inline |
Definition at line 234 of file PackerHelp.h.
References addAMCHeader(), and uhtrs.
|
inline |
Definition at line 242 of file PackerHelp.h.
References AMC13Header, AMCHeaders, cdfHeader, FEDRawData::data(), fedData, i, FEDRawData::resize(), setNAMC(), split64bitTo8bit(), and uhtrs.
|
inline |
Definition at line 197 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, and OrbitNum.
Referenced by HCalFED().
|
inline |
Definition at line 184 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, and CDFHeaderSpec::OFFSET_SOURCE_ID.
Referenced by HCalFED().
|
inline |
Definition at line 209 of file PackerHelp.h.
References AMC13Header, AMC13HeaderSpec::MASK_NAMC, and AMC13HeaderSpec::OFFSET_NAMC.
Referenced by formatFEDdata().
|
inline |
Definition at line 178 of file PackerHelp.h.
Referenced by formatFEDdata().
uint64_t HCalFED::AMC13Header |
Definition at line 157 of file PackerHelp.h.
Referenced by formatFEDdata(), setAMC13Header(), and setNAMC().
std::vector<uint64_t> HCalFED::AMCHeaders |
Definition at line 154 of file PackerHelp.h.
Referenced by addAMCHeader(), and formatFEDdata().
uint64_t HCalFED::BxNum |
Definition at line 160 of file PackerHelp.h.
Referenced by HCalFED(), and setCDFHeader().
unsigned char HCalFED::cdfh[8] |
Definition at line 163 of file PackerHelp.h.
uint64_t HCalFED::cdfHeader |
Definition at line 157 of file PackerHelp.h.
Referenced by formatFEDdata(), and setCDFHeader().
uint64_t HCalFED::Crate |
Definition at line 161 of file PackerHelp.h.
Referenced by HCalFED().
uint64_t HCalFED::EventNum |
Definition at line 159 of file PackerHelp.h.
Referenced by HCalFED().
std::vector<unsigned char> HCalFED::fedData |
Definition at line 153 of file PackerHelp.h.
Referenced by formatFEDdata().
int HCalFED::fedId |
Definition at line 156 of file PackerHelp.h.
Referenced by HCalFED(), and setCDFHeader().
uint64_t HCalFED::OrbitNum |
Definition at line 158 of file PackerHelp.h.
Referenced by HCalFED(), and setAMC13Header().
FEDHeader* HCalFED::rawFEDHeader |
Definition at line 164 of file PackerHelp.h.
std::vector<uhtrData> HCalFED::uhtrs |
Definition at line 155 of file PackerHelp.h.
Referenced by addUHTR(), and formatFEDdata().