#include <AMC13Spec.h>
Public Member Functions | |
void | add (unsigned int amc_no, unsigned int board, unsigned int lv1id, unsigned int orbit, unsigned int bx, const std::vector< uint64_t > &load, unsigned int user=0) |
unsigned int | blocks () const |
Packet () | |
bool | parse (const uint64_t *start, const uint64_t *data, unsigned int size, unsigned int lv1, unsigned int bx, bool legacy_mc=false, bool mtf7_mode=false) |
std::vector< amc::Packet > | payload () const |
unsigned int | size () const |
bool | write (const edm::Event &ev, unsigned char *ptr, unsigned int skip, unsigned int size) const |
Private Attributes | |
Header | header_ |
std::vector< amc::Packet > | payload_ |
Definition at line 69 of file AMC13Spec.h.
|
inline |
Definition at line 71 of file AMC13Spec.h.
References PVValHelper::add(), gather_cfg::blocks, l1GtPatternGenerator_cfi::bx, data, ev, svgfig::load(), dumpparser::parse(), findQualityFiles::size, optionsL1T::skip, EnviromentSettings::user, and writeEcalDQMStatus::write.
void Packet::add | ( | unsigned int | amc_no, |
unsigned int | board, | ||
unsigned int | lv1id, | ||
unsigned int | orbit, | ||
unsigned int | bx, | ||
const std::vector< uint64_t > & | load, | ||
unsigned int | user = 0 |
||
) |
Definition at line 47 of file AMC13Spec.cc.
Referenced by l1t::AMCDumpToRaw::formatAMC(), l1t::MP7BufferDumpToRaw::formatAMC(), omtf::OmtfPacker::produce(), l1t::L1TDigiToRaw::produce(), counter.Counter::register(), SequenceTypes.Task::remove(), and SequenceTypes.Task::replace().
unsigned int Packet::blocks | ( | ) | const |
bool Packet::parse | ( | const uint64_t * | start, |
const uint64_t * | data, | ||
unsigned int | size, | ||
unsigned int | lv1, | ||
unsigned int | bx, | ||
bool | legacy_mc = false , |
||
bool | mtf7_mode = false |
||
) |
Definition at line 60 of file AMC13Spec.cc.
References b, amc13::Header::check(), amc13::Trailer::check(), cms::CRC32Calculator::checksum(), TauDecayModes::dec, amc13::Header::getNumberOfAMCs(), amc13::Header::Header(), getRunAppsInfo::headers, mps_fire::i, LogDebug, SiStripPI::max, AlCaHLTBitMon_QueryRunRegistry::string, and OrderedSet::t.
Referenced by L1TMP7ZeroSupp::analyze(), dqmBmtfAlgoSelector::L1TBMTFAlgoSelector::produce(), l1t::L1TRawToDigi::produce(), and omtf::OmtfUnpacker::produce().
|
inline |
Definition at line 92 of file AMC13Spec.h.
Referenced by L1TMP7ZeroSupp::analyze(), dqmBmtfAlgoSelector::L1TBMTFAlgoSelector::produce(), l1t::L1TRawToDigi::produce(), and omtf::OmtfUnpacker::produce().
unsigned int Packet::size | ( | void | ) | const |
Definition at line 186 of file AMC13Spec.cc.
References gather_cfg::blocks, and SiStripPI::max.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), l1t::AMCDumpToRaw::formatRaw(), l1t::MP7BufferDumpToRaw::formatRaw(), omtf::OmtfPacker::produce(), l1t::L1TDigiToRaw::produce(), l1t::AMCDumpToRaw::produce(), and l1t::MP7BufferDumpToRaw::produce().
bool Packet::write | ( | const edm::Event & | ev, |
unsigned char * | ptr, | ||
unsigned int | skip, | ||
unsigned int | size | ||
) | const |
Definition at line 202 of file AMC13Spec.cc.
References b, gather_cfg::blocks, edm::EventBase::bunchCrossing(), data, edm::EventID::event(), h, edm::EventBase::id(), edm::EventBase::orbitNumber(), amc13::Header::raw(), findQualityFiles::size, optionsL1T::skip, and amc13::Trailer::writeCRC().
Referenced by l1t::AMCDumpToRaw::formatRaw(), l1t::MP7BufferDumpToRaw::formatRaw(), pkg.AbstractPkg::generate(), omtf::OmtfPacker::produce(), and l1t::L1TDigiToRaw::produce().
|
private |
Definition at line 92 of file AMC13Spec.h.
|
private |
Definition at line 96 of file AMC13Spec.h.