#include <SimpleVFATFrameCollection.h>
Public Member Functions | |
void | Clear () |
cleans completely the collection More... | |
bool | Empty () const override |
returns whether the collection is empty More... | |
const VFATFrame * | GetFrameByID (unsigned int ID) const override |
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 override |
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 () | |
unsigned int | Size () const override |
return the number of VFAT frames in the collection More... | |
~SimpleVFATFrameCollection () override | |
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 | |
value_type | BeginIterator () const override |
returns the beginning of the collection More... | |
bool | IsEndIterator (const value_type &) const override |
checks whether the iterator points over the end of the collection More... | |
value_type | NextIterator (const value_type &) const override |
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.
|
override |
|
overrideprotectedvirtual |
returns the beginning of the collection
Implements VFATFrameCollection.
Definition at line 55 of file SimpleVFATFrameCollection.cc.
References data.
|
inline |
|
inlineoverridevirtual |
returns whether the collection is empty
Implements VFATFrameCollection.
Definition at line 44 of file SimpleVFATFrameCollection.h.
|
overridevirtual |
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.
References data.
|
overridevirtual |
returns frame at given position in Slink frame
Implements VFATFrameCollection.
Definition at line 44 of file SimpleVFATFrameCollection.cc.
References data.
|
inline |
Definition at line 49 of file SimpleVFATFrameCollection.h.
References diffTreeTool::index.
Referenced by ctpps::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 ctpps::RawDataUnpacker::ProcessOptoRxFrameSerial().
|
overrideprotectedvirtual |
checks whether the iterator points over the end of the collection
Implements VFATFrameCollection.
Definition at line 76 of file SimpleVFATFrameCollection.cc.
|
overrideprotectedvirtual |
shifts the iterator
Implements VFATFrameCollection.
Definition at line 63 of file SimpleVFATFrameCollection.cc.
References data, and relativeConstraints::value.
|
inlineoverridevirtual |
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().