#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 12 of file DetSetNew.h.
typedef std::vector<data_type>::const_iterator edmNew::DetSetVector< T >::const_DataIter |
Definition at line 199 of file DetSetVectorNew.h.
typedef IdContainer::const_iterator edmNew::DetSetVector< T >::const_IdIter |
Definition at line 198 of file DetSetVectorNew.h.
typedef boost::transform_iterator<IterHelp,const_IdIter> edmNew::DetSetVector< T >::const_iterator |
Definition at line 220 of file DetSetVectorNew.h.
typedef std::pair<const_IdIter,const_DataIter> edmNew::DetSetVector< T >::const_IterPair |
Definition at line 200 of file DetSetVectorNew.h.
typedef T edmNew::DetSetVector< T >::data_type |
Definition at line 184 of file DetSetVectorNew.h.
typedef std::vector<data_type> edmNew::DetSetVector< T >::DataContainer |
Definition at line 194 of file DetSetVectorNew.h.
typedef std::vector<data_type>::iterator edmNew::DetSetVector< T >::DataIter |
Definition at line 196 of file DetSetVectorNew.h.
typedef edmNew::DetSet<T> edmNew::DetSetVector< T >::DetSet |
Definition at line 186 of file DetSetVectorNew.h.
typedef dslv::LazyGetter<T> edmNew::DetSetVector< T >::Getter |
Definition at line 187 of file DetSetVectorNew.h.
typedef unsigned int edmNew::DetSetVector< T >::id_type |
Definition at line 183 of file DetSetVectorNew.h.
typedef std::vector<Item> edmNew::DetSetVector< T >::IdContainer |
Definition at line 193 of file DetSetVectorNew.h.
typedef IdContainer::iterator edmNew::DetSetVector< T >::IdIter |
Definition at line 195 of file DetSetVectorNew.h.
typedef Trans::Item edmNew::DetSetVector< T >::Item |
Definition at line 181 of file DetSetVectorNew.h.
typedef std::pair<IdIter,DataIter> edmNew::DetSetVector< T >::IterPair |
Definition at line 197 of file DetSetVectorNew.h.
typedef id_type edmNew::DetSetVector< T >::key_type |
Definition at line 190 of file DetSetVectorNew.h.
typedef std::pair<const_iterator,const_iterator> edmNew::DetSetVector< T >::Range |
Definition at line 221 of file DetSetVectorNew.h.
typedef edm::refhelper::FindForNewDetSetVector<data_type> edmNew::DetSetVector< T >::RefFinder |
Definition at line 202 of file DetSetVectorNew.h.
typedef edmNew::DetSetVector<T> edmNew::DetSetVector< T >::self |
Definition at line 185 of file DetSetVectorNew.h.
typedef unsigned int edmNew::DetSetVector< T >::size_type |
Definition at line 182 of file DetSetVectorNew.h.
typedef dstvdetails::DetSetVectorTrans edmNew::DetSetVector< T >::Trans |
Definition at line 180 of file DetSetVectorNew.h.
typedef DetSet edmNew::DetSetVector< T >::value_type |
Definition at line 189 of file DetSetVectorNew.h.
|
inlineexplicit |
Definition at line 435 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 442 of file DetSetVectorNew.h.
|
default |
|
default |
|
inlineprivate |
Definition at line 529 of file DetSetVectorNew.h.
References edmNew::dstvdetails::errorIdExists(), eostools::move(), and AlCaHLTBitMon_ParallelJobs::p.
|
inline |
Definition at line 586 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(), SiStripElectronAlgo::coarseHitSelection(), SiStripElectronAlgo::coarseMatchedHitSelection(), 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(), FastPrimaryVertexProducer::produce(), MTDTrackingRecHitProducer::run(), cms::SiPixelRecHitConverter::run(), dqm::TrackAnalyzer::setLumi(), ClusterChecker::tooManyClusters(), MeasurementTrackerEventProducer::updatePhase2OT(), and MeasurementTrackerEventProducer::updatePixels().
|
inlinestatic |
Definition at line 645 of file DetSetVectorNew.h.
|
inline |
|
inline |
Definition at line 624 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(), SiStripElectronAlgo::prepareEvent(), PixelVertexProducerClusters::produce(), HIPixelClusterVtxProducer::produce(), SiPixelClusterShapeCacheProducer::produce(), ClusterCompatibilityProducer::produce(), edmNew::DetSet< T >::set(), CosmicTrajectoryBuilder::SortHits(), and CRackTrajectoryBuilder::SortHits().
|
inline |
Definition at line 641 of file DetSetVectorNew.h.
|
inline |
Definition at line 614 of file DetSetVectorNew.h.
References hltSiStripClustersFromRaw_cfi::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 628 of file DetSetVectorNew.h.
|
inline |
Definition at line 611 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 592 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(), SiStripElectronAlgo::coarseHitSelection(), SiStripElectronAlgo::coarseMatchedHitSelection(), 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(), PixelClusterSelectorTopBottom::produce(), TopBottomClusterInfoProducer::produce(), ConvBremSeedProducer::produce(), reco::CentralityProducer::produce(), FastPrimaryVertexWithWeightsProducer::produce(), ClusterSummaryProducer::produce(), FastPrimaryVertexProducer::produce(), fireworks::pushNearbyPixelHits(), MTDTrackingRecHitProducer::run(), cms::SiPixelRecHitConverter::run(), dqm::TrackAnalyzer::setLumi(), ClusterChecker::tooManyClusters(), MeasurementTrackerEventProducer::updatePhase2OT(), and MeasurementTrackerEventProducer::updatePixels().
|
inline |
Definition at line 601 of file DetSetVectorNew.h.
References mps_fire::i, AlCaHLTBitMon_ParallelJobs::p, and update.
Referenced by ctfseeding::HitExtractorSTRP::hits(), and TrackExtenderWithMTDT< TrackCollection >::produce().
|
inline |
Definition at line 545 of file DetSetVectorNew.h.
|
inline |
Definition at line 571 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 |
|
inline |
Definition at line 630 of file DetSetVectorNew.h.
Referenced by SiPixelHitEfficiencySource::analyze(), TTStubBuilder< T >::produce(), ShallowClustersProducer::produce(), JetCoreClusterSplitter::produce(), TopBottomClusterInfoProducer::produce(), and ClusterSummaryProducer::produce().
|
inline |
Definition at line 640 of file DetSetVectorNew.h.
|
inline |
Definition at line 494 of file DetSetVectorNew.h.
References popcon2dropbox::copy(), and edmNew::dstvdetails::DetSetVectorTrans::Item::offset.
Referenced by BeautifulSoup.PageElement::append(), and PixelFEDChannelCollectionProducer::produce().
|
inline |
Definition at line 502 of file DetSetVectorNew.h.
Referenced by BeautifulSoup.PageElement::append().
|
inline |
Definition at line 549 of file DetSetVectorNew.h.
References AlCaHLTBitMon_ParallelJobs::p.
Referenced by ntupleDataFormat._Object::_checkIsValid(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
inline |
Definition at line 634 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 456 of file DetSetVectorNew.h.
|
inline |
Definition at line 620 of file DetSetVectorNew.h.
|
delete |
|
default |
|
inline |
Definition at line 563 of file DetSetVectorNew.h.
References AlCaHLTBitMon_ParallelJobs::p, and edmNew::dstvdetails::throw_range().
|
inline |
Definition at line 515 of file DetSetVectorNew.h.
References AlCaHLTBitMon_ParallelJobs::p.
|
inline |
Definition at line 510 of file DetSetVectorNew.h.
Referenced by TTClusterBuilder< T >::produce(), and TTStubBuilder< T >::produce().
|
inline |
Definition at line 472 of file DetSetVectorNew.h.
|
inline |
Definition at line 483 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 616 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 609 of file DetSetVectorNew.h.
|
inline |
Definition at line 460 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 467 of file DetSetVectorNew.h.
References std::swap().
|
inlineprivate |
Definition at line 694 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 649 of file DetSetVectorNew.h.
|
friend |
Definition at line 411 of file DetSetVectorNew.h.
|
friend |
Definition at line 409 of file DetSetVectorNew.h.
|
friend |
Definition at line 433 of file DetSetVectorNew.h.
|
friend |
Definition at line 410 of file DetSetVectorNew.h.
|
mutableprivate |
Definition at line 660 of file DetSetVectorNew.h.
Referenced by edmNew::DetSetVector< T >::FindForDetSetVector::operator()(), and edmNew::DetSetVector< T >::swap().
|
private |
Definition at line 659 of file DetSetVectorNew.h.
Referenced by edmNew::DetSetVector< T >::swap().
|
private |
Definition at line 654 of file DetSetVectorNew.h.
Referenced by edmNew::DetSetVector< T >::swap().