![]() |
![]() |
#include <AMCSpec.h>
Public Member Functions | |
void | add (unsigned int board, const std::vector< uint64_t > &load) |
unsigned int | blocks () const |
Packet () | |
bool | parse (const uint64_t *, unsigned int) |
std::vector< amc::Packet > | payload () const |
unsigned int | size () const |
bool | write (const edm::Event &ev, unsigned char *ptr, unsigned int size) const |
Private Attributes | |
Header | header_ |
std::vector< amc::Packet > | payload_ |
void Packet::add | ( | unsigned int | board, |
const std::vector< uint64_t > & | load | ||
) |
Definition at line 133 of file AMCSpec.cc.
References svgfig::load(), and payload_.
Referenced by counter.Counter::register().
unsigned int Packet::blocks | ( | ) | const |
Definition at line 258 of file AMCSpec.cc.
References amc, bookConverter::max, and payload_.
Referenced by size(), and write().
bool Packet::parse | ( | const uint64_t * | data, |
unsigned int | size | ||
) |
Definition at line 141 of file AMCSpec.cc.
References amc, b, DDVectorGetter::check(), cms::CRC32Calculator::checksum(), data, amc13::Trailer::getBlock(), amc13::Trailer::getCRC(), amc13::Header::getFormatVersion(), amc13::Header::getNumberOfAMCs(), amc13::Header::getOrbitNumber(), header_, getRunAppsInfo::headers, i, bookConverter::max, payload_, AlCaHLTBitMon_QueryRunRegistry::string, edmStreamStallGrapher::t, and amc13::Header::valid().
|
inline |
unsigned int Packet::size | ( | void | ) | const |
Definition at line 269 of file AMCSpec.cc.
References amc, blocks(), bookConverter::max, and payload_.
Referenced by write().
bool Packet::write | ( | const edm::Event & | ev, |
unsigned char * | ptr, | ||
unsigned int | size | ||
) | const |
Definition at line 287 of file AMCSpec.cc.
References amc, b, blocks(), edm::EventBase::bunchCrossing(), cms::CRC32Calculator::checksum(), data, edm::EventID::event(), h, edm::EventBase::id(), edm::EventBase::orbitNumber(), payload_, size(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by pkg.AbstractPkg::generate().
|
private |