#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 | 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 | ||
) |
Definition at line 61 of file AMC13Spec.cc.
References payload_.
Referenced by l1t::AMCDumpToRaw::formatAMC(), l1t::MP7BufferDumpToRaw::formatAMC(), and counter.Counter::register().
unsigned int Packet::blocks | ( | ) | const |
Definition at line 189 of file AMC13Spec.cc.
References amc, bookConverter::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 70 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, i, LogDebug, bookConverter::max, payload_, AlCaHLTBitMon_QueryRunRegistry::string, and t.
Referenced by L1TMP7ZeroSupp::analyze(), and l1t::L1TRawToDigi::produce().
|
inline |
Definition at line 80 of file AMC13Spec.h.
References payload_.
Referenced by L1TMP7ZeroSupp::analyze(), and l1t::L1TRawToDigi::produce().
unsigned int Packet::size | ( | void | ) | const |
Definition at line 200 of file AMC13Spec.cc.
References amc, blocks(), bookConverter::max, and payload_.
Referenced by ntuple._Collection::__iter__(), ntuple._Collection::__len__(), l1t::AMCDumpToRaw::formatRaw(), l1t::MP7BufferDumpToRaw::formatRaw(), and write().
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 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(), and pkg.AbstractPkg::generate().
|
private |
Definition at line 80 of file AMC13Spec.h.
Referenced by parse().
|
private |