#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 () |
data_type const * | data (size_t cell) const |
DataContainer const & | data () const |
size_type | dataSize () const |
size_type | detsetSize (size_t cell) const |
DetSetVector (int isubdet=0) | |
DetSetVector (std::shared_ptr< dslv::LazyGetter< T >> iGetter, const std::vector< det_id_type > &iDets, int isubdet=0) | |
DetSetVector (const DetSetVector &)=default | |
DetSetVector (DetSetVector &&)=default | |
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 const > | 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 193 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 194 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 408 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 412 of file DetSetVectorNew.h.
|
default |
|
default |
|
inlineprivate |
Definition at line 494 of file DetSetVectorNew.h.
Referenced by edmNew::DetSetVector< SiStripCluster >::insert(), and edmNew::DetSetVector< SiStripCluster >::push_back().
|
inline |
Definition at line 541 of file DetSetVectorNew.h.
Referenced by Phase2OTValidateTTStub::analyze(), Phase2OTMonitorTTCluster::analyze(), SiPixelTrackResidualSource::analyze(), Phase2OTMonitorTTStub::analyze(), SiPixelHitEfficiencySource::analyze(), PixelLumiDQM::analyze(), HLTTrackClusterRemoverNew::cleanup(), HITrackClusterRemover::cleanup(), edmNew::copy(), MultiplicityProducer< T >::detSetMultiplicity(), HITrackingRegionProducer::estimateMultiplicity(), SiPixelClusterModule::fill(), TrackingNtuple::fillPhase2OTHits(), TrackingNtuple::fillStripMatchedHits(), SiPixelClusterSource::getrococcupancye(), Vx3DHLTAnalyzer::HitCounter(), ShallowSimhitClustersProducer::match_cluster(), ShallowClustersProducer::produce(), JetCoreClusterSplitter::produce(), tt::StubAssociator::produce(), TPStubValueMapProducer::produce(), reco::CentralityProducer::produce(), ClusterSummaryProducer::produce(), tadqm::TrackAnalyzer::setLumi(), MeasurementTrackerEventProducer::updatePhase2OT(), and MeasurementTrackerEventProducer::updatePixels().
|
inlinestatic |
Definition at line 585 of file DetSetVectorNew.h.
|
inline |
Definition at line 457 of file DetSetVectorNew.h.
Referenced by edmNew::DetSetVector< SiStripCluster >::shrink_to_fit().
|
inline |
Definition at line 571 of file DetSetVectorNew.h.
Referenced by SiStripMonitorCluster::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 582 of file DetSetVectorNew.h.
|
inline |
Definition at line 563 of file DetSetVectorNew.h.
Referenced by HLTTrackClusterRemoverNew::cleanup(), HITrackClusterRemover::cleanup(), TrackingNtuple::fillStripRphiStereoHits(), edm::ContainerMaskTraits< edmNew::DetSetVector< T > >::size(), and MeasurementTrackerEventProducer::updatePixels().
|
inline |
Definition at line 573 of file DetSetVectorNew.h.
|
inline |
Definition at line 561 of file DetSetVectorNew.h.
Referenced by SiStripMonitorApproximateCluster::analyze(), SiStripHitEfficiencyWorker::fillForTraj(), TTClusterBuilder< T >::produce(), PixelVertexProducerClusters::produce(), and MeasurementTrackerEventProducer::updatePixels().
|
inline |
Definition at line 546 of file DetSetVectorNew.h.
Referenced by fireworks::addSiStripClusters(), SiPixelRecHitsValid::analyze(), SiPixelRecHitSource::analyze(), Phase2OTValidateTTStub::analyze(), Phase2OTMonitorTTCluster::analyze(), SiPixelTrackResidualSource::analyze(), Phase2OTMonitorTTStub::analyze(), SiPixelHitEfficiencySource::analyze(), PixelLumiDQM::analyze(), SiPixelErrorEstimation::analyze(), SiPixelTrackingRecHitsValid::analyze(), SiStripMonitorApproximateCluster::analyze(), HLTTrackClusterRemoverNew::cleanup(), HITrackClusterRemover::cleanup(), edmNew::copy(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), MultiplicityProducer< T >::detSetMultiplicity(), HITrackingRegionProducer::estimateMultiplicity(), SiPixelClusterModule::fill(), SiStripHitEfficiencyWorker::fillForTraj(), TrackingNtuple::fillPhase2OTHits(), TrackingNtuple::fillStripMatchedHits(), GlobalRecHitsAnalyzer::fillTrk(), GlobalRecHitsProducer::fillTrk(), edmNew::DetSetVector< SiStripCluster >::find(), SiPixelClusterSource::getrococcupancye(), Vx3DHLTAnalyzer::HitCounter(), ShallowSimhitClustersProducer::match_cluster(), ShallowClustersProducer::produce(), JetCoreClusterSplitter::produce(), tt::StubAssociator::produce(), reco::CentralityProducer::produce(), TPStubValueMapProducer::produce(), ClusterSummaryProducer::produce(), fireworks::pushNearbyPixelHits(), tadqm::TrackAnalyzer::setLumi(), MeasurementTrackerEventProducer::updatePhase2OT(), and MeasurementTrackerEventProducer::updatePixels().
|
inline |
Definition at line 553 of file DetSetVectorNew.h.
Referenced by ctfseeding::HitExtractorSTRP::hits().
|
inline |
Definition at line 505 of file DetSetVectorNew.h.
|
inline |
Definition at line 529 of file DetSetVectorNew.h.
Referenced by fireworks::addSiStripClusters(), SiPixelRecHitsValid::analyze(), SiPixelRecHitSource::analyze(), SiPixelErrorEstimation::analyze(), SiPixelTrackingRecHitsValid::analyze(), SiStripMonitorApproximateCluster::analyze(), SiStripHitEfficiencyWorker::fillForTraj(), GlobalRecHitsAnalyzer::fillTrk(), GlobalRecHitsProducer::fillTrk(), SiPixelClusterSource::getrococcupancye(), reco::CentralityProducer::produce(), and fireworks::pushNearbyPixelHits().
|
inline |
Definition at line 535 of file DetSetVectorNew.h.
Referenced by edmNew::DetSetVector< SiStripCluster >::exists(), edmNew::DetSetVector< SiStripCluster >::find(), edmNew::DetSetVector< SiStripCluster >::isValid(), edmNew::DetSetVector< SiStripCluster >::operator[](), and edmNew::DetSetVector< SiStripCluster >::pop_back().
|
inline |
Definition at line 575 of file DetSetVectorNew.h.
Referenced by SiPixelHitEfficiencySource::analyze(), ShallowClustersProducer::produce(), JetCoreClusterSplitter::produce(), TopBottomClusterInfoProducer::produce(), and ClusterSummaryProducer::produce().
|
inline |
Definition at line 581 of file DetSetVectorNew.h.
|
inline |
Definition at line 462 of file DetSetVectorNew.h.
Referenced by SequenceTypes.Schedule::_replaceIfHeldDirectly(), PixelFEDChannelCollectionProducer::produce(), and PixelDataFormatter::unpackFEDErrors().
|
inline |
Definition at line 470 of file DetSetVectorNew.h.
Referenced by SequenceTypes.Schedule::_replaceIfHeldDirectly().
|
inline |
Definition at line 507 of file DetSetVectorNew.h.
Referenced by ntupleDataFormat._Object::_checkIsValid(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
inline |
Definition at line 577 of file DetSetVectorNew.h.
Referenced by StMeasurementDetSet::getDetSet(), edmNew::DetSetVector< SiStripCluster >::insert(), edmNew::DetSetVector< T >::IterHelp::operator()(), and edmNew::DetSetVector< T >::FindForDetSetVector::operator()().
|
inline |
Definition at line 426 of file DetSetVectorNew.h.
Referenced by edmNew::DetSetVector< SiStripCluster >::dataSize().
|
inline |
Definition at line 569 of file DetSetVectorNew.h.
|
delete |
|
default |
|
inline |
Definition at line 520 of file DetSetVectorNew.h.
|
inline |
Definition at line 481 of file DetSetVectorNew.h.
|
inline |
Definition at line 478 of file DetSetVectorNew.h.
Referenced by TTClusterBuilder< T >::produce(), and TTStubBuilder< T >::updateStubs().
|
inline |
Definition at line 440 of file DetSetVectorNew.h.
|
inline |
Definition at line 451 of file DetSetVectorNew.h.
|
inline |
Definition at line 445 of file DetSetVectorNew.h.
|
inline |
Definition at line 565 of file DetSetVectorNew.h.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), HLTTrackClusterRemoverNew::cleanup(), HITrackClusterRemover::cleanup(), SiStripHitEfficiencyWorker::fillForTraj(), HLTPixelActivityFilter::hltFilter(), PixelVertexProducerClusters::produce(), TPStubValueMapProducer::produce(), IsoTrig::studyTiming(), and ClusterChecker::tooManyClusters().
|
inline |
Definition at line 559 of file DetSetVectorNew.h.
|
inline |
Definition at line 428 of file DetSetVectorNew.h.
|
inline |
Definition at line 435 of file DetSetVectorNew.h.
|
inlineprivate |
Definition at line 631 of file DetSetVectorNew.h.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), edmNew::DetSetVector< SiStripCluster >::begin(), edmNew::DetSetVector< SiStripCluster >::end(), edmNew::DetSetVector< SiStripCluster >::equal_range(), edmNew::DetSetVector< SiStripCluster >::find(), dqm-mbProfile.Profile::finish(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
friend |
Definition at line 589 of file DetSetVectorNew.h.
|
friend |
Definition at line 386 of file DetSetVectorNew.h.
|
friend |
Definition at line 384 of file DetSetVectorNew.h.
Referenced by RawToDigiConverter::run().
|
friend |
Definition at line 406 of file DetSetVectorNew.h.
|
friend |
Definition at line 385 of file DetSetVectorNew.h.
|
mutableprivate |
Definition at line 600 of file DetSetVectorNew.h.
Referenced by edmNew::DetSetVector< SiStripCluster >::addItem(), edmNew::DetSetVector< SiStripCluster >::data(), edmNew::DetSetVector< SiStripCluster >::dataSize(), edmNew::DetSetVector< SiStripCluster >::insert(), edmNew::DetSetVector< T >::FindForDetSetVector::operator()(), edmNew::DetSetVector< SiStripCluster >::operator()(), edmNew::DetSetVector< SiStripCluster >::pop_back(), edmNew::DetSetVector< SiStripCluster >::reserve(), edmNew::DetSetVector< SiStripCluster >::resize(), edmNew::DetSetVector< SiStripCluster >::shrink_to_fit(), and edmNew::DetSetVector< SiStripCluster >::swap().
|
private |
Definition at line 599 of file DetSetVectorNew.h.
Referenced by edmNew::DetSetVector< SiStripCluster >::addItem(), edmNew::DetSetVector< SiStripCluster >::begin(), edmNew::DetSetVector< SiStripCluster >::clean(), edmNew::DetSetVector< SiStripCluster >::data(), edmNew::DetSetVector< SiStripCluster >::detsetSize(), edmNew::DetSetVector< SiStripCluster >::empty(), edmNew::DetSetVector< SiStripCluster >::end(), edmNew::DetSetVector< SiStripCluster >::equal_range(), edmNew::DetSetVector< SiStripCluster >::exists(), edmNew::DetSetVector< SiStripCluster >::find(), edmNew::DetSetVector< SiStripCluster >::findItem(), edmNew::DetSetVector< SiStripCluster >::id(), edmNew::DetSetVector< SiStripCluster >::ids(), edmNew::DetSetVector< SiStripCluster >::isValid(), edmNew::DetSetVector< SiStripCluster >::item(), edmNew::DetSetVector< SiStripCluster >::operator()(), edmNew::DetSetVector< SiStripCluster >::operator[](), edmNew::DetSetVector< SiStripCluster >::pop_back(), edmNew::DetSetVector< SiStripCluster >::reserve(), edmNew::DetSetVector< SiStripCluster >::resize(), edmNew::DetSetVector< SiStripCluster >::shrink_to_fit(), edmNew::DetSetVector< SiStripCluster >::size(), and edmNew::DetSetVector< SiStripCluster >::swap().
|
private |
Definition at line 594 of file DetSetVectorNew.h.
Referenced by edmNew::DetSetVector< SiStripCluster >::subdetId(), and edmNew::DetSetVector< SiStripCluster >::swap().