#include <DetSetNew.h>
Classes | |
class | FastFiller |
class | FindForDetSetVector |
struct | IterHelp |
class | TSFastFiller |
Public Types | |
typedef std::vector< data_type >::const_iterator | const_DataIter |
typedef IdContainer::const_iterator | const_IdIter |
typedef boost::transform_iterator< IterHelp, const_IdIter > | const_iterator |
typedef std::pair< const_IdIter, const_DataIter > | const_IterPair |
typedef T | data_type |
typedef std::vector< data_type > | DataContainer |
typedef std::vector< data_type >::iterator | DataIter |
typedef edmNew::DetSet< T > | DetSet |
typedef dslv::LazyGetter< T > | Getter |
typedef unsigned int | id_type |
typedef std::vector< Item > | IdContainer |
typedef IdContainer::iterator | IdIter |
typedef Trans::Item | Item |
typedef std::pair< IdIter, DataIter > | IterPair |
typedef id_type | key_type |
typedef std::pair< const_iterator, const_iterator > | Range |
typedef edm::refhelper::FindForNewDetSetVector< data_type > | RefFinder |
typedef edmNew::DetSetVector< T > | self |
typedef unsigned int | size_type |
typedef dstvdetails::DetSetVectorTrans | Trans |
typedef DetSet | value_type |
Public Member Functions | |
const_iterator | begin (bool update=false) const |
void | clean () |
DataContainer const & | data () const |
data_type const * | data (size_t cell) const |
size_type | dataSize () const |
size_type | detsetSize (size_t cell) const |
DetSetVector (const DetSetVector &)=default | |
DetSetVector (DetSetVector &&)=default | |
DetSetVector (int isubdet=0) | |
DetSetVector (std::shared_ptr< dslv::LazyGetter< T >> iGetter, const std::vector< det_id_type > &iDets, int isubdet=0) | |
bool | empty () const |
const_iterator | end (bool update=false) const |
template<typename CMP > | |
Range | equal_range (id_type i, CMP cmp, bool update=false) const |
bool | exists (id_type i) const |
const_iterator | find (id_type i, bool update=false) const |
const_IdIter | findItem (id_type i) const |
id_type | id (size_t cell) const |
IdContainer const & | ids () const |
DetSet | insert (id_type iid, data_type const *idata, size_type isize) |
DetSet | insert (id_type iid, size_type isize) |
bool | isValid (id_type i) const |
Item const & | item (size_t cell) const |
bool | onDemand () const |
data_type | operator() (size_t cell, size_t frame) const |
DetSetVector & | operator= (const DetSetVector &)=delete |
DetSetVector & | operator= (DetSetVector &&)=default |
DetSet | operator[] (id_type i) const |
void | pop_back (id_type iid) |
Item & | push_back (id_type iid) |
void | reserve (size_t isize, size_t dsize) |
void | resize (size_t isize, size_t dsize) |
void | shrink_to_fit () |
size_type | size () const |
int | subdetId () const |
void | swap (DetSetVector &rh) |
void | swap (IdContainer &iic, DataContainer &idc) |
~DetSetVector () | |
Static Public Member Functions | |
static short | Class_Version () |
Private Member Functions | |
Item & | addItem (id_type iid, size_type isize) |
void | update (Item const &item) const |
Private Member Functions inherited from edmNew::dstvdetails::DetSetVectorTrans | |
DetSetVectorTrans () | |
DetSetVectorTrans (const DetSetVectorTrans &rh) | |
DetSetVectorTrans (DetSetVectorTrans &&rh) | |
DetSetVectorTrans & | operator= (const DetSetVectorTrans &)=delete |
DetSetVectorTrans & | operator= (DetSetVectorTrans &&rh) |
bool | ready () const |
void | swap (DetSetVectorTrans &rh) |
Private Attributes | |
DataContainer | m_data |
std::vector< Trans::Item > | m_ids |
int | m_subdetId |
Private Attributes inherited from edmNew::dstvdetails::DetSetVectorTrans | |
std::atomic< size_type > | m_dataSize |
std::atomic< bool > | m_filling |
std::shared_ptr< void > | m_getter |
Friends | |
class | ::TestDetSet |
class | edmNew::DetSet< T > |
class | FastFiller |
class | FindForDetSetVector |
class | TSFastFiller |
Additional Inherited Members | |
Private Types inherited from edmNew::dstvdetails::DetSetVectorTrans | |
typedef unsigned int | id_type |
typedef unsigned int | size_type |
an optitimized container that linearized a "map of vector". It corresponds to a set of variable size array of T each belonging to a "Det" identified by an 32bit id
FIXME interface to be finalized once use-cases fully identified
although it is sorted internally it is strongly adviced to fill it already sorted....
Definition at line 13 of file DetSetNew.h.
typedef std::vector<data_type>::const_iterator edmNew::DetSetVector< T >::const_DataIter |
Definition at line 175 of file DetSetVectorNew.h.
typedef IdContainer::const_iterator edmNew::DetSetVector< T >::const_IdIter |
Definition at line 174 of file DetSetVectorNew.h.
typedef boost::transform_iterator<IterHelp, const_IdIter> edmNew::DetSetVector< T >::const_iterator |
Definition at line 197 of file DetSetVectorNew.h.
typedef std::pair<const_IdIter, const_DataIter> edmNew::DetSetVector< T >::const_IterPair |
Definition at line 176 of file DetSetVectorNew.h.
typedef T edmNew::DetSetVector< T >::data_type |
Definition at line 161 of file DetSetVectorNew.h.
typedef std::vector<data_type> edmNew::DetSetVector< T >::DataContainer |
Definition at line 170 of file DetSetVectorNew.h.
typedef std::vector<data_type>::iterator edmNew::DetSetVector< T >::DataIter |
Definition at line 172 of file DetSetVectorNew.h.
typedef edmNew::DetSet<T> edmNew::DetSetVector< T >::DetSet |
Definition at line 163 of file DetSetVectorNew.h.
typedef dslv::LazyGetter<T> edmNew::DetSetVector< T >::Getter |
Definition at line 164 of file DetSetVectorNew.h.
typedef unsigned int edmNew::DetSetVector< T >::id_type |
Definition at line 160 of file DetSetVectorNew.h.
typedef std::vector<Item> edmNew::DetSetVector< T >::IdContainer |
Definition at line 169 of file DetSetVectorNew.h.
typedef IdContainer::iterator edmNew::DetSetVector< T >::IdIter |
Definition at line 171 of file DetSetVectorNew.h.
typedef Trans::Item edmNew::DetSetVector< T >::Item |
Definition at line 158 of file DetSetVectorNew.h.
typedef std::pair<IdIter, DataIter> edmNew::DetSetVector< T >::IterPair |
Definition at line 173 of file DetSetVectorNew.h.
typedef id_type edmNew::DetSetVector< T >::key_type |
Definition at line 167 of file DetSetVectorNew.h.
typedef std::pair<const_iterator, const_iterator> edmNew::DetSetVector< T >::Range |
Definition at line 198 of file DetSetVectorNew.h.
typedef edm::refhelper::FindForNewDetSetVector<data_type> edmNew::DetSetVector< T >::RefFinder |
Definition at line 178 of file DetSetVectorNew.h.
typedef edmNew::DetSetVector<T> edmNew::DetSetVector< T >::self |
Definition at line 162 of file DetSetVectorNew.h.
typedef unsigned int edmNew::DetSetVector< T >::size_type |
Definition at line 159 of file DetSetVectorNew.h.
typedef dstvdetails::DetSetVectorTrans edmNew::DetSetVector< T >::Trans |
Definition at line 157 of file DetSetVectorNew.h.
typedef DetSet edmNew::DetSetVector< T >::value_type |
Definition at line 166 of file DetSetVectorNew.h.
|
inlineexplicit |
Definition at line 412 of file DetSetVectorNew.h.
edmNew::DetSetVector< T >::DetSetVector | ( | std::shared_ptr< dslv::LazyGetter< T >> | iGetter, |
const std::vector< det_id_type > & | iDets, | ||
int | isubdet = 0 |
||
) |
|
inline |
Definition at line 416 of file DetSetVectorNew.h.
|
default |
|
default |
|
inlineprivate |
Definition at line 498 of file DetSetVectorNew.h.
References edmNew::dstvdetails::errorIdExists(), pfDeepBoostedJetPreprocessParams_cfi::lower_bound, edmNew::DetSetVector< T >::m_data, edmNew::DetSetVector< T >::m_ids, eostools::move(), and AlCaHLTBitMon_ParallelJobs::p.
Referenced by edmNew::DetSetVector< T >::insert(), and edmNew::DetSetVector< T >::push_back().
|
inline |
Definition at line 545 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::m_ids, and edmNew::DetSetVector< T >::update().
Referenced by SiPixelPhase1TrackClustersV::analyze(), OuterTrackerMonitorTTCluster::analyze(), SiPixelTrackResidualSource::analyze(), OuterTrackerMonitorTTStub::analyze(), SiPixelHitEfficiencySource::analyze(), PixelLumiDQM::analyze(), FWPhase2TrackerCluster1DDetProxyBuilder::build(), FWSiPixelClusterDetProxyBuilder::build(), FWPhase2TrackerCluster1DProxyBuilder::build(), FWSiPixelClusterProxyBuilder::build(), HLTTrackClusterRemoverNew::cleanup(), HITrackClusterRemover::cleanup(), edmNew::copy(), MultiplicityProducer< T >::detSetMultiplicity(), HITrackingRegionProducer::estimateMultiplicity(), SiPixelClusterModule::fill(), NearbyPixelClustersAnalyzer::fillClusterFrames(), TrackingNtuple::fillPhase2OTHits(), TrackingNtuple::fillStripMatchedHits(), NearbyPixelClustersProducer::findAllNearbyClusters(), NearbyPixelClustersAnalyzer::findClosestCluster(), SiPixelClusterSource::getrococcupancye(), Vx3DHLTAnalyzer::HitCounter(), ShallowSimhitClustersProducer::match_cluster(), ShallowClustersProducer::produce(), JetCoreClusterSplitter::produce(), TPStubValueMapProducer::produce(), ClusterSummaryProducer::produce(), tadqm::TrackAnalyzer::setLumi(), MeasurementTrackerEventProducer::updatePhase2OT(), and MeasurementTrackerEventProducer::updatePixels().
|
inlinestatic |
Definition at line 589 of file DetSetVectorNew.h.
|
inline |
Definition at line 461 of file DetSetVectorNew.h.
References visualization-live-secondInstance_cfg::m, and edmNew::DetSetVector< T >::m_ids.
Referenced by edmNew::DetSetVector< T >::shrink_to_fit().
|
inline |
|
inline |
Definition at line 575 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::m_data, and edmNew::DetSetVector< T >::m_ids.
Referenced by SiStripMonitorCluster::analyze(), SiStripElectronAnalyzer::analyze(), PixelClusterShapeExtractor::analyzeSimHits(), HLTTrackClusterRemoverNew::cleanup(), HITrackClusterRemover::cleanup(), edm::ContainerMaskTraits< edmNew::DetSetVector< T > >::indexFor(), CalibrationTrackSelector::isIsolated(), PixelVertexProducerClusters::produce(), CosmicTrajectoryBuilder::SortHits(), and CRackTrajectoryBuilder::SortHits().
|
inline |
Definition at line 567 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::m_data, edmNew::dstvdetails::DetSetVectorTrans::m_dataSize, and edmNew::DetSetVector< T >::onDemand().
Referenced by HLTTrackClusterRemoverNew::cleanup(), HITrackClusterRemover::cleanup(), TrackingNtuple::fillStripRphiStereoHits(), edm::ContainerMaskTraits< edmNew::DetSetVector< T > >::size(), and MeasurementTrackerEventProducer::updatePixels().
|
inline |
|
inline |
Definition at line 565 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::m_ids.
Referenced by TTClusterBuilder< T >::produce(), PixelVertexProducerClusters::produce(), and MeasurementTrackerEventProducer::updatePixels().
|
inline |
Definition at line 550 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::m_ids, and edmNew::DetSetVector< T >::update().
Referenced by fireworks::addSiStripClusters(), SiPixelPhase1TrackClustersV::analyze(), SiPixelRecHitsValid::analyze(), SiPixelRecHitSource::analyze(), SiPixelTrackResidualSource::analyze(), OuterTrackerMonitorTTCluster::analyze(), OuterTrackerMonitorTTStub::analyze(), SiPixelHitEfficiencySource::analyze(), PixelLumiDQM::analyze(), SiPixelErrorEstimation::analyze(), SiPixelTrackingRecHitsValid::analyze(), FWPhase2TrackerCluster1DDetProxyBuilder::build(), FWSiPixelClusterDetProxyBuilder::build(), FWPhase2TrackerCluster1DProxyBuilder::build(), FWSiPixelClusterProxyBuilder::build(), HLTTrackClusterRemoverNew::cleanup(), HITrackClusterRemover::cleanup(), edmNew::copy(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), MultiplicityProducer< T >::detSetMultiplicity(), HITrackingRegionProducer::estimateMultiplicity(), SiPixelClusterModule::fill(), NearbyPixelClustersAnalyzer::fillClusterFrames(), TrackingNtuple::fillPhase2OTHits(), TrackingNtuple::fillStripMatchedHits(), GlobalRecHitsAnalyzer::fillTrk(), GlobalRecHitsProducer::fillTrk(), edmNew::DetSetVector< T >::find(), NearbyPixelClustersProducer::findAllNearbyClusters(), NearbyPixelClustersAnalyzer::findClosestCluster(), SiPixelClusterSource::getrococcupancye(), Vx3DHLTAnalyzer::HitCounter(), ShallowSimhitClustersProducer::match_cluster(), ShallowClustersProducer::produce(), JetCoreClusterSplitter::produce(), TPStubValueMapProducer::produce(), ClusterSummaryProducer::produce(), NearbyPixelClustersProducer::produce(), fireworks::pushNearbyPixelHits(), tadqm::TrackAnalyzer::setLumi(), MeasurementTrackerEventProducer::updatePhase2OT(), and MeasurementTrackerEventProducer::updatePixels().
|
inline |
Definition at line 557 of file DetSetVectorNew.h.
References fileCollector::cmp, mps_fire::i, edmNew::DetSetVector< T >::m_ids, AlCaHLTBitMon_ParallelJobs::p, and edmNew::DetSetVector< T >::update().
Referenced by ctfseeding::HitExtractorSTRP::hits().
|
inline |
Definition at line 509 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::findItem(), mps_fire::i, and edmNew::DetSetVector< T >::m_ids.
|
inline |
Definition at line 533 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::end(), edmNew::DetSetVector< T >::findItem(), mps_fire::i, edmNew::DetSetVector< T >::m_ids, AlCaHLTBitMon_ParallelJobs::p, and edmNew::DetSetVector< T >::update().
Referenced by BeautifulSoup.Tag::__getattr__(), fireworks::addSiStripClusters(), SiPixelRecHitsValid::analyze(), SiPixelRecHitSource::analyze(), SiPixelErrorEstimation::analyze(), SiPixelTrackingRecHitsValid::analyze(), GlobalRecHitsAnalyzer::fillTrk(), GlobalRecHitsProducer::fillTrk(), BeautifulSoup.Tag::firstText(), SiPixelClusterSource::getrococcupancye(), NearbyPixelClustersProducer::produce(), and fireworks::pushNearbyPixelHits().
|
inline |
Definition at line 539 of file DetSetVectorNew.h.
References mps_fire::i, edmNew::DetSetVector< T >::m_ids, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by edmNew::DetSetVector< T >::exists(), edmNew::DetSetVector< T >::find(), edmNew::DetSetVector< T >::isValid(), edmNew::DetSetVector< T >::operator[](), and edmNew::DetSetVector< T >::pop_back().
|
inline |
Definition at line 579 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::m_ids.
Referenced by SiPixelHitEfficiencySource::analyze(), ShallowClustersProducer::produce(), JetCoreClusterSplitter::produce(), TopBottomClusterInfoProducer::produce(), and ClusterSummaryProducer::produce().
|
inline |
|
inline |
Definition at line 466 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::addItem(), filterCSVwithJSON::copy, edmNew::DetSetVector< T >::item(), edmNew::DetSetVector< T >::m_data, edmNew::dstvdetails::DetSetVectorTrans::m_dataSize, and edmNew::dstvdetails::DetSetVectorTrans::Item::offset.
Referenced by BeautifulSoup.PageElement::append(), PixelFEDChannelCollectionProducer::produce(), and PixelDataFormatter::unpackFEDErrors().
|
inline |
Definition at line 474 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::addItem(), edmNew::DetSetVector< T >::item(), edmNew::DetSetVector< T >::m_data, and edmNew::dstvdetails::DetSetVectorTrans::m_dataSize.
Referenced by BeautifulSoup.PageElement::append().
|
inline |
Definition at line 511 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::findItem(), mps_fire::i, edmNew::DetSetVector< T >::m_ids, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by ntupleDataFormat._Object::_checkIsValid(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
inline |
Definition at line 581 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::m_ids.
Referenced by edmNew::DetSetVector< T >::insert(), edmNew::DetSetVector< T >::IterHelp::operator()(), and edmNew::DetSetVector< T >::FindForDetSetVector::operator()().
|
inline |
Definition at line 430 of file DetSetVectorNew.h.
References edmNew::dstvdetails::DetSetVectorTrans::m_getter.
Referenced by edmNew::DetSetVector< T >::dataSize().
|
inline |
Definition at line 573 of file DetSetVectorNew.h.
References amptDefault_cfi::frame, edmNew::DetSetVector< T >::m_data, and edmNew::DetSetVector< T >::m_ids.
|
delete |
|
default |
|
inline |
Definition at line 524 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::findItem(), mps_fire::i, edmNew::DetSetVector< T >::m_ids, AlCaHLTBitMon_ParallelJobs::p, and edmNew::dstvdetails::throw_range().
|
inline |
Definition at line 485 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::findItem(), edmNew::DetSetVector< T >::m_data, edmNew::dstvdetails::DetSetVectorTrans::m_dataSize, edmNew::DetSetVector< T >::m_ids, and AlCaHLTBitMon_ParallelJobs::p.
|
inline |
Definition at line 482 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::addItem().
Referenced by TTClusterBuilder< T >::produce(), and TTStubBuilder< T >::updateStubs().
|
inline |
Definition at line 444 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::m_data, and edmNew::DetSetVector< T >::m_ids.
|
inline |
Definition at line 455 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::m_data, edmNew::dstvdetails::DetSetVectorTrans::m_dataSize, and edmNew::DetSetVector< T >::m_ids.
|
inline |
Definition at line 449 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::clean(), edmNew::DetSetVector< T >::m_data, and edmNew::DetSetVector< T >::m_ids.
|
inline |
Definition at line 569 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::m_ids.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), HLTTrackClusterRemoverNew::cleanup(), HITrackClusterRemover::cleanup(), HLTPixelActivityFilter::hltFilter(), PixelVertexProducerClusters::produce(), TPStubValueMapProducer::produce(), and ClusterChecker::tooManyClusters().
|
inline |
|
inline |
Definition at line 432 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::m_data, edmNew::DetSetVector< T >::m_ids, edmNew::DetSetVector< T >::m_subdetId, edm::swap(), and std::swap().
|
inline |
Definition at line 439 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::m_data, edmNew::DetSetVector< T >::m_ids, and std::swap().
|
inlineprivate |
Definition at line 635 of file DetSetVectorNew.h.
References cms::cuda::assert(), alignCSCRings::ff, ntuplemaker::fill, and B2GTnPMonitor_cfi::item.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), edmNew::DetSetVector< T >::begin(), edmNew::DetSetVector< T >::end(), edmNew::DetSetVector< T >::equal_range(), edmNew::DetSetVector< T >::find(), dqm-mbProfile.Profile::finish(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
friend |
Definition at line 593 of file DetSetVectorNew.h.
|
friend |
Definition at line 390 of file DetSetVectorNew.h.
|
friend |
Definition at line 388 of file DetSetVectorNew.h.
|
friend |
Definition at line 410 of file DetSetVectorNew.h.
|
friend |
Definition at line 389 of file DetSetVectorNew.h.
|
mutableprivate |
Definition at line 604 of file DetSetVectorNew.h.
Referenced by edmNew::DetSetVector< T >::addItem(), edmNew::DetSetVector< T >::data(), edmNew::DetSetVector< T >::dataSize(), edmNew::DetSetVector< T >::insert(), edmNew::DetSetVector< T >::FindForDetSetVector::operator()(), edmNew::DetSetVector< T >::operator()(), edmNew::DetSetVector< T >::pop_back(), edmNew::DetSetVector< T >::reserve(), edmNew::DetSetVector< T >::resize(), edmNew::DetSetVector< T >::shrink_to_fit(), and edmNew::DetSetVector< T >::swap().
|
private |
Definition at line 603 of file DetSetVectorNew.h.
Referenced by edmNew::DetSetVector< T >::addItem(), edmNew::DetSetVector< T >::begin(), edmNew::DetSetVector< T >::clean(), edmNew::DetSetVector< T >::data(), edmNew::DetSetVector< T >::detsetSize(), edmNew::DetSetVector< T >::empty(), edmNew::DetSetVector< T >::end(), edmNew::DetSetVector< T >::equal_range(), edmNew::DetSetVector< T >::exists(), edmNew::DetSetVector< T >::find(), edmNew::DetSetVector< T >::findItem(), edmNew::DetSetVector< T >::id(), edmNew::DetSetVector< T >::ids(), edmNew::DetSetVector< T >::isValid(), edmNew::DetSetVector< T >::item(), edmNew::DetSetVector< T >::operator()(), edmNew::DetSetVector< T >::operator[](), edmNew::DetSetVector< T >::pop_back(), edmNew::DetSetVector< T >::reserve(), edmNew::DetSetVector< T >::resize(), edmNew::DetSetVector< T >::shrink_to_fit(), edmNew::DetSetVector< T >::size(), and edmNew::DetSetVector< T >::swap().
|
private |
Definition at line 598 of file DetSetVectorNew.h.
Referenced by edmNew::DetSetVector< T >::subdetId(), and edmNew::DetSetVector< T >::swap().