Class representing information that's stored in the input or output buffers on a phase-2 board. More...
#include <BoardData.h>
Public Types | |
typedef std::vector< Frame > | Channel |
Public Member Functions | |
Channel & | add (size_t) |
Channel & | add (size_t, const Channel &) |
Channel & | at (size_t) |
const Channel & | at (size_t) const |
std::map< size_t, Channel >::const_iterator | begin () const |
std::map< size_t, Channel >::iterator | begin () |
BoardData () | |
BoardData (const std::string &name) | |
BoardData (const std::string &name, const std::vector< size_t > &channels, size_t length) | |
std::map< size_t, Channel >::const_iterator | end () const |
std::map< size_t, Channel >::iterator | end () |
bool | has (size_t) const |
const std::string & | name () const |
void | name (const std::string &aName) |
size_t | size () |
Private Attributes | |
std::map< size_t, Channel > | data_ |
std::string | name_ |
Class representing information that's stored in the input or output buffers on a phase-2 board.
Definition at line 13 of file BoardData.h.
typedef std::vector<Frame> l1t::demo::BoardData::Channel |
Definition at line 15 of file BoardData.h.
l1t::demo::BoardData::BoardData | ( | ) |
Definition at line 6 of file BoardData.cc.
l1t::demo::BoardData::BoardData | ( | const std::string & | name | ) |
Definition at line 8 of file BoardData.cc.
l1t::demo::BoardData::BoardData | ( | const std::string & | name, |
const std::vector< size_t > & | channels, | ||
size_t | length | ||
) |
Definition at line 10 of file BoardData.cc.
References ewkTauDQM_cfi::channels, data_, and mps_fire::i.
BoardData::Channel & l1t::demo::BoardData::add | ( | size_t | i | ) |
Definition at line 27 of file BoardData.cc.
References data_, and mps_fire::i.
Referenced by counter.Counter::register().
BoardData::Channel & l1t::demo::BoardData::add | ( | size_t | i, |
const Channel & | data | ||
) |
Definition at line 32 of file BoardData.cc.
References data, data_, and mps_fire::i.
Referenced by counter.Counter::register().
BoardData::Channel & l1t::demo::BoardData::at | ( | size_t | i | ) |
Definition at line 37 of file BoardData.cc.
References data_, and mps_fire::i.
Referenced by l1t::demo::BoardDataWriter::addEvent(), l1t::demo::BoardDataReader::BoardDataReader(), and l1t::demo::BoardDataWriter::resetBoardData().
const BoardData::Channel & l1t::demo::BoardData::at | ( | size_t | i | ) | const |
std::map< size_t, BoardData::Channel >::const_iterator l1t::demo::BoardData::begin | ( | void | ) | const |
std::map< size_t, BoardData::Channel >::iterator l1t::demo::BoardData::begin | ( | void | ) |
std::map< size_t, BoardData::Channel >::const_iterator l1t::demo::BoardData::end | ( | void | ) | const |
std::map< size_t, BoardData::Channel >::iterator l1t::demo::BoardData::end | ( | void | ) |
bool l1t::demo::BoardData::has | ( | size_t | i | ) | const |
Definition at line 41 of file BoardData.cc.
References data_, and mps_fire::i.
Referenced by l1t::demo::BoardDataReader::BoardDataReader().
const std::string & l1t::demo::BoardData::name | ( | void | ) | const |
Definition at line 15 of file BoardData.cc.
References name_.
Referenced by config.CFG::__str__(), validation.Sample::digest(), l1t::demo::BoardDataWriter::flush(), and VIDSelectorBase.VIDSelectorBase::initialize().
void l1t::demo::BoardData::name | ( | const std::string & | aName | ) |
Definition at line 17 of file BoardData.cc.
References name_.
Referenced by config.CFG::__str__(), validation.Sample::digest(), and VIDSelectorBase.VIDSelectorBase::initialize().
size_t l1t::demo::BoardData::size | ( | void | ) |
Definition at line 43 of file BoardData.cc.
References data_.
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
|
private |
Definition at line 52 of file BoardData.h.
Referenced by add(), at(), begin(), BoardData(), end(), has(), and size().
|
private |
Definition at line 49 of file BoardData.h.
Referenced by name().