#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 |
boost::any | 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 209 of file DetSetVectorNew.h.
typedef IdContainer::const_iterator edmNew::DetSetVector< T >::const_IdIter |
Definition at line 208 of file DetSetVectorNew.h.
typedef boost::transform_iterator<IterHelp, const_IdIter> edmNew::DetSetVector< T >::const_iterator |
Definition at line 231 of file DetSetVectorNew.h.
typedef std::pair<const_IdIter, const_DataIter> edmNew::DetSetVector< T >::const_IterPair |
Definition at line 210 of file DetSetVectorNew.h.
typedef T edmNew::DetSetVector< T >::data_type |
Definition at line 195 of file DetSetVectorNew.h.
typedef std::vector<data_type> edmNew::DetSetVector< T >::DataContainer |
Definition at line 204 of file DetSetVectorNew.h.
typedef std::vector<data_type>::iterator edmNew::DetSetVector< T >::DataIter |
Definition at line 206 of file DetSetVectorNew.h.
typedef edmNew::DetSet<T> edmNew::DetSetVector< T >::DetSet |
Definition at line 197 of file DetSetVectorNew.h.
typedef dslv::LazyGetter<T> edmNew::DetSetVector< T >::Getter |
Definition at line 198 of file DetSetVectorNew.h.
typedef unsigned int edmNew::DetSetVector< T >::id_type |
Definition at line 194 of file DetSetVectorNew.h.
typedef std::vector<Item> edmNew::DetSetVector< T >::IdContainer |
Definition at line 203 of file DetSetVectorNew.h.
typedef IdContainer::iterator edmNew::DetSetVector< T >::IdIter |
Definition at line 205 of file DetSetVectorNew.h.
typedef Trans::Item edmNew::DetSetVector< T >::Item |
Definition at line 192 of file DetSetVectorNew.h.
typedef std::pair<IdIter, DataIter> edmNew::DetSetVector< T >::IterPair |
Definition at line 207 of file DetSetVectorNew.h.
typedef id_type edmNew::DetSetVector< T >::key_type |
Definition at line 201 of file DetSetVectorNew.h.
typedef std::pair<const_iterator, const_iterator> edmNew::DetSetVector< T >::Range |
Definition at line 232 of file DetSetVectorNew.h.
typedef edm::refhelper::FindForNewDetSetVector<data_type> edmNew::DetSetVector< T >::RefFinder |
Definition at line 212 of file DetSetVectorNew.h.
typedef edmNew::DetSetVector<T> edmNew::DetSetVector< T >::self |
Definition at line 196 of file DetSetVectorNew.h.
typedef unsigned int edmNew::DetSetVector< T >::size_type |
Definition at line 193 of file DetSetVectorNew.h.
typedef dstvdetails::DetSetVectorTrans edmNew::DetSetVector< T >::Trans |
Definition at line 191 of file DetSetVectorNew.h.
typedef DetSet edmNew::DetSetVector< T >::value_type |
Definition at line 200 of file DetSetVectorNew.h.
|
inlineexplicit |
Definition at line 439 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 443 of file DetSetVectorNew.h.
|
default |
|
default |
|
inlineprivate |
Definition at line 525 of file DetSetVectorNew.h.
References edmNew::dstvdetails::errorIdExists(), eostools::move(), and AlCaHLTBitMon_ParallelJobs::p.
|
inline |
Definition at line 572 of file DetSetVectorNew.h.
References update.
Referenced by OuterTrackerMonitorTTCluster::analyze(), OuterTrackerMonitorTTStub::analyze(), SiPixelPhase1TrackClustersV::analyze(), SiPixelPhase1RecHitsV::analyze(), SiPixelHitEfficiencySource::analyze(), SiPixelTrackResidualSource::analyze(), HitEff::analyze(), PixelLumiDQM::analyze(), FWPhase2TrackerCluster1DDetProxyBuilder::build(), FWSiPixelClusterDetProxyBuilder::build(), FWSiStripClusterProxyBuilder::build(), FWPhase2TrackerCluster1DProxyBuilder::build(), FWSiPixelClusterProxyBuilder::build(), HLTTrackClusterRemoverNew::cleanup(), HITrackClusterRemover::cleanup(), SiStripFineDelayHit::closestCluster(), edmNew::copy(), MultiplicityProducer< T >::detSetMultiplicity(), HITrackingRegionProducer::estimateMultiplicity(), SiPixelClusterModule::fill(), SiStripCommissioningSource::fillHistos(), TrackingNtuple::fillPhase2OTHits(), TrackingNtuple::fillPixelHits(), TrackingNtuple::fillStripMatchedHits(), ClusterMultiplicityFilter::filter(), SiPixelClusterSource::getrococcupancye(), Vx3DHLTAnalyzer::HitCounter(), HLTPixelActivityFilter::hltFilter(), ShallowSimhitClustersProducer::match_cluster(), SiStripClusterToDigiProducer::process(), TTStubBuilder< T >::produce(), ShallowClustersProducer::produce(), JetCoreClusterSplitter::produce(), PixelClusterSelectorTopBottom::produce(), reco::CentralityProducer::produce(), FastPrimaryVertexWithWeightsProducer::produce(), ClusterSummaryProducer::produce(), cms::SiPixelRecHitConverter::produce(), FastPrimaryVertexProducer::produce(), MTDTrackingRecHitProducer::run(), TrackAnalyzer::setLumi(), ClusterChecker::tooManyClusters(), MeasurementTrackerEventProducer::updatePhase2OT(), and MeasurementTrackerEventProducer::updatePixels().
|
inlinestatic |
Definition at line 616 of file DetSetVectorNew.h.
|
inline |
Definition at line 488 of file DetSetVectorNew.h.
References visualization-live-secondInstance_cfg::m.
|
inline |
Definition at line 602 of file DetSetVectorNew.h.
Referenced by SiStripMonitorCluster::analyze(), SiStripElectronAnalyzer::analyze(), PixelClusterShapeExtractor::analyzeSimHits(), HLTTrackClusterRemoverNew::cleanup(), HITrackClusterRemover::cleanup(), QcdLowPtDQM::fillPixels(), HLTPixelClusterShapeFilter::hltFilter(), edm::ContainerMaskTraits< edmNew::DetSetVector< T > >::indexFor(), CalibrationTrackSelector::isIsolated(), AlignmentTrackSelector::isIsolated(), PixelVertexProducerClusters::produce(), HIPixelClusterVtxProducer::produce(), SiPixelClusterShapeCacheProducer::produce(), ClusterCompatibilityProducer::produce(), edmNew::DetSet< T >::set(), CosmicTrajectoryBuilder::SortHits(), and CRackTrajectoryBuilder::SortHits().
|
inline |
Definition at line 613 of file DetSetVectorNew.h.
|
inline |
Definition at line 594 of file DetSetVectorNew.h.
References HLT_2018_cff::onDemand.
Referenced by HLTTrackClusterRemoverNew::cleanup(), HITrackClusterRemover::cleanup(), TrackingNtuple::fillStripRphiStereoHits(), GlobalTrackingRegionWithVerticesProducer::regions(), edm::ContainerMaskTraits< edmNew::DetSetVector< T > >::size(), ClusterChecker::tooManyClusters(), and MeasurementTrackerEventProducer::updatePixels().
|
inline |
Definition at line 604 of file DetSetVectorNew.h.
|
inline |
Definition at line 592 of file DetSetVectorNew.h.
Referenced by HitEff::analyze(), MTDThresholdClusterizer::clusterize(), SiStripCommissioningSource::fillHistos(), TTClusterBuilder< T >::produce(), TTStubBuilder< T >::produce(), PixelVertexProducerClusters::produce(), Vispa.Gui.VispaWidget.TextField::setAutosizeFont(), Vispa.Gui.VispaWidget.TextField::setAutotruncate(), and MeasurementTrackerEventProducer::updatePixels().
|
inline |
Definition at line 577 of file DetSetVectorNew.h.
References update.
Referenced by fireworks::addSiStripClusters(), OuterTrackerMonitorTTStub::analyze(), OuterTrackerMonitorTTCluster::analyze(), SiPixelPhase1TrackClustersV::analyze(), SiPixelPhase1RecHitsV::analyze(), SiPixelRecHitsValid::analyze(), SiPixelHitEfficiencySource::analyze(), SiPixelTrackResidualSource::analyze(), SiPixelRecHitSource::analyze(), PixelLumiDQM::analyze(), HitEff::analyze(), SiPixelErrorEstimation::analyze(), SiPixelTrackingRecHitsValid::analyze(), FWPhase2TrackerCluster1DDetProxyBuilder::build(), FWSiPixelClusterDetProxyBuilder::build(), FWSiStripClusterProxyBuilder::build(), FWPhase2TrackerCluster1DProxyBuilder::build(), FWSiPixelClusterProxyBuilder::build(), HLTTrackClusterRemoverNew::cleanup(), HITrackClusterRemover::cleanup(), SiStripFineDelayHit::closestCluster(), edmNew::copy(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), MultiplicityProducer< T >::detSetMultiplicity(), HITrackingRegionProducer::estimateMultiplicity(), SiPixelClusterModule::fill(), SiStripCommissioningSource::fillHistos(), TrackingNtuple::fillPhase2OTHits(), TrackingNtuple::fillPixelHits(), TrackingNtuple::fillStripMatchedHits(), GlobalRecHitsAnalyzer::fillTrk(), GlobalRecHitsProducer::fillTrk(), ClusterMultiplicityFilter::filter(), SiPixelClusterSource::getrococcupancye(), Vx3DHLTAnalyzer::HitCounter(), HLTPixelActivityFilter::hltFilter(), ShallowSimhitClustersProducer::match_cluster(), SiStripClusterToDigiProducer::process(), TTStubBuilder< T >::produce(), ShallowClustersProducer::produce(), JetCoreClusterSplitter::produce(), TopBottomClusterInfoProducer::produce(), PixelClusterSelectorTopBottom::produce(), ConvBremSeedProducer::produce(), reco::CentralityProducer::produce(), FastPrimaryVertexWithWeightsProducer::produce(), ClusterSummaryProducer::produce(), cms::SiPixelRecHitConverter::produce(), FastPrimaryVertexProducer::produce(), fireworks::pushNearbyPixelHits(), MTDTrackingRecHitProducer::run(), TrackAnalyzer::setLumi(), ClusterChecker::tooManyClusters(), MeasurementTrackerEventProducer::updatePhase2OT(), and MeasurementTrackerEventProducer::updatePixels().
|
inline |
Definition at line 584 of file DetSetVectorNew.h.
References fileCollector::cmp, mps_fire::i, AlCaHLTBitMon_ParallelJobs::p, and update.
Referenced by ctfseeding::HitExtractorSTRP::hits(), and TrackExtenderWithMTDT< TrackCollection >::produce().
|
inline |
Definition at line 536 of file DetSetVectorNew.h.
|
inline |
Definition at line 560 of file DetSetVectorNew.h.
References end, AlCaHLTBitMon_ParallelJobs::p, and update.
Referenced by BeautifulSoup.Tag::__getattr__(), fireworks::addSiStripClusters(), SiPixelRecHitsValid::analyze(), SiPixelRecHitSource::analyze(), SiPixelErrorEstimation::analyze(), SiPixelTrackingRecHitsValid::analyze(), SiPixelClusterModule::fill(), GlobalRecHitsAnalyzer::fillTrk(), GlobalRecHitsProducer::fillTrk(), BeautifulSoup.Tag::firstText(), SiPixelClusterSource::getrococcupancye(), ShallowSimhitClustersProducer::match_cluster(), reco::CentralityProducer::produce(), and fireworks::pushNearbyPixelHits().
|
inline |
Definition at line 566 of file DetSetVectorNew.h.
References AlCaHLTBitMon_ParallelJobs::p.
|
inline |
Definition at line 606 of file DetSetVectorNew.h.
Referenced by SiPixelHitEfficiencySource::analyze(), TTStubBuilder< T >::produce(), ShallowClustersProducer::produce(), JetCoreClusterSplitter::produce(), TopBottomClusterInfoProducer::produce(), and ClusterSummaryProducer::produce().
|
inline |
Definition at line 612 of file DetSetVectorNew.h.
|
inline |
Definition at line 493 of file DetSetVectorNew.h.
References filterCSVwithJSON::copy, B2GTnPMonitor_cfi::item, and edmNew::dstvdetails::DetSetVectorTrans::Item::offset.
Referenced by BeautifulSoup.PageElement::append(), and PixelFEDChannelCollectionProducer::produce().
|
inline |
Definition at line 501 of file DetSetVectorNew.h.
References B2GTnPMonitor_cfi::item.
Referenced by BeautifulSoup.PageElement::append().
|
inline |
Definition at line 538 of file DetSetVectorNew.h.
References AlCaHLTBitMon_ParallelJobs::p.
Referenced by ntupleDataFormat._Object::_checkIsValid(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
inline |
Definition at line 608 of file DetSetVectorNew.h.
Referenced by Vispa.Views.TableView.TableView::_selectedRow(), Vispa.Views.TableView.TableView::itemSelectionChanged(), Vispa.Views.TableView.TableView::select(), and Vispa.Views.TableView.TableView::selection().
|
inline |
Definition at line 457 of file DetSetVectorNew.h.
|
inline |
|
delete |
|
default |
|
inline |
Definition at line 551 of file DetSetVectorNew.h.
References AlCaHLTBitMon_ParallelJobs::p, and edmNew::dstvdetails::throw_range().
|
inline |
Definition at line 512 of file DetSetVectorNew.h.
References AlCaHLTBitMon_ParallelJobs::p.
|
inline |
Definition at line 509 of file DetSetVectorNew.h.
Referenced by TTClusterBuilder< T >::produce(), and TTStubBuilder< T >::produce().
|
inline |
Definition at line 471 of file DetSetVectorNew.h.
|
inline |
Definition at line 482 of file DetSetVectorNew.h.
Referenced by Vispa.Gui.TextDialog.TextDialog::__init__(), Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::__init__(), Vispa.Main.MainWindow.MainWindow::_loadIni(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
inline |
|
inline |
Definition at line 596 of file DetSetVectorNew.h.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), PixelVTXMonitor::analyze(), HitEff::analyze(), FWSiStripClusterProxyBuilder::build(), HLTTrackClusterRemoverNew::cleanup(), HITrackClusterRemover::cleanup(), HLTPixelActivityFilter::hltFilter(), PixelVertexProducerClusters::produce(), MTDTrackingRecHitProducer::run(), MTDClusterProducer::run(), IsoTrig::studyTiming(), and ClusterChecker::tooManyClusters().
|
inline |
Definition at line 590 of file DetSetVectorNew.h.
|
inline |
Definition at line 459 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().
Referenced by SiPixelClusterProducer::run().
|
inline |
Definition at line 466 of file DetSetVectorNew.h.
References std::swap().
|
inlineprivate |
Definition at line 663 of file DetSetVectorNew.h.
References alignCSCRings::ff, edmNew::dstvdetails::DetSetVectorTrans::Item::initialize(), edmNew::dstvdetails::DetSetVectorTrans::Item::initializing(), and edmNew::dstvdetails::DetSetVectorTrans::Item::isValid().
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), dqm-mbProfile.Profile::finish(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), edmNew::DetSet< T >::set(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
friend |
Definition at line 620 of file DetSetVectorNew.h.
|
friend |
Definition at line 412 of file DetSetVectorNew.h.
|
friend |
Definition at line 410 of file DetSetVectorNew.h.
|
friend |
Definition at line 437 of file DetSetVectorNew.h.
|
friend |
Definition at line 411 of file DetSetVectorNew.h.
|
mutableprivate |
Definition at line 631 of file DetSetVectorNew.h.
Referenced by edmNew::DetSetVector< T >::FindForDetSetVector::operator()(), and edmNew::DetSetVector< T >::swap().
|
private |
Definition at line 630 of file DetSetVectorNew.h.
Referenced by edmNew::DetSetVector< T >::swap().
|
private |
Definition at line 625 of file DetSetVectorNew.h.
Referenced by edmNew::DetSetVector< T >::swap().