#include <DetSetNew.h>
Classes | |
class | FastFiller |
class | FindForDetSetVector |
struct | IterHelp |
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 () const |
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 (boost::shared_ptr< dslv::LazyGetter< T > > iGetter, const std::vector< det_id_type > &iDets, int isubdet=0) | |
bool | empty () const |
const_iterator | end () const |
template<typename CMP > | |
Range | equal_range (id_type i, CMP cmp) const |
bool | exists (id_type i) const |
const_iterator | find (id_type i) const |
const_IdIter | findItem (id_type i) const |
id_type | id (size_t cell) 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 |
data_type | operator() (size_t cell, size_t frame) const |
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) |
size_type | size () const |
int | subdetId () const |
void | swap (DetSetVector &rh) |
void | swap (IdContainer &iic, DataContainer &idc) |
void | update (Item const &item) const |
~DetSetVector () | |
Private Member Functions | |
Item & | addItem (id_type iid, size_type isize) |
void | updateImpl (Item &item) |
Private Member Functions inherited from edmNew::dstvdetails::DetSetVectorTrans | |
DetSetVectorTrans () | |
Private Attributes | |
DataContainer | m_data |
IdContainer | m_ids |
int | m_subdetId |
Private Attributes inherited from edmNew::dstvdetails::DetSetVectorTrans | |
bool | filling |
boost::any | getter |
Friends | |
class | FastFiller |
class | FindForDetSetVector |
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 8 of file DetSetNew.h.
typedef std::vector<data_type>::const_iterator edmNew::DetSetVector< T >::const_DataIter |
Definition at line 87 of file DetSetVectorNew.h.
typedef IdContainer::const_iterator edmNew::DetSetVector< T >::const_IdIter |
Definition at line 86 of file DetSetVectorNew.h.
typedef boost::transform_iterator<IterHelp,const_IdIter> edmNew::DetSetVector< T >::const_iterator |
Definition at line 106 of file DetSetVectorNew.h.
typedef std::pair<const_IdIter,const_DataIter> edmNew::DetSetVector< T >::const_IterPair |
Definition at line 88 of file DetSetVectorNew.h.
typedef T edmNew::DetSetVector< T >::data_type |
Definition at line 72 of file DetSetVectorNew.h.
typedef std::vector<data_type> edmNew::DetSetVector< T >::DataContainer |
Definition at line 82 of file DetSetVectorNew.h.
typedef std::vector<data_type>::iterator edmNew::DetSetVector< T >::DataIter |
Definition at line 84 of file DetSetVectorNew.h.
typedef edmNew::DetSet<T> edmNew::DetSetVector< T >::DetSet |
Definition at line 74 of file DetSetVectorNew.h.
typedef dslv::LazyGetter<T> edmNew::DetSetVector< T >::Getter |
Definition at line 75 of file DetSetVectorNew.h.
typedef unsigned int edmNew::DetSetVector< T >::id_type |
Definition at line 71 of file DetSetVectorNew.h.
typedef std::vector<Item> edmNew::DetSetVector< T >::IdContainer |
Definition at line 81 of file DetSetVectorNew.h.
typedef IdContainer::iterator edmNew::DetSetVector< T >::IdIter |
Definition at line 83 of file DetSetVectorNew.h.
typedef Trans::Item edmNew::DetSetVector< T >::Item |
Definition at line 69 of file DetSetVectorNew.h.
typedef std::pair<IdIter,DataIter> edmNew::DetSetVector< T >::IterPair |
Definition at line 85 of file DetSetVectorNew.h.
typedef id_type edmNew::DetSetVector< T >::key_type |
Definition at line 78 of file DetSetVectorNew.h.
typedef std::pair<const_iterator,const_iterator> edmNew::DetSetVector< T >::Range |
Definition at line 107 of file DetSetVectorNew.h.
typedef edm::refhelper::FindForNewDetSetVector<data_type> edmNew::DetSetVector< T >::RefFinder |
Definition at line 90 of file DetSetVectorNew.h.
typedef edmNew::DetSetVector<T> edmNew::DetSetVector< T >::self |
Definition at line 73 of file DetSetVectorNew.h.
typedef unsigned int edmNew::DetSetVector< T >::size_type |
Definition at line 70 of file DetSetVectorNew.h.
typedef dstvdetails::DetSetVectorTrans edmNew::DetSetVector< T >::Trans |
Definition at line 68 of file DetSetVectorNew.h.
typedef DetSet edmNew::DetSetVector< T >::value_type |
Definition at line 77 of file DetSetVectorNew.h.
|
inlineexplicit |
Definition at line 181 of file DetSetVectorNew.h.
|
inline |
Definition at line 389 of file DetSetVectorNew.h.
References edmNew::dstvdetails::DetSetVectorTrans::getter, and edmNew::DetSetVector< T >::m_ids.
|
inline |
Definition at line 188 of file DetSetVectorNew.h.
|
inlineprivate |
Definition at line 245 of file DetSetVectorNew.h.
References edmNew::dstvdetails::errorIdExists(), edmNew::DetSetVector< T >::m_data, edmNew::DetSetVector< T >::m_ids, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by edmNew::DetSetVector< T >::insert(), and edmNew::DetSetVector< T >::push_back().
|
inline |
Definition at line 300 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::m_ids.
Referenced by SiPixelHitEfficiencySource::analyze(), SiPixelTrackResidualSource::analyze(), SiStripBaselineAnalyzer::analyze(), FWSiStripClusterProxyBuilder::build(), FWSiPixelClusterDetProxyBuilder::build(), FWSiPixelClusterProxyBuilder::build(), HLTTrackClusterRemover::cleanup(), SeedClusterRemover::cleanup(), TrackClusterRemover::cleanup(), SiStripFineDelayHit::closestCluster(), RoadSearchSeedFinderAlgorithm::ClusterCounter(), SiStripElectronAlgo::coarseHitSelection(), SiStripElectronAlgo::coarseMatchedHitSelection(), edmNew::copy(), MultiplicityProducer< T >::detSetMultiplicity(), SiPixelClusterModule::fill(), reco::CentralityProducer::filter(), ShallowSimhitClustersProducer::match_cluster(), SiStripClusterToDigiProducer::process(), ShallowClustersProducer::produce(), ClusterSummaryProducer::produce(), cms::SiPixelRecHitConverter::run(), and ClusterChecker::tooManyClusters().
|
inline |
Definition at line 336 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::m_data, and edmNew::DetSetVector< T >::m_ids.
Referenced by SiStripMonitorCluster::analyze(), HLTTrackClusterRemover::cleanup(), SeedClusterRemover::cleanup(), TrackClusterRemover::cleanup(), QcdLowPtDQM::fillPixels(), HLTPixelClusterShapeFilter::hltFilter(), edm::ContainerMaskTraits< edmNew::DetSetVector< T > >::indexFor(), CalibrationTrackSelector::isIsolated(), SiStripElectronAlgo::prepareEvent(), PlotRecHits::printPixelRecHits(), PlotRecHits::printStripRecHits(), PixelVertexProducerClusters::produce(), HIPixelClusterVtxProducer::produce(), CosmicTrajectoryBuilder::SortHits(), and CRackTrajectoryBuilder::SortHits().
|
inline |
|
inline |
Definition at line 326 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::m_data.
Referenced by HLTTrackClusterRemover::cleanup(), TrackClusterRemover::cleanup(), SeedClusterRemover::cleanup(), edm::ContainerMaskTraits< edmNew::DetSetVector< T > >::size(), ClusterChecker::tooManyClusters(), and MeasurementTrackerImpl::updatePixels().
|
inline |
|
inline |
Definition at line 323 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::m_ids.
Referenced by Vispa.Gui.VispaWidget.TextField::setAutosizeFont(), Vispa.Gui.VispaWidget.TextField::setAutotruncate(), and MeasurementTrackerImpl::updatePixels().
|
inline |
Definition at line 305 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::m_ids.
Referenced by fireworks::addSiStripClusters(), SiPixelHitEfficiencySource::analyze(), SiPixelTrackResidualSource::analyze(), SiStripBaselineAnalyzer::analyze(), FWSiStripClusterProxyBuilder::build(), FWSiPixelClusterDetProxyBuilder::build(), FWSiPixelClusterProxyBuilder::build(), HLTTrackClusterRemover::cleanup(), SeedClusterRemover::cleanup(), TrackClusterRemover::cleanup(), SiStripFineDelayHit::closestCluster(), RoadSearchSeedFinderAlgorithm::ClusterCounter(), SiStripElectronAlgo::coarseHitSelection(), SiStripElectronAlgo::coarseMatchedHitSelection(), edmNew::copy(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), MultiplicityProducer< T >::detSetMultiplicity(), detSetOrEmpty(), SiPixelClusterModule::fill(), RoadSearchCloudMakerAlgorithm::FillPixRecHitsIntoCloud(), reco::CentralityProducer::filter(), edmNew::DetSetVector< T >::find(), ShallowSimhitClustersProducer::match_cluster(), SiStripClusterToDigiProducer::process(), ShallowClustersProducer::produce(), ClusterSummaryProducer::produce(), fireworks::pushNearbyPixelHits(), cms::SiPixelRecHitConverter::run(), ClusterChecker::tooManyClusters(), and MeasurementTrackerImpl::updatePixels().
|
inline |
Definition at line 313 of file DetSetVectorNew.h.
References i, edmNew::DetSetVector< T >::m_ids, and AlCaHLTBitMon_ParallelJobs::p.
|
inline |
Definition at line 261 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::findItem(), and edmNew::DetSetVector< T >::m_ids.
|
inline |
Definition at line 286 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::end(), edmNew::DetSetVector< T >::findItem(), edmNew::DetSetVector< T >::m_ids, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by BeautifulSoup.Tag::_invert(), fireworks::addSiStripClusters(), SiPixelTrackResidualSource::analyze(), detSetOrEmpty(), SiPixelClusterModule::fill(), RoadSearchCloudMakerAlgorithm::FillPixRecHitsIntoCloud(), reco::CentralityProducer::filter(), BeautifulSoup.PageElement::insert(), ShallowSimhitClustersProducer::match_cluster(), fireworks::pushNearbyPixelHits(), and MeasurementTrackerImpl::updatePixels().
|
inline |
Definition at line 294 of file DetSetVectorNew.h.
References 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 342 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::m_ids.
Referenced by SiPixelHitEfficiencySource::analyze(), SiStripBaselineAnalyzer::analyze(), ShallowClustersProducer::produce(), TopBottomClusterInfoProducer::produce(), ClusterSummaryProducer::produce(), and MeasurementTrackerImpl::updateStrips().
|
inline |
Definition at line 214 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::addItem(), filterCSVwithJSON::copy, edmNew::DetSetVector< T >::item(), edmNew::DetSetVector< T >::m_data, and edmNew::dstvdetails::DetSetVectorTrans::Item::offset.
Referenced by BeautifulSoup.PageElement::append().
|
inline |
Definition at line 221 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::addItem(), edmNew::DetSetVector< T >::item(), and edmNew::DetSetVector< T >::m_data.
Referenced by BeautifulSoup.PageElement::append().
|
inline |
Definition at line 265 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::findItem(), edmNew::DetSetVector< T >::m_ids, and AlCaHLTBitMon_ParallelJobs::p.
|
inline |
Definition at line 346 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::m_ids.
Referenced by Vispa.Views.TableView.TableView::_selectedRow(), edmNew::DetSetVector< T >::insert(), Vispa.Views.TableView.TableView::itemSelectionChanged(), Vispa.Views.TableView.TableView::select(), and Vispa.Views.TableView.TableView::selection().
|
inline |
Definition at line 332 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::m_data, and edmNew::DetSetVector< T >::m_ids.
|
inline |
Definition at line 279 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::findItem(), edmNew::DetSetVector< T >::m_ids, AlCaHLTBitMon_ParallelJobs::p, and edmNew::dstvdetails::throw_range().
|
inline |
Definition at line 233 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::findItem(), edmNew::DetSetVector< T >::m_data, edmNew::DetSetVector< T >::m_ids, and AlCaHLTBitMon_ParallelJobs::p.
|
inline |
Definition at line 228 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::addItem().
|
inline |
Definition at line 203 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::m_data, and edmNew::DetSetVector< T >::m_ids.
|
inline |
Definition at line 208 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::m_data, and edmNew::DetSetVector< T >::m_ids.
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 328 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::m_ids.
Referenced by SiPixelTrackResidualSource::analyze(), HLTTrackClusterRemover::cleanup(), SeedClusterRemover::cleanup(), TrackClusterRemover::cleanup(), RoadSearchSeedFinderAlgorithm::ClusterCounter(), myFilter::filter(), PixelVertexProducerClusters::produce(), and ClusterChecker::tooManyClusters().
|
inline |
|
inline |
Definition at line 192 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::m_data, edmNew::DetSetVector< T >::m_ids, edmNew::DetSetVector< T >::m_subdetId, and std::swap().
Referenced by cms::SiPixelClusterProducer::run().
|
inline |
Definition at line 198 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::m_data, edmNew::DetSetVector< T >::m_ids, and std::swap().
|
inline |
Definition at line 356 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::updateImpl().
Referenced by progressbar.ProgressBar::__next__(), relval_steps.Matrix::__setitem__(), relval_steps.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(), 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(), relval_steps.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(), 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().
|
inlineprivate |
Definition at line 407 of file DetSetVectorNew.h.
References alignCSCRings::ff, and edmNew::dstvdetails::DetSetVectorTrans::Item::offset.
Referenced by edmNew::DetSetVector< T >::update().
|
friend |
Definition at line 170 of file DetSetVectorNew.h.
|
friend |
Definition at line 179 of file DetSetVectorNew.h.
|
private |
Definition at line 373 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 >::operator()(), edmNew::DetSetVector< T >::pop_back(), edmNew::DetSetVector< T >::reserve(), edmNew::DetSetVector< T >::resize(), and edmNew::DetSetVector< T >::swap().
|
private |
Definition at line 372 of file DetSetVectorNew.h.
Referenced by edmNew::DetSetVector< T >::addItem(), edmNew::DetSetVector< T >::begin(), edmNew::DetSetVector< T >::data(), edmNew::DetSetVector< T >::detsetSize(), edmNew::DetSetVector< T >::DetSetVector(), 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 >::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 >::size(), and edmNew::DetSetVector< T >::swap().
|
private |
Definition at line 369 of file DetSetVectorNew.h.
Referenced by edmNew::DetSetVector< T >::subdetId(), and edmNew::DetSetVector< T >::swap().