#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 |
The iterator returned can not safely be used across threads. More... | |
DataContainer const & | data () 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 |
IdContainer const & | ids () const |
data_type | operator() (size_t cell, size_t frame) const |
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....
NOTE: The iterator used by DataFrameContainer can not safely be used across threads, even if only call const methods
Definition at line 33 of file DataFrameContainer.h.
typedef std::vector<data_type>::const_iterator edm::DataFrameContainer::const_DataIter |
Definition at line 44 of file DataFrameContainer.h.
typedef std::vector<id_type>::const_iterator edm::DataFrameContainer::const_IdIter |
Definition at line 43 of file DataFrameContainer.h.
typedef boost::transform_iterator<IterHelp, boost::counting_iterator<int> > edm::DataFrameContainer::const_iterator |
Definition at line 61 of file DataFrameContainer.h.
typedef std::pair<const_IdIter, const_DataIter> edm::DataFrameContainer::const_IterPair |
Definition at line 45 of file DataFrameContainer.h.
typedef unsigned short edm::DataFrameContainer::data_type |
Definition at line 37 of file DataFrameContainer.h.
typedef std::vector<data_type> edm::DataFrameContainer::DataContainer |
Definition at line 39 of file DataFrameContainer.h.
typedef std::vector<data_type>::iterator edm::DataFrameContainer::DataIter |
Definition at line 41 of file DataFrameContainer.h.
typedef unsigned int edm::DataFrameContainer::id_type |
Definition at line 36 of file DataFrameContainer.h.
typedef std::vector<id_type> edm::DataFrameContainer::IdContainer |
Definition at line 38 of file DataFrameContainer.h.
typedef std::vector<id_type>::iterator edm::DataFrameContainer::IdIter |
Definition at line 40 of file DataFrameContainer.h.
typedef std::pair<IdIter, DataIter> edm::DataFrameContainer::IterPair |
Definition at line 42 of file DataFrameContainer.h.
typedef unsigned int edm::DataFrameContainer::size_type |
Definition at line 35 of file DataFrameContainer.h.
|
inline |
Definition at line 63 of file DataFrameContainer.h.
|
inlineexplicit |
Definition at line 65 of file DataFrameContainer.h.
|
inline |
Definition at line 116 of file DataFrameContainer.h.
References size().
Referenced by HcalDataFrameContainer< Digi >::backDataFrame(), EcalTBDaqFormatter::interpretRawData(), and EcalTB07DaqFormatter::interpretRawData().
|
inline |
The iterator returned can not safely be used across threads.
Definition at line 143 of file DataFrameContainer.h.
Referenced by PedestalTask::_process(), LEDTask::_process(), DigiTask::_process(), LaserTask::_process(), edm::DataMixingEMDigiWorker::addEMPileups(), edm::DataMixingEMDigiWorker::addEMSignals(), ESPedestalTask::analyze(), ZDCQIE10Task::analyze(), ESTimingTask::analyze(), FCDTask::analyze(), ECALpedestalPCLworker::analyze(), EcalSimple2007H4TBAnalyzer::analyze(), testChannel::analyze(), EcalPulseShapeGrapher::analyze(), EcnaAnalyzer::analyze(), EcalSelectiveReadoutValidation::analyzeEB(), EcalSelectiveReadoutValidation::analyzeEE(), HFPreReconstructor::fillInfos(), HcalDataFrameFilter::filter(), HLTHcalLaserMisfireFilter::filter(), EcalDisplaysByEvent::makeHistos(), EcalUncalibRecHitPhase2WeightsProducer::produce(), ESRecHitProducer::produce(), ESDigiToRaw::produce(), ESZeroSuppressionProducer::produce(), EcalDigiSelector::produce(), EcalDigiToRaw::produce(), HcalDigiSortedTableProducer::produce(), EcalPedOffset::readDACs(), EcalDigiDisplay::readEBDigis(), EcalPedHists::readEBdigis(), EcalDigiDisplay::readEEDigis(), EcalPedHists::readEEdigis(), EcalUncalibRecHitWorkerRunOneDigiBase::run(), EcalUncalibRecHitWorkerMultiFit::run(), ecaldqm::LedTask::runOnDigis(), EcalMipGraphs::selectDigi(), EcalDisplaysByEvent::selectDigi(), EcalSelectiveReadoutValidation::setTtEtSums(), and EcalSelectiveReadoutSuppressor::setTtFlags().
|
inline |
Definition at line 165 of file DataFrameContainer.h.
References m_data.
Referenced by HcalDataFrameContainer< Digi >::addDataFrame().
|
inline |
Definition at line 154 of file DataFrameContainer.h.
References m_ids.
Referenced by HcalDigisProducerGPU::acquire(), EcalDigiDisplay::analyze(), EcalDigisValidation::analyze(), EcalDisplaysByEvent::analyze(), EcalMixingModuleValidation::analyze(), GlobalDigisProducer::fillECal(), GlobalDigisAnalyzer::fillECal(), and EcalUncalibRecHitWorkerMultiFit::run().
|
inline |
Definition at line 146 of file DataFrameContainer.h.
References size().
Referenced by PedestalTask::_process(), LEDTask::_process(), DigiTask::_process(), LaserTask::_process(), edm::DataMixingEMDigiWorker::addEMPileups(), edm::DataMixingEMDigiWorker::addEMSignals(), ESPedestalTask::analyze(), ZDCQIE10Task::analyze(), EcalTBValidation::analyze(), ESTimingTask::analyze(), FCDTask::analyze(), EcalSimpleTBAnalyzer::analyze(), ECALpedestalPCLworker::analyze(), EcalSimple2007H4TBAnalyzer::analyze(), testChannel::analyze(), EcalPulseShapeGrapher::analyze(), EcnaAnalyzer::analyze(), EcalSelectiveReadoutValidation::analyzeEB(), EcalSelectiveReadoutValidation::analyzeEE(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), HFPreReconstructor::fillInfos(), HcalDataFrameFilter::filter(), HLTHcalLaserMisfireFilter::filter(), HLTEcalPhiSymFilter::filter(), find(), EcalDisplaysByEvent::makeHistos(), EcalUncalibRecHitPhase2WeightsProducer::produce(), ESRecHitProducer::produce(), ESDigiToRaw::produce(), ESZeroSuppressionProducer::produce(), EcalDigiSelector::produce(), HLTRechitsToDigis::produce(), EcalDigiToRaw::produce(), HcalDigiSortedTableProducer::produce(), EcalPedOffset::readDACs(), EcalDigiDisplay::readEBDigis(), EcalPedHists::readEBdigis(), EcalDigiDisplay::readEEDigis(), EcalPedHists::readEEdigis(), EcalUncalibRecHitWorkerRunOneDigiBase::run(), EcalUncalibRecHitWorkerMultiFit::run(), ecaldqm::LedTask::runOnDigis(), EcalMipGraphs::selectDigi(), EcalDisplaysByEvent::selectDigi(), EcalSelectiveReadoutValidation::setTtEtSums(), and EcalSelectiveReadoutSuppressor::setTtFlags().
|
inline |
slow interface The iterator returned can not safely be used across threads
Definition at line 135 of file DataFrameContainer.h.
References end(), mps_fire::i, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, m_ids, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by JetToDigiDump::analyze(), EcalTBValidation::analyze(), EcalSimpleTBAnalyzer::analyze(), HLTEcalPhiSymFilter::filter(), and HLTRechitsToDigis::produce().
|
inline |
Definition at line 160 of file DataFrameContainer.h.
References m_data, and m_stride.
Referenced by operator()(), and edm::DataFrame::set().
|
inline |
Definition at line 162 of file DataFrameContainer.h.
References m_ids.
Referenced by edm::DataFrame::set().
|
inline |
|
inline |
Definition at line 158 of file DataFrameContainer.h.
References frame(), m_data, and m_stride.
|
inline |
|
inline |
|
inline |
Definition at line 125 of file DataFrameContainer.h.
References mps_fire::i, m_data, m_ids, and m_stride.
|
inline |
Definition at line 127 of file DataFrameContainer.h.
References mps_fire::i, m_data, m_ids, and m_stride.
|
inline |
Definition at line 118 of file DataFrameContainer.h.
References m_data, m_ids, and m_stride.
Referenced by EcalTBDaqFormatter::interpretRawData(), and EcalTB07DaqFormatter::interpretRawData().
Definition at line 93 of file DataFrameContainer.h.
References filterCSVwithJSON::copy, callgraph::cs, m_data, m_ids, and m_stride.
Referenced by EEDigiCollection::push_back(), and ESDigiCollection::push_back().
|
inline |
|
inline |
Definition at line 80 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(), EcalTBDaqFormatter::interpretRawData(), EcalTB07DaqFormatter::interpretRawData(), and EcalSelectiveReadoutSuppressor::run().
|
inline |
Definition at line 105 of file DataFrameContainer.h.
References filterCSVwithJSON::copy, callgraph::cs, m_data, m_ids, and m_stride.
|
inline |
|
inline |
Definition at line 111 of file DataFrameContainer.h.
References filterCSVwithJSON::copy, callgraph::cs, m_data, and m_stride.
|
inline |
Definition at line 156 of file DataFrameContainer.h.
References m_ids.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), QIE10Task::_process(), QIE11Task::_process(), HcalDigisProducerGPU::acquire(), edm::DataMixingEMDigiWorker::addEMPileups(), edm::DataMixingEMDigiWorker::addEMSignals(), EcalPreshowerNoiseDistrib::analyze(), EcalTPInputAnalyzer::analyze(), EcalPreshowerDigisValidation::analyze(), EcalTPGAnalyzer::analyze(), EcalBarrelDigisValidation::analyze(), EcalEndcapDigisValidation::analyze(), EcalDigisValidation::analyze(), HLTGetDigi::analyze(), EcalMixingModuleValidation::analyze(), EcnaAnalyzer::analyze(), CMTRawAnalyzer::analyze(), EcalSelectiveReadoutValidation::analyzeDataVolume(), EcalSelectiveReadoutValidation::analyzeEE(), back(), end(), GlobalDigisProducer::fillECal(), GlobalDigisAnalyzer::fillECal(), HFPreReconstructor::fillInfos(), HLTHcalLaserMisfireFilter::filter(), ESRecHitProducer::produce(), EcalUncalibRecHitProducer::produce(), HcalRealisticZS::produce(), EcalZeroSuppressionProducer::produce(), EcalTBWeightUncalibRecHitProducer::produce(), HcalDigiToRawuHTR::produce(), EcalEBTrigPrimProducer::produce(), EcalEBTrigPrimPhase2Producer::produce(), EcalTrigPrimProducer::produce(), HBHEPhase1Reconstructor::produce(), EcalDigiDisplay::readEBDigis(), EcalDigiDisplay::readEEDigis(), EcalUncalibRecHitWorkerRunOneDigiBase::run(), EcalEBTrigPrimTestAlgo::run(), EcalEBPhase2TrigPrimAlgo::run(), EcalUncalibRecHitWorkerMultiFit::run(), EcalSelectiveReadoutSuppressor::run(), and sort().
void edm::DataFrameContainer::sort | ( | ) |
Definition at line 19 of file DataFrameContainer.cc.
References filterCSVwithJSON::copy, mps_fire::i, dqmdumpme::indices, dqmiolumiharvest::j, m_data, m_ids, m_stride, alignCSCRings::s, size(), jetUpdater_cfi::sort, and createJobs::tmp.
|
inline |
Definition at line 152 of file DataFrameContainer.h.
References m_stride.
Referenced by HcalDataFrameContainer< Digi >::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 edm::swap().
Referenced by edm::swap().
|
inline |
Definition at line 75 of file DataFrameContainer.h.
|
friend |
Definition at line 169 of file DataFrameContainer.h.
|
friend |
Definition at line 172 of file DataFrameContainer.h.
|
private |
Definition at line 181 of file DataFrameContainer.h.
Referenced by data(), frame(), operator()(), pair(), pop_back(), push_back(), reserve(), resize(), set_back(), sort(), and swap().
|
private |
Definition at line 180 of file DataFrameContainer.h.
Referenced by empty(), find(), id(), ids(), pair(), pop_back(), push_back(), reserve(), resize(), set_back(), size(), sort(), and swap().
|
private |
Definition at line 178 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 175 of file DataFrameContainer.h.
Referenced by subdetId(), and swap().