#include <DataFrameContainer.h>
Classes | |
struct | IterHelp |
Public Types | |
typedef std::vector< data_type > ::const_iterator | const_DataIter |
typedef std::vector< id_type > ::const_iterator | const_IdIter |
typedef boost::transform_iterator < IterHelp, boost::counting_iterator< int > > | const_iterator |
typedef std::pair < const_IdIter, const_DataIter > | const_IterPair |
typedef unsigned short | data_type |
typedef std::vector< data_type > | DataContainer |
typedef std::vector< data_type > ::iterator | DataIter |
typedef unsigned int | id_type |
typedef std::vector< id_type > | IdContainer |
typedef std::vector< id_type > ::iterator | IdIter |
typedef std::pair< IdIter, DataIter > | IterPair |
typedef unsigned int | size_type |
Public Member Functions | |
DataFrame | back () |
const_iterator | begin () const |
DataFrameContainer () | |
DataFrameContainer (size_t istride, int isubdet=0, size_t isize=0) | |
bool | empty () const |
const_iterator | end () const |
const_iterator | find (id_type i) const |
data_type const * | frame (size_t cell) const |
id_type | id (size_t cell) const |
data_type | operator() (size_t cell, size_t frame) const |
DataFrameContainer & | operator= (DataFrameContainer const &rhs) |
DataFrame | operator[] (size_t i) |
DataFrame | operator[] (size_t i) const |
IterPair | pair (size_t i) |
const_IterPair | pair (size_t i) const |
void | pop_back () |
void | push_back (id_type iid, data_type const *idata) |
void | push_back (id_type iid) |
void | reserve (size_t isize) |
void | resize (size_t isize) |
void | set_back (id_type iid, data_type const *idata) |
void | set_back (id_type iid) |
void | set_back (data_type const *idata) |
size_type | size () const |
void | sort () |
size_type | stride () const |
int | subdetId () const |
void | swap (DataFrameContainer &rh) |
void | swap (IdContainer &iic, DataContainer &idc) |
Private Attributes | |
DataContainer | m_data |
IdContainer | m_ids |
size_type | m_stride |
int | m_subdetId |
an optitimized container that linearized a "vector of vector". It corresponds to a set of fixed size array of 16bit words each belonging to a "channel" identified by an 32bit id
FIXME interface to be finalized once use-cases fully identified
although it can be sorted internally it is strongly adviced to fill it already sorted....
Definition at line 24 of file DataFrameContainer.h.
typedef std::vector<data_type>::const_iterator edm::DataFrameContainer::const_DataIter |
Definition at line 35 of file DataFrameContainer.h.
typedef std::vector<id_type>::const_iterator edm::DataFrameContainer::const_IdIter |
Definition at line 34 of file DataFrameContainer.h.
typedef boost::transform_iterator<IterHelp,boost::counting_iterator<int> > edm::DataFrameContainer::const_iterator |
Definition at line 51 of file DataFrameContainer.h.
typedef std::pair<const_IdIter,const_DataIter> edm::DataFrameContainer::const_IterPair |
Definition at line 36 of file DataFrameContainer.h.
typedef unsigned short edm::DataFrameContainer::data_type |
Definition at line 28 of file DataFrameContainer.h.
typedef std::vector<data_type> edm::DataFrameContainer::DataContainer |
Definition at line 30 of file DataFrameContainer.h.
typedef std::vector<data_type>::iterator edm::DataFrameContainer::DataIter |
Definition at line 32 of file DataFrameContainer.h.
typedef unsigned int edm::DataFrameContainer::id_type |
Definition at line 27 of file DataFrameContainer.h.
typedef std::vector<id_type> edm::DataFrameContainer::IdContainer |
Definition at line 29 of file DataFrameContainer.h.
typedef std::vector<id_type>::iterator edm::DataFrameContainer::IdIter |
Definition at line 31 of file DataFrameContainer.h.
typedef std::pair<IdIter,DataIter> edm::DataFrameContainer::IterPair |
Definition at line 33 of file DataFrameContainer.h.
typedef unsigned int edm::DataFrameContainer::size_type |
Definition at line 26 of file DataFrameContainer.h.
|
inline |
Definition at line 53 of file DataFrameContainer.h.
|
inlineexplicit |
Definition at line 57 of file DataFrameContainer.h.
|
inline |
Definition at line 117 of file DataFrameContainer.h.
References size().
Referenced by EcalTB07DaqFormatter::interpretRawData(), EcalTBDaqFormatter::interpretRawData(), EcalBarrelRecHitsMaker::loadEcalBarrelRecHits(), EcalEndcapRecHitsMaker::loadEcalEndcapRecHits(), and EcalTBReadout::readOut().
|
inline |
Definition at line 152 of file DataFrameContainer.h.
Referenced by edm::DataMixingEMDigiWorker::addEMPileups(), edm::DataMixingEMDigiWorker::addEMSignals(), EcalABAnalyzer::analyze(), EcalPerEvtLaserAnalyzer::analyze(), EcalTestPulseAnalyzer::analyze(), EcalLaserAnalyzer2::analyze(), EcalLaserAnalyzer::analyze(), EcnaAnalyzer::analyze(), EcalSelectiveReadoutValidation::analyzeEB(), EcalSelectiveReadoutValidation::analyzeEE(), EcalDisplaysByEvent::makeHistos(), ESRecHitProducer::produce(), EcalDigiSelector::produce(), EcalSelectiveReadoutSuppressor::run(), ecaldqm::PresampleTask::runOnDigis(), ecaldqm::OccupancyTask::runOnDigis(), ecaldqm::PedestalTask::runOnDigis(), ecaldqm::TestPulseTask::runOnDigis(), ecaldqm::TrigPrimTask::runOnDigis(), ecaldqm::LedTask::runOnDigis(), ecaldqm::LaserTask::runOnDigis(), ecaldqm::SelectiveReadoutTask::runOnDigis(), EcalSelectiveReadoutValidation::setTtEtSums(), EcalSelectiveReadoutSuppressor::setTtFlags(), and ESUnpackerWorker::work().
|
inline |
Definition at line 166 of file DataFrameContainer.h.
References m_ids.
Referenced by Vispa.Gui.VispaWidget.TextField::setAutosizeFont(), and Vispa.Gui.VispaWidget.TextField::setAutotruncate().
|
inline |
Definition at line 156 of file DataFrameContainer.h.
References size().
Referenced by edm::DataMixingEMDigiWorker::addEMPileups(), edm::DataMixingEMDigiWorker::addEMSignals(), EcalPerEvtLaserAnalyzer::analyze(), EcalABAnalyzer::analyze(), EcalTestPulseAnalyzer::analyze(), EcalBarrelRecHitsValidation::analyze(), EcalEndcapRecHitsValidation::analyze(), EcalLaserAnalyzer2::analyze(), EcalLaserAnalyzer::analyze(), EcnaAnalyzer::analyze(), EcalSelectiveReadoutValidation::analyzeEB(), EcalSelectiveReadoutValidation::analyzeEE(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), find(), EcalDisplaysByEvent::makeHistos(), ESRecHitProducer::produce(), EcalDigiSelector::produce(), EcalSelectiveReadoutSuppressor::run(), ecaldqm::PresampleTask::runOnDigis(), ecaldqm::OccupancyTask::runOnDigis(), ecaldqm::PedestalTask::runOnDigis(), ecaldqm::TestPulseTask::runOnDigis(), ecaldqm::TrigPrimTask::runOnDigis(), ecaldqm::LaserTask::runOnDigis(), ecaldqm::LedTask::runOnDigis(), ecaldqm::SelectiveReadoutTask::runOnDigis(), EcalSelectiveReadoutValidation::setTtEtSums(), EcalSelectiveReadoutSuppressor::setTtFlags(), and ESUnpackerWorker::work().
|
inline |
Definition at line 145 of file DataFrameContainer.h.
References end(), i, m_ids, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by BeautifulSoup.Tag::_invert(), EcalEndcapRecHitsValidation::analyze(), EcalBarrelRecHitsValidation::analyze(), and BeautifulSoup.PageElement::insert().
|
inline |
Definition at line 174 of file DataFrameContainer.h.
References m_data, and m_stride.
Referenced by operator()(), and edm::DataFrame::set().
|
inline |
Definition at line 178 of file DataFrameContainer.h.
References m_ids.
Referenced by edm::DataFrame::set().
|
inline |
Definition at line 170 of file DataFrameContainer.h.
References frame(), m_data, and m_stride.
|
inline |
Definition at line 68 of file DataFrameContainer.h.
References swap(), and groupFilesInBlocks::temp.
|
inline |
Definition at line 136 of file DataFrameContainer.h.
|
inline |
Definition at line 140 of file DataFrameContainer.h.
|
inline |
Definition at line 128 of file DataFrameContainer.h.
References i, m_data, m_ids, and m_stride.
|
inline |
Definition at line 132 of file DataFrameContainer.h.
References i, m_data, m_ids, and m_stride.
|
inline |
Definition at line 121 of file DataFrameContainer.h.
References m_data, m_ids, and m_stride.
Referenced by EcalTB07DaqFormatter::interpretRawData(), and EcalTBDaqFormatter::interpretRawData().
Definition at line 92 of file DataFrameContainer.h.
References filterCSVwithJSON::copy, fwrapper::cs, m_data, m_ids, and m_stride.
Referenced by EcalTB07DaqFormatter::interpretRawData(), EcalTBDaqFormatter::interpretRawData(), EcalBarrelRecHitsMaker::loadEcalBarrelRecHits(), EcalEndcapRecHitsMaker::loadEcalEndcapRecHits(), ESDigiCollection::push_back(), EcalTBReadout::readOut(), and EcalSelectiveReadoutSuppressor::run().
|
inline |
|
inline |
Definition at line 79 of file DataFrameContainer.h.
References m_data, m_ids, and m_stride.
Referenced by EcalTB07DaqFormatter::interpretRawData(), EcalTBDaqFormatter::interpretRawData(), EcalBarrelRecHitsMaker::loadEcalBarrelRecHits(), EcalEndcapRecHitsMaker::loadEcalEndcapRecHits(), ESDigitizer::run(), and EcalSelectiveReadoutSuppressor::run().
|
inline |
Definition at line 84 of file DataFrameContainer.h.
References m_data, m_ids, and m_stride.
Referenced by Vispa.Gui.TextDialog.TextDialog::__init__(), Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::__init__(), Vispa.Main.MainWindow.MainWindow::_loadIni(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
Definition at line 104 of file DataFrameContainer.h.
References filterCSVwithJSON::copy, fwrapper::cs, m_data, m_ids, and m_stride.
|
inline |
|
inline |
Definition at line 112 of file DataFrameContainer.h.
References filterCSVwithJSON::copy, fwrapper::cs, m_data, and m_stride.
|
inline |
Definition at line 168 of file DataFrameContainer.h.
References m_ids.
Referenced by edm::DataMixingEMDigiWorker::addEMPileups(), edm::DataMixingEMDigiWorker::addEMSignals(), EcalDigisValidation::analyze(), EcalMixingModuleValidation::analyze(), EcnaAnalyzer::analyze(), EcalSelectiveReadoutValidation::analyzeDataVolume(), EcalSelectiveReadoutValidation::analyzeEE(), back(), EcalTBDigiProducer::cacheEEDigis(), end(), ESRecHitProducer::produce(), EcalZeroSuppressionProducer::produce(), EcalTBReadout::readOut(), EcalSelectiveReadoutSuppressor::run(), sort(), and ESUnpackerWorker::work().
void edm::DataFrameContainer::sort | ( | ) |
Definition at line 22 of file DataFrameContainer.cc.
References filterCSVwithJSON::copy, i, j, m_data, m_ids, m_stride, alignCSCRings::s, size(), python.multivaluedict::sort(), and tmp.
|
inline |
Definition at line 164 of file DataFrameContainer.h.
References m_stride.
Referenced by edm::DataFrame::set().
|
inline |
|
inline |
Definition at line 61 of file DataFrameContainer.h.
References m_data, m_ids, m_stride, m_subdetId, and std::swap().
Referenced by operator=(), edm::swap(), and std::swap().
|
inline |
Definition at line 74 of file DataFrameContainer.h.
|
private |
Definition at line 193 of file DataFrameContainer.h.
Referenced by frame(), operator()(), pair(), pop_back(), push_back(), reserve(), resize(), set_back(), sort(), and swap().
|
private |
Definition at line 192 of file DataFrameContainer.h.
Referenced by empty(), find(), id(), pair(), pop_back(), push_back(), reserve(), resize(), set_back(), size(), sort(), and swap().
|
private |
Definition at line 190 of file DataFrameContainer.h.
Referenced by frame(), operator()(), pair(), pop_back(), push_back(), reserve(), resize(), set_back(), sort(), stride(), and swap().
|
private |
Definition at line 187 of file DataFrameContainer.h.
Referenced by subdetId(), and swap().