#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) |
void | Insert (const TotemT2FramePosition &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 23 of file SimpleVFATFrameCollection.h.
SimpleVFATFrameCollection::SimpleVFATFrameCollection | ( | ) |
Definition at line 13 of file SimpleVFATFrameCollection.cc.
|
override |
|
overrideprotectedvirtual |
returns the beginning of the collection
Implements VFATFrameCollection.
Definition at line 37 of file SimpleVFATFrameCollection.cc.
References data.
|
inline |
cleans completely the collection
Definition at line 50 of file SimpleVFATFrameCollection.h.
References data.
|
inlineoverridevirtual |
returns whether the collection is empty
Implements VFATFrameCollection.
Definition at line 40 of file SimpleVFATFrameCollection.h.
References data.
|
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 17 of file SimpleVFATFrameCollection.cc.
References data.
|
overridevirtual |
returns frame at given position in Slink frame
Implements VFATFrameCollection.
Definition at line 29 of file SimpleVFATFrameCollection.cc.
References data.
|
inline |
Definition at line 42 of file SimpleVFATFrameCollection.h.
References data.
Referenced by pps::RawDataUnpacker::processOptoRxFrameSampic(), and pps::RawDataUnpacker::processVFATDataParallel().
|
inline |
Definition at line 43 of file SimpleVFATFrameCollection.h.
References data.
|
inline |
inserts an empty (default) frame to the given position and returns pointer to the frame
Definition at line 47 of file SimpleVFATFrameCollection.h.
References data, and dqmdumpme::first.
Referenced by pps::RawDataUnpacker::processOptoRxFrameSerial().
|
overrideprotectedvirtual |
checks whether the iterator points over the end of the collection
Implements VFATFrameCollection.
Definition at line 52 of file SimpleVFATFrameCollection.cc.
|
overrideprotectedvirtual |
shifts the iterator
Implements VFATFrameCollection.
Definition at line 42 of file SimpleVFATFrameCollection.cc.
References data, and relativeConstraints::value.
|
inlineoverridevirtual |
return the number of VFAT frames in the collection
Implements VFATFrameCollection.
Definition at line 38 of file SimpleVFATFrameCollection.h.
References data.
|
protected |
Definition at line 25 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(), Clear(), confdb.HLTProcess::customize(), confdb.HLTProcess::dump(), Empty(), confdb.HLTProcess::fixPrescales(), data_sources.json_list::get_members(), confdb.HLTProcess::getRawConfigurationFromDB(), Insert(), InsertEmptyFrame(), 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::removeElementFromSequencesTasksAndPaths(), confdb.HLTProcess::runL1Emulator(), Size(), confdb.HLTProcess::specificCustomize(), cuy.FindIssue::startElement(), edmStreamStallGrapher.Stack::update(), and confdb.HLTProcess::updateMessageLogger().