#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, data, ev, svgfig::load(), dumpparser::parse(), findQualityFiles::size, createPayload::skip, dataset::user, and TriggerAnalyzer::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 61 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 |
Definition at line 189 of file AMC13Spec.cc.
References SiStripPI::max.
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 70 of file AMC13Spec.cc.
References b, amc13::Header::check(), amc13::Trailer::check(), cms::CRC32Calculator::checksum(), TauDecayModes::dec, amc13::Header::getNumberOfAMCs(), amc13::Header::Header(), mps_fire::i, LogDebug, SiStripPI::max, AlCaHLTBitMon_QueryRunRegistry::string, and lumiQTWidget::t.
Referenced by L1TMP7ZeroSupp::analyze(), l1t::L1TRawToDigi::produce(), and omtf::OmtfUnpacker::produce().
|
inline |
Definition at line 80 of file AMC13Spec.h.
Referenced by L1TMP7ZeroSupp::analyze(), l1t::L1TRawToDigi::produce(), and omtf::OmtfUnpacker::produce().
unsigned int Packet::size | ( | void | ) | const |
Definition at line 200 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 218 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, createPayload::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 80 of file AMC13Spec.h.
|
private |
Definition at line 84 of file AMC13Spec.h.