#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.
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.
References payload_.
Referenced by l1t::AMCDumpToRaw::formatAMC(), l1t::MP7BufferDumpToRaw::formatAMC(), omtf::OmtfPacker::produce(), counter.Counter::register(), SequenceTypes.Task::remove(), and SequenceTypes.Task::replace().
unsigned int Packet::blocks | ( | ) | const |
Definition at line 177 of file AMC13Spec.cc.
References amc, SiStripPI::max, and payload_.
Referenced by size(), and write().
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 amc, b, trackerTree::check(), amc13::Header::check(), amc13::Trailer::check(), cms::CRC32Calculator::checksum(), TauDecayModes::dec, amc13::Header::getFormatVersion(), amc13::Header::getNumberOfAMCs(), header_, getRunAppsInfo::headers, mps_fire::i, LogDebug, SiStripPI::max, payload_, AlCaHLTBitMon_QueryRunRegistry::string, and submitPVValidationJobs::t.
Referenced by L1TMP7ZeroSupp::analyze(), L1UpgradeTfMuonTreeProducer::getAlgoFwVersion(), dqmBmtfAlgoSelector::L1TBMTFAlgoSelector::produce(), l1t::L1TRawToDigi::produce(), and omtf::OmtfUnpacker::produce().
|
inline |
Definition at line 92 of file AMC13Spec.h.
References payload_.
Referenced by L1TMP7ZeroSupp::analyze(), L1UpgradeTfMuonTreeProducer::getAlgoFwVersion(), 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 amc, blocks(), SiStripPI::max, and payload_.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), l1t::AMCDumpToRaw::formatRaw(), l1t::MP7BufferDumpToRaw::formatRaw(), omtf::OmtfPacker::produce(), and write().
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 amc, b, blocks(), edm::EventBase::bunchCrossing(), data, edm::EventID::event(), h, edm::EventBase::id(), edm::EventBase::orbitNumber(), payload_, size(), createPayload::skip, and amc13::Trailer::writeCRC().
Referenced by l1t::AMCDumpToRaw::formatRaw(), l1t::MP7BufferDumpToRaw::formatRaw(), pkg.AbstractPkg::generate(), and omtf::OmtfPacker::produce().
|
private |
Definition at line 92 of file AMC13Spec.h.
Referenced by parse().
|
private |