#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 &)=delete | |
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 &)=delete | |
DetSetVectorTrans (DetSetVectorTrans &&)=default | |
DetSetVectorTrans & | operator= (const DetSetVectorTrans &)=delete |
DetSetVectorTrans & | operator= (DetSetVectorTrans &&)=default |
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 167 of file DetSetVectorNew.h.
typedef IdContainer::const_iterator edmNew::DetSetVector< T >::const_IdIter |
Definition at line 166 of file DetSetVectorNew.h.
typedef boost::transform_iterator<IterHelp,const_IdIter> edmNew::DetSetVector< T >::const_iterator |
Definition at line 188 of file DetSetVectorNew.h.
typedef std::pair<const_IdIter,const_DataIter> edmNew::DetSetVector< T >::const_IterPair |
Definition at line 168 of file DetSetVectorNew.h.
typedef T edmNew::DetSetVector< T >::data_type |
Definition at line 152 of file DetSetVectorNew.h.
typedef std::vector<data_type> edmNew::DetSetVector< T >::DataContainer |
Definition at line 162 of file DetSetVectorNew.h.
typedef std::vector<data_type>::iterator edmNew::DetSetVector< T >::DataIter |
Definition at line 164 of file DetSetVectorNew.h.
typedef edmNew::DetSet<T> edmNew::DetSetVector< T >::DetSet |
Definition at line 154 of file DetSetVectorNew.h.
typedef dslv::LazyGetter<T> edmNew::DetSetVector< T >::Getter |
Definition at line 155 of file DetSetVectorNew.h.
typedef unsigned int edmNew::DetSetVector< T >::id_type |
Definition at line 151 of file DetSetVectorNew.h.
typedef std::vector<Item> edmNew::DetSetVector< T >::IdContainer |
Definition at line 161 of file DetSetVectorNew.h.
typedef IdContainer::iterator edmNew::DetSetVector< T >::IdIter |
Definition at line 163 of file DetSetVectorNew.h.
typedef Trans::Item edmNew::DetSetVector< T >::Item |
Definition at line 149 of file DetSetVectorNew.h.
typedef std::pair<IdIter,DataIter> edmNew::DetSetVector< T >::IterPair |
Definition at line 165 of file DetSetVectorNew.h.
typedef id_type edmNew::DetSetVector< T >::key_type |
Definition at line 158 of file DetSetVectorNew.h.
typedef std::pair<const_iterator,const_iterator> edmNew::DetSetVector< T >::Range |
Definition at line 189 of file DetSetVectorNew.h.
typedef edm::refhelper::FindForNewDetSetVector<data_type> edmNew::DetSetVector< T >::RefFinder |
Definition at line 170 of file DetSetVectorNew.h.
typedef edmNew::DetSetVector<T> edmNew::DetSetVector< T >::self |
Definition at line 153 of file DetSetVectorNew.h.
typedef unsigned int edmNew::DetSetVector< T >::size_type |
Definition at line 150 of file DetSetVectorNew.h.
typedef dstvdetails::DetSetVectorTrans edmNew::DetSetVector< T >::Trans |
Definition at line 148 of file DetSetVectorNew.h.
typedef DetSet edmNew::DetSetVector< T >::value_type |
Definition at line 157 of file DetSetVectorNew.h.
|
inlineexplicit |
Definition at line 400 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 407 of file DetSetVectorNew.h.
|
delete |
|
default |
|
inlineprivate |
Definition at line 490 of file DetSetVectorNew.h.
|
inline |
Definition at line 547 of file DetSetVectorNew.h.
Referenced by SiPixelPhase1TrackClustersV::analyze(), OuterTrackerMonitorTTCluster::analyze(), OuterTrackerMonitorTTStub::analyze(), SiPixelPhase1RecHitsV::analyze(), LumiMonitor::analyze(), SiPixelHitEfficiencySource::analyze(), SiPixelTrackResidualSource::analyze(), PixelLumiDQM::analyze(), HitEff::analyze(), SiStripBaselineAnalyzer::analyze(), FWSiPixelClusterDetProxyBuilder::build(), FWSiStripClusterProxyBuilder::build(), FWSiPixelClusterProxyBuilder::build(), SeedClusterRemoverPhase2::cleanup(), SeedClusterRemover::cleanup(), HLTTrackClusterRemoverNew::cleanup(), HITrackClusterRemover::cleanup(), SiStripFineDelayHit::closestCluster(), SiStripElectronAlgo::coarseHitSelection(), SiStripElectronAlgo::coarseMatchedHitSelection(), edmNew::copy(), MultiplicityProducer< T >::detSetMultiplicity(), HITrackingRegionProducer::estimateMultiplicity(), SiPixelClusterModule::fill(), TrackingNtuple::fillPhase2OTHits(), TrackingNtuple::fillPixelHits(), TrackingNtuple::fillStripMatchedHits(), ClusterMultiplicityFilter::filter(), SiPixelClusterSource::getrococcupancye(), Vx3DHLTAnalyzer::HitCounter(), ShallowSimhitClustersProducer::match_cluster(), SiStripClusterToDigiProducer::process(), TTStubBuilder< T >::produce(), ShallowClustersProducer::produce(), JetCoreClusterSplitter::produce(), PixelClusterSelectorTopBottom::produce(), reco::CentralityProducer::produce(), FastPrimaryVertexWithWeightsProducer::produce(), ClusterSummaryProducer::produce(), FastPrimaryVertexProducer::produce(), cms::SiPixelRecHitConverter::run(), dqm::TrackAnalyzer::setLumi(), ClusterChecker::tooManyClusters(), MeasurementTrackerEventProducer::updatePhase2OT(), and MeasurementTrackerEventProducer::updatePixels().
|
inlinestatic |
Definition at line 606 of file DetSetVectorNew.h.
|
inline |
|
inline |
Definition at line 585 of file DetSetVectorNew.h.
Referenced by SiStripMonitorCluster::analyze(), SiStripElectronAnalyzer::analyze(), PixelClusterShapeExtractor::analyzeSimHits(), SeedClusterRemoverPhase2::cleanup(), SeedClusterRemover::cleanup(), HLTTrackClusterRemoverNew::cleanup(), HITrackClusterRemover::cleanup(), TkPixelMeasurementDet::compHits(), 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 602 of file DetSetVectorNew.h.
|
inline |
Definition at line 575 of file DetSetVectorNew.h.
Referenced by SeedClusterRemoverPhase2::cleanup(), SeedClusterRemover::cleanup(), HLTTrackClusterRemoverNew::cleanup(), HITrackClusterRemover::cleanup(), TrackingNtuple::fillStripRphiStereoHits(), edm::ContainerMaskTraits< edmNew::DetSetVector< T > >::size(), ClusterChecker::tooManyClusters(), and MeasurementTrackerEventProducer::updatePixels().
|
inline |
Definition at line 589 of file DetSetVectorNew.h.
|
inline |
Definition at line 572 of file DetSetVectorNew.h.
Referenced by HitEff::analyze(), 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 553 of file DetSetVectorNew.h.
Referenced by fireworks::addSiStripClusters(), SiPixelPhase1TrackClustersV::analyze(), OuterTrackerMonitorTTCluster::analyze(), OuterTrackerMonitorTTStub::analyze(), SiPixelPhase1RecHitsV::analyze(), SiPixelRecHitsValid::analyze(), LumiMonitor::analyze(), SiPixelHitEfficiencySource::analyze(), SiPixelTrackResidualSource::analyze(), PixelLumiDQM::analyze(), HitEff::analyze(), SiPixelRecHitSource::analyze(), SiPixelErrorEstimation::analyze(), SiPixelTrackingRecHitsValid::analyze(), SiStripBaselineAnalyzer::analyze(), FWSiPixelClusterDetProxyBuilder::build(), FWSiStripClusterProxyBuilder::build(), FWSiPixelClusterProxyBuilder::build(), SeedClusterRemoverPhase2::cleanup(), SeedClusterRemover::cleanup(), 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(), TrackingNtuple::fillPhase2OTHits(), TrackingNtuple::fillPixelHits(), TrackingNtuple::fillStripMatchedHits(), GlobalRecHitsAnalyzer::fillTrk(), GlobalRecHitsProducer::fillTrk(), ClusterMultiplicityFilter::filter(), SiPixelClusterSource::getrococcupancye(), Vx3DHLTAnalyzer::HitCounter(), 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(), cms::SiPixelRecHitConverter::run(), dqm::TrackAnalyzer::setLumi(), ClusterChecker::tooManyClusters(), MeasurementTrackerEventProducer::updatePhase2OT(), and MeasurementTrackerEventProducer::updatePixels().
|
inline |
Definition at line 562 of file DetSetVectorNew.h.
Referenced by ctfseeding::HitExtractorSTRP::hits().
|
inline |
Definition at line 506 of file DetSetVectorNew.h.
|
inline |
Definition at line 532 of file DetSetVectorNew.h.
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 540 of file DetSetVectorNew.h.
|
inline |
Definition at line 591 of file DetSetVectorNew.h.
Referenced by SiPixelHitEfficiencySource::analyze(), SiStripBaselineAnalyzer::analyze(), TTStubBuilder< T >::produce(), ShallowClustersProducer::produce(), JetCoreClusterSplitter::produce(), TopBottomClusterInfoProducer::produce(), and ClusterSummaryProducer::produce().
|
inline |
Definition at line 601 of file DetSetVectorNew.h.
|
inline |
Definition at line 455 of file DetSetVectorNew.h.
Referenced by BeautifulSoup.PageElement::append().
|
inline |
Definition at line 463 of file DetSetVectorNew.h.
Referenced by BeautifulSoup.PageElement::append().
|
inline |
Definition at line 510 of file DetSetVectorNew.h.
Referenced by ntupleDataFormat._Object::_checkIsValid(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
inline |
Definition at line 595 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 417 of file DetSetVectorNew.h.
|
inline |
Definition at line 581 of file DetSetVectorNew.h.
|
delete |
|
default |
|
inline |
Definition at line 524 of file DetSetVectorNew.h.
|
inline |
Definition at line 476 of file DetSetVectorNew.h.
|
inline |
Definition at line 471 of file DetSetVectorNew.h.
Referenced by TTClusterBuilder< T >::produce(), and TTStubBuilder< T >::produce().
|
inline |
Definition at line 433 of file DetSetVectorNew.h.
|
inline |
Definition at line 444 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 |
Definition at line 438 of file DetSetVectorNew.h.
|
inline |
Definition at line 577 of file DetSetVectorNew.h.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), PixelVTXMonitor::analyze(), HitEff::analyze(), FWSiStripClusterProxyBuilder::build(), SeedClusterRemoverPhase2::cleanup(), SeedClusterRemover::cleanup(), HLTTrackClusterRemoverNew::cleanup(), HITrackClusterRemover::cleanup(), PixelVertexProducerClusters::produce(), IsoTrig::studyTiming(), and ClusterChecker::tooManyClusters().
|
inline |
Definition at line 570 of file DetSetVectorNew.h.
|
inline |
Definition at line 421 of file DetSetVectorNew.h.
Referenced by SiPixelClusterProducer::run().
|
inline |
Definition at line 428 of file DetSetVectorNew.h.
|
inlineprivate |
Definition at line 655 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 610 of file DetSetVectorNew.h.
|
friend |
Definition at line 379 of file DetSetVectorNew.h.
|
friend |
Definition at line 377 of file DetSetVectorNew.h.
|
friend |
Definition at line 398 of file DetSetVectorNew.h.
|
friend |
Definition at line 378 of file DetSetVectorNew.h.
|
mutableprivate |
Definition at line 621 of file DetSetVectorNew.h.
|
private |
Definition at line 620 of file DetSetVectorNew.h.
|
private |
Definition at line 615 of file DetSetVectorNew.h.