#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 nano_mu_digi_cff::bx, svgfig::load(), payload_, and EnviromentSettings::user.
Referenced by counter.Counter::register(), SequenceTypes._TaskBase::remove(), and SequenceTypes._TaskBase::replace().
unsigned int Packet::blocks | ( | ) | const |
Definition at line 177 of file AMC13Spec.cc.
References 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 b, nano_mu_digi_cff::bx, amc13::Header::check(), RPCNoise_example::check, cms::CRC32Calculator::checksum(), data, TauDecayModes::dec, amc13::Header::getFormatVersion(), amc13::Header::getNumberOfAMCs(), header_, getRunAppsInfo::headers, mps_fire::i, LogDebug, SiStripPI::max, payload_, size(), 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 blocks(), SiStripPI::max, and payload_.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), parse(), 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 b, blocks(), data, makeMEIFBenchmarkPlots::ev, h, payload_, size(), optionsL1T::skip, and amc13::Trailer::writeCRC().
Referenced by pkg.AbstractPkg::generate().
|
private |
Definition at line 92 of file AMC13Spec.h.
Referenced by parse().
|
private |