#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 |
Friends | |
class | ::TestDataFrame |
template<typename DigiCollection > | |
class | ::TestEcalDigi |
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 31 of file DataFrameContainer.h.
typedef std::vector<data_type>::const_iterator edm::DataFrameContainer::const_DataIter |
Definition at line 42 of file DataFrameContainer.h.
typedef std::vector<id_type>::const_iterator edm::DataFrameContainer::const_IdIter |
Definition at line 41 of file DataFrameContainer.h.
typedef boost::transform_iterator<IterHelp,boost::counting_iterator<int> > edm::DataFrameContainer::const_iterator |
Definition at line 58 of file DataFrameContainer.h.
typedef std::pair<const_IdIter,const_DataIter> edm::DataFrameContainer::const_IterPair |
Definition at line 43 of file DataFrameContainer.h.
typedef unsigned short edm::DataFrameContainer::data_type |
Definition at line 35 of file DataFrameContainer.h.
typedef std::vector<data_type> edm::DataFrameContainer::DataContainer |
Definition at line 37 of file DataFrameContainer.h.
typedef std::vector<data_type>::iterator edm::DataFrameContainer::DataIter |
Definition at line 39 of file DataFrameContainer.h.
typedef unsigned int edm::DataFrameContainer::id_type |
Definition at line 34 of file DataFrameContainer.h.
typedef std::vector<id_type> edm::DataFrameContainer::IdContainer |
Definition at line 36 of file DataFrameContainer.h.
typedef std::vector<id_type>::iterator edm::DataFrameContainer::IdIter |
Definition at line 38 of file DataFrameContainer.h.
typedef std::pair<IdIter,DataIter> edm::DataFrameContainer::IterPair |
Definition at line 40 of file DataFrameContainer.h.
typedef unsigned int edm::DataFrameContainer::size_type |
Definition at line 33 of file DataFrameContainer.h.
|
inline |
Definition at line 60 of file DataFrameContainer.h.
|
inlineexplicit |
Definition at line 64 of file DataFrameContainer.h.
|
inline |
Definition at line 124 of file DataFrameContainer.h.
References size().
Referenced by HcalDataFrameContainer< QIE10DataFrame >::backDataFrame(), EcalTB07DaqFormatter::interpretRawData(), EcalTBDaqFormatter::interpretRawData(), and EcalTBReadout::readOut().
|
inline |
Definition at line 159 of file DataFrameContainer.h.
References edm::DataFrameContainer::IterHelp::IterHelp().
Referenced by PedestalTask::_process(), LEDTask::_process(), DigiPhase1Task::_process(), DigiTask::_process(), LaserTask::_process(), HcalTriggerPrimitiveAlgo::addDigis(), edm::DataMixingEMDigiWorker::addEMPileups(), edm::DataMixingEMDigiWorker::addEMSignals(), ESPedestalTask::analyze(), FCDTask::analyze(), ESTimingTask::analyze(), EcalPerEvtLaserAnalyzer::analyze(), EcalABAnalyzer::analyze(), EcalTestPulseAnalyzer::analyze(), ECALpedestalPCLworker::analyze(), EcalSimple2007H4TBAnalyzer::analyze(), EcalPulseShapeGrapher::analyze(), testChannel::analyze(), EcalLaserAnalyzer2::analyze(), EcalLaserAnalyzer::analyze(), EcnaAnalyzer::analyze(), EcalSelectiveReadoutValidation::analyzeEB(), EcalSelectiveReadoutValidation::analyzeEE(), EcalSignalGenerator< EEDigitizerTraits >::fill(), HFPreReconstructor::fillInfos(), HcalDataFrameFilter::filter(), HLTHcalLaserMisfireFilter::filter(), EcalSimRawData::getEbDigi(), EcalDisplaysByEvent::makeHistos(), HSCPValidator::makeSimDigiPlotsECAL(), LaserTask::processLaserMon(), ESRecHitProducer::produce(), ESDigiToRaw::produce(), EcalDigiSelector::produce(), ESZeroSuppressionProducer::produce(), EcalPedOffset::readDACs(), EcalDigiDisplay::readEBDigis(), EcalPedHists::readEBdigis(), EcalDigiDisplay::readEEDigis(), EcalPedHists::readEEdigis(), HcalDigisValidation::reco(), EcalUncalibRecHitWorkerRunOneDigiBase::run(), EcalUncalibRecHitWorkerMultiFit::run(), EcalSelectiveReadoutSuppressor::run(), ecaldqm::LedTask::runOnDigis(), EcalMipGraphs::selectDigi(), EcalDisplaysByEvent::selectDigi(), EcalSelectiveReadoutValidation::setTtEtSums(), EcalSelectiveReadoutSuppressor::setTtFlags(), and HcalZeroSuppressionAlgo::suppress().
|
inline |
Definition at line 173 of file DataFrameContainer.h.
References m_ids.
Referenced by EcalDigiDisplay::analyze(), EcalPedOffset::analyze(), EcalDigisValidation::analyze(), EcalDisplaysByEvent::analyze(), EcalMixingModuleValidation::analyze(), GlobalDigisProducer::fillECal(), GlobalDigisAnalyzer::fillECal(), EcalSimRawData::getEbDigi(), EcalUncalibRecHitWorkerMultiFit::run(), Vispa.Gui.VispaWidget.TextField::setAutosizeFont(), and Vispa.Gui.VispaWidget.TextField::setAutotruncate().
|
inline |
Definition at line 163 of file DataFrameContainer.h.
References edm::DataFrameContainer::IterHelp::IterHelp(), and size().
Referenced by PedestalTask::_process(), LEDTask::_process(), DigiTask::_process(), DigiPhase1Task::_process(), LaserTask::_process(), HcalTriggerPrimitiveAlgo::addDigis(), edm::DataMixingEMDigiWorker::addEMPileups(), edm::DataMixingEMDigiWorker::addEMSignals(), ESPedestalTask::analyze(), EcalTBValidation::analyze(), FCDTask::analyze(), ESTimingTask::analyze(), EcalPerEvtLaserAnalyzer::analyze(), EcalABAnalyzer::analyze(), EcalTestPulseAnalyzer::analyze(), ECALpedestalPCLworker::analyze(), EcalSimpleTBAnalyzer::analyze(), EcalSimple2007H4TBAnalyzer::analyze(), EcalBarrelRecHitsValidation::analyze(), EcalPulseShapeGrapher::analyze(), testChannel::analyze(), EcalLaserAnalyzer2::analyze(), EcalEndcapRecHitsValidation::analyze(), EcalLaserAnalyzer::analyze(), EcnaAnalyzer::analyze(), EcalSelectiveReadoutValidation::analyzeEB(), EcalSelectiveReadoutValidation::analyzeEE(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), EcalSignalGenerator< EEDigitizerTraits >::fill(), HFPreReconstructor::fillInfos(), HcalDataFrameFilter::filter(), HLTHcalLaserMisfireFilter::filter(), find(), EcalSimRawData::getEbDigi(), EcalDisplaysByEvent::makeHistos(), HSCPValidator::makeSimDigiPlotsECAL(), LaserTask::processLaserMon(), ESRecHitProducer::produce(), ESDigiToRaw::produce(), EcalDigiSelector::produce(), ESZeroSuppressionProducer::produce(), EcalDigiToRaw::produce(), HLTRechitsToDigis::produce(), EcalPedOffset::readDACs(), EcalDigiDisplay::readEBDigis(), EcalPedHists::readEBdigis(), EcalDigiDisplay::readEEDigis(), EcalPedHists::readEEdigis(), HcalDigisValidation::reco(), EcalUncalibRecHitWorkerRunOneDigiBase::run(), EcalUncalibRecHitWorkerMultiFit::run(), EcalSelectiveReadoutSuppressor::run(), ecaldqm::LedTask::runOnDigis(), EcalMipGraphs::selectDigi(), EcalDisplaysByEvent::selectDigi(), EcalSelectiveReadoutValidation::setTtEtSums(), EcalSelectiveReadoutSuppressor::setTtFlags(), and HcalZeroSuppressionAlgo::suppress().
|
inline |
Definition at line 152 of file DataFrameContainer.h.
References end(), mps_fire::i, edm::DataFrameContainer::IterHelp::IterHelp(), m_ids, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by BeautifulSoup.Tag::__getattr__(), JetToDigiDump::analyze(), EcalTBValidation::analyze(), EcalSimpleTBAnalyzer::analyze(), EcalBarrelRecHitsValidation::analyze(), EcalEndcapRecHitsValidation::analyze(), HLTEcalPhiSymFilter::filter(), BeautifulSoup.Tag::firstText(), and HLTRechitsToDigis::produce().
|
inline |
Definition at line 181 of file DataFrameContainer.h.
References m_data, and m_stride.
Referenced by edm::DataFrame::set().
|
inline |
Definition at line 185 of file DataFrameContainer.h.
References m_ids.
Referenced by edm::DataFrame::set().
|
inline |
Definition at line 177 of file DataFrameContainer.h.
References edm::DataFrameContainer::IterHelp::frame, m_data, and m_stride.
|
inline |
Definition at line 75 of file DataFrameContainer.h.
References swap(), and groupFilesInBlocks::temp.
|
inline |
Definition at line 143 of file DataFrameContainer.h.
|
inline |
Definition at line 147 of file DataFrameContainer.h.
|
inline |
Definition at line 135 of file DataFrameContainer.h.
References mps_fire::i, m_data, m_ids, and m_stride.
|
inline |
Definition at line 139 of file DataFrameContainer.h.
References mps_fire::i, m_data, m_ids, and m_stride.
|
inline |
Definition at line 128 of file DataFrameContainer.h.
References m_data, m_ids, and m_stride.
Referenced by EcalTB07DaqFormatter::interpretRawData(), and EcalTBDaqFormatter::interpretRawData().
Definition at line 99 of file DataFrameContainer.h.
References popcon2dropbox::copy(), fwrapper::cs, m_data, m_ids, and m_stride.
Referenced by EEDigiCollection::push_back(), ESDigiCollection::push_back(), and HcalDataFrameContainer< QIE10DataFrame >::swap().
|
inline |
|
inline |
Definition at line 86 of file DataFrameContainer.h.
References m_data, m_ids, and m_stride.
Referenced by EcalPreshowerNoiseDistrib::analyze(), EcalPreshowerDigisValidation::analyze(), EcalBarrelDigisValidation::analyze(), EcalEndcapDigisValidation::analyze(), EcalDigisValidation::analyze(), EcalMixingModuleValidation::analyze(), GlobalDigisProducer::fillECal(), GlobalDigisAnalyzer::fillECal(), EcalTB07DaqFormatter::interpretRawData(), EcalTBDaqFormatter::interpretRawData(), ESDigitizer::run(), and EcalSelectiveReadoutSuppressor::run().
|
inline |
Definition at line 91 of file DataFrameContainer.h.
References m_data, m_ids, m_stride, and sort().
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 111 of file DataFrameContainer.h.
References popcon2dropbox::copy(), fwrapper::cs, m_data, m_ids, and m_stride.
|
inline |
|
inline |
Definition at line 119 of file DataFrameContainer.h.
References popcon2dropbox::copy(), fwrapper::cs, m_data, and m_stride.
|
inline |
Definition at line 175 of file DataFrameContainer.h.
References m_ids.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), QIE10Task::_process(), QIE11Task::_process(), edm::DataMixingEMDigiWorker::addEMPileups(), edm::DataMixingEMDigiWorker::addEMSignals(), EcalPreshowerNoiseDistrib::analyze(), EcalTPInputAnalyzer::analyze(), EcalTPGAnalyzer::analyze(), EcalPreshowerDigisValidation::analyze(), EcalEndcapDigisValidation::analyze(), EcalBarrelDigisValidation::analyze(), EcalDigisValidation::analyze(), HLTGetDigi::analyze(), HGCalDigiValidation::analyze(), EcalMixingModuleValidation::analyze(), EcnaAnalyzer::analyze(), EcalSelectiveReadoutValidation::analyzeDataVolume(), EcalSelectiveReadoutValidation::analyzeEE(), back(), EcalTBDigiProducer::cacheEEDigis(), end(), GlobalDigisProducer::fillECal(), GlobalDigisAnalyzer::fillECal(), HFPreReconstructor::fillInfos(), HLTHcalLaserMisfireFilter::filter(), EcalUncalibRecHitProducer::produce(), ESRecHitProducer::produce(), HcalRealisticZS::produce(), HcalSimpleAmplitudeZS::produce(), EcalTBWeightUncalibRecHitProducer::produce(), EcalZeroSuppressionProducer::produce(), EcalEBTrigPrimProducer::produce(), EcalTrigPrimProducer::produce(), HcalDigiToRawuHTR::produce(), HBHEPhase1Reconstructor::produce(), EcalDigiDisplay::readEBDigis(), EcalDigiDisplay::readEEDigis(), EcalTBReadout::readOut(), EcalUncalibRecHitWorkerRunOneDigiBase::run(), EcalUncalibRecHitWorkerMultiFit::run(), EcalEBTrigPrimTestAlgo::run(), and EcalSelectiveReadoutSuppressor::run().
void edm::DataFrameContainer::sort | ( | ) |
Definition at line 21 of file DataFrameContainer.cc.
References popcon2dropbox::copy(), mps_fire::i, alignCSCRings::s, findQualityFiles::size, and tmp.
Referenced by resize().
|
inline |
Definition at line 171 of file DataFrameContainer.h.
References m_stride.
Referenced by HcalDataFrameContainer< QIE10DataFrame >::samples(), and edm::DataFrame::set().
|
inline |
|
inline |
Definition at line 68 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 81 of file DataFrameContainer.h.
|
friend |
Definition at line 194 of file DataFrameContainer.h.
|
friend |
Definition at line 197 of file DataFrameContainer.h.
|
private |
Definition at line 206 of file DataFrameContainer.h.
Referenced by frame(), operator()(), pair(), pop_back(), push_back(), reserve(), resize(), set_back(), and swap().
|
private |
Definition at line 205 of file DataFrameContainer.h.
Referenced by empty(), find(), id(), pair(), pop_back(), push_back(), reserve(), resize(), set_back(), size(), and swap().
|
private |
Definition at line 203 of file DataFrameContainer.h.
Referenced by frame(), operator()(), pair(), pop_back(), push_back(), reserve(), resize(), set_back(), stride(), and swap().
|
private |
Definition at line 200 of file DataFrameContainer.h.
Referenced by subdetId(), and swap().