#include <SimpleVFATFrameCollection.h>
Public Member Functions | |
void | Clear () |
cleans completely the collection More... | |
virtual bool | Empty () const |
returns whether the collection is empty More... | |
const VFATFrame * | GetFrameByID (unsigned int ID) const |
returns pointer to frame with ID, performs NO duplicity check (if there is precisely one frame with this 12bit ID) More... | |
const VFATFrame * | GetFrameByIndex (TotemFramePosition index) const |
returns frame at given position in Slink frame More... | |
void | Insert (const TotemFramePosition &index, const VFATFrame &frame) |
VFATFrame * | InsertEmptyFrame (TotemFramePosition index) |
inserts an empty (default) frame to the given position and returns pointer to the frame More... | |
SimpleVFATFrameCollection () | |
virtual unsigned int | Size () const |
return the number of VFAT frames in the collection More... | |
~SimpleVFATFrameCollection () | |
Public Member Functions inherited from VFATFrameCollection | |
virtual const VFATFrame * | GetFrameByIndexID (TotemFramePosition index, unsigned int ID) |
returns frame at given position in Slink frame and checks 12bit ID More... | |
VFATFrameCollection () | |
virtual | ~VFATFrameCollection () |
Protected Types | |
typedef std::map< TotemFramePosition, VFATFrame > | MapType |
Protected Member Functions | |
virtual value_type | BeginIterator () const |
returns the beginning of the collection More... | |
virtual bool | IsEndIterator (const value_type &) const |
checks whether the iterator points over the end of the collection More... | |
virtual value_type | NextIterator (const value_type &) const |
shifts the iterator More... | |
Protected Attributes | |
MapType | data |
Additional Inherited Members | |
Public Types inherited from VFATFrameCollection | |
typedef std::pair< TotemFramePosition, const VFATFrame * > | value_type |
pair: frame DAQ position, frame data More... | |
A basic implementation of VFAT frame collection, as map: TotemFramePosition –> VFATFrame.
Definition at line 21 of file SimpleVFATFrameCollection.h.
|
protected |
Definition at line 24 of file SimpleVFATFrameCollection.h.
SimpleVFATFrameCollection::SimpleVFATFrameCollection | ( | ) |
Definition at line 16 of file SimpleVFATFrameCollection.cc.
SimpleVFATFrameCollection::~SimpleVFATFrameCollection | ( | ) |
|
protectedvirtual |
returns the beginning of the collection
Implements VFATFrameCollection.
Definition at line 55 of file SimpleVFATFrameCollection.cc.
|
inline |
|
inlinevirtual |
returns whether the collection is empty
Implements VFATFrameCollection.
Definition at line 44 of file SimpleVFATFrameCollection.h.
|
virtual |
returns pointer to frame with ID, performs NO duplicity check (if there is precisely one frame with this 12bit ID)
Implements VFATFrameCollection.
Definition at line 29 of file SimpleVFATFrameCollection.cc.
|
virtual |
returns frame at given position in Slink frame
Implements VFATFrameCollection.
Definition at line 44 of file SimpleVFATFrameCollection.cc.
|
inline |
Definition at line 49 of file SimpleVFATFrameCollection.h.
References diffTreeTool::index.
Referenced by RawDataUnpacker::ProcessVFATDataParallel().
|
inline |
inserts an empty (default) frame to the given position and returns pointer to the frame
Definition at line 55 of file SimpleVFATFrameCollection.h.
References plotBeamSpotDB::first, and diffTreeTool::index.
Referenced by RawDataUnpacker::ProcessOptoRxFrameSerial().
|
protectedvirtual |
checks whether the iterator points over the end of the collection
Implements VFATFrameCollection.
Definition at line 76 of file SimpleVFATFrameCollection.cc.
References NULL.
|
protectedvirtual |
shifts the iterator
Implements VFATFrameCollection.
Definition at line 63 of file SimpleVFATFrameCollection.cc.
References data, NULL, and relativeConstraints::value.
|
inlinevirtual |
return the number of VFAT frames in the collection
Implements VFATFrameCollection.
Definition at line 39 of file SimpleVFATFrameCollection.h.
|
protected |
Definition at line 26 of file SimpleVFATFrameCollection.h.
Referenced by data_sources.node::__str__(), confdb.HLTProcess::_fix_parameter(), confdb.HLTProcess::addEras(), confdb.HLTProcess::addGlobalOptions(), confdb.HLTProcess::append_filenames(), data_sources.json_list::as_dicts(), data_sources.json_list::as_table(), confdb.HLTProcess::build_source(), confdb.HLTProcess::customize(), confdb.HLTProcess::dump(), confdb.HLTProcess::fixPrescales(), data_sources.json_list::get_members(), confdb.HLTProcess::getRawConfigurationFromDB(), confdb.HLTProcess::instrumentDQM(), confdb.HLTProcess::instrumentOpenMode(), confdb.HLTProcess::instrumentTiming(), data_sources.json_list::last(), confdb.HLTProcess::loadAdditionalConditions(), confdb.HLTProcess::loadCff(), confdb.HLTProcess::loadSetupCff(), confdb.HLTProcess::overrideGlobalTag(), confdb.HLTProcess::overrideL1MenuXml(), confdb.HLTProcess::overrideOutput(), confdb.HLTProcess::overrideParameters(), confdb.HLTProcess::overrideProcessName(), confdb.HLTProcess::runL1Emulator(), confdb.HLTProcess::specificCustomize(), cuy.FindIssue::startElement(), edmStreamStallGrapher.Stack::update(), and confdb.HLTProcess::updateMessageLogger().