#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 86 of file DetSetVectorNew.h.
typedef IdContainer::const_iterator edmNew::DetSetVector< T >::const_IdIter |
Definition at line 85 of file DetSetVectorNew.h.
typedef boost::transform_iterator<IterHelp,const_IdIter> edmNew::DetSetVector< T >::const_iterator |
Definition at line 104 of file DetSetVectorNew.h.
typedef std::pair<const_IdIter,const_DataIter> edmNew::DetSetVector< T >::const_IterPair |
Definition at line 87 of file DetSetVectorNew.h.
typedef T edmNew::DetSetVector< T >::data_type |
Definition at line 71 of file DetSetVectorNew.h.
typedef std::vector<data_type> edmNew::DetSetVector< T >::DataContainer |
Definition at line 81 of file DetSetVectorNew.h.
typedef std::vector<data_type>::iterator edmNew::DetSetVector< T >::DataIter |
Definition at line 83 of file DetSetVectorNew.h.
typedef edmNew::DetSet<T> edmNew::DetSetVector< T >::DetSet |
Definition at line 73 of file DetSetVectorNew.h.
typedef dslv::LazyGetter<T> edmNew::DetSetVector< T >::Getter |
Definition at line 74 of file DetSetVectorNew.h.
typedef unsigned int edmNew::DetSetVector< T >::id_type |
Definition at line 70 of file DetSetVectorNew.h.
typedef std::vector<Item> edmNew::DetSetVector< T >::IdContainer |
Definition at line 80 of file DetSetVectorNew.h.
typedef IdContainer::iterator edmNew::DetSetVector< T >::IdIter |
Definition at line 82 of file DetSetVectorNew.h.
typedef Trans::Item edmNew::DetSetVector< T >::Item |
Definition at line 68 of file DetSetVectorNew.h.
typedef std::pair<IdIter,DataIter> edmNew::DetSetVector< T >::IterPair |
Definition at line 84 of file DetSetVectorNew.h.
typedef id_type edmNew::DetSetVector< T >::key_type |
Definition at line 77 of file DetSetVectorNew.h.
typedef std::pair<const_iterator,const_iterator> edmNew::DetSetVector< T >::Range |
Definition at line 105 of file DetSetVectorNew.h.
typedef edm::refhelper::FindForNewDetSetVector<data_type> edmNew::DetSetVector< T >::RefFinder |
Definition at line 89 of file DetSetVectorNew.h.
typedef edmNew::DetSetVector<T> edmNew::DetSetVector< T >::self |
Definition at line 72 of file DetSetVectorNew.h.
typedef unsigned int edmNew::DetSetVector< T >::size_type |
Definition at line 69 of file DetSetVectorNew.h.
typedef dstvdetails::DetSetVectorTrans edmNew::DetSetVector< T >::Trans |
Definition at line 67 of file DetSetVectorNew.h.
typedef DetSet edmNew::DetSetVector< T >::value_type |
Definition at line 76 of file DetSetVectorNew.h.
|
inlineexplicit |
Definition at line 178 of file DetSetVectorNew.h.
|
inline |
Definition at line 383 of file DetSetVectorNew.h.
References edmNew::dstvdetails::DetSetVectorTrans::getter, and edmNew::DetSetVector< T >::m_ids.
|
inline |
Definition at line 185 of file DetSetVectorNew.h.
|
inlineprivate |
Definition at line 242 of file DetSetVectorNew.h.
References edmNew::dstvdetails::errorIdExists(), edmNew::DetSetVector< T >::m_data, edmNew::DetSetVector< T >::m_ids, and L1TEmulatorMonitor_cff::p.
Referenced by edmNew::DetSetVector< T >::insert(), and edmNew::DetSetVector< T >::push_back().
|
inline |
Definition at line 297 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::m_ids.
Referenced by SiPixelTrackResidualSource::analyze(), SiStripBaselineAnalyzer::analyze(), FWSiPixelClusterDetProxyBuilder::build(), FWSiPixelClusterProxyBuilder::build(), TrackClusterRemover::cleanup(), SiStripFineDelayHit::closestCluster(), RoadSearchSeedFinderAlgorithm::ClusterCounter(), SiStripElectronAlgo::coarseHitSelection(), SiStripElectronAlgo::coarseMatchedHitSelection(), edmNew::copy(), SiPixelClusterModule::fill(), reco::CentralityProducer::filter(), ShallowSimhitClustersProducer::match_cluster(), cms::SiPixelRecHitConverter::run(), and ClusterChecker::tooManyClusters().
|
inline |
Definition at line 333 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::m_data, and edmNew::DetSetVector< T >::m_ids.
Referenced by TrackClusterRemover::cleanup(), QcdLowPtDQM::fillPixels(), HLTPixelClusterShapeFilter::filter(), CalibrationTrackSelector::isIsolated(), SiStripElectronAlgo::prepareEvent(), PlotRecHits::printPixelRecHits(), PlotRecHits::printStripRecHits(), PixelVertexProducerClusters::produce(), HIPixelClusterVtxProducer::produce(), CosmicTrajectoryBuilder::SortHits(), and CRackTrajectoryBuilder::SortHits().
|
inline |
|
inline |
Definition at line 323 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::m_data.
Referenced by TrackClusterRemover::cleanup(), and ClusterChecker::tooManyClusters().
|
inline |
|
inline |
Definition at line 320 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::m_ids.
Referenced by python.Vispa.Gui.VispaWidget.TextField::setAutosizeFont(), python.Vispa.Gui.VispaWidget.TextField::setAutotruncate(), and MeasurementTracker::updatePixels().
|
inline |
Definition at line 302 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::m_ids.
Referenced by fireworks::addSiStripClusters(), SiPixelTrackResidualSource::analyze(), SiStripBaselineAnalyzer::analyze(), FWSiPixelClusterDetProxyBuilder::build(), FWSiPixelClusterProxyBuilder::build(), TrackClusterRemover::cleanup(), SiStripFineDelayHit::closestCluster(), RoadSearchSeedFinderAlgorithm::ClusterCounter(), SiStripElectronAlgo::coarseHitSelection(), SiStripElectronAlgo::coarseMatchedHitSelection(), edmNew::copy(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), detSetOrEmpty(), SiPixelClusterModule::fill(), RoadSearchCloudMakerAlgorithm::FillPixRecHitsIntoCloud(), reco::CentralityProducer::filter(), edmNew::DetSetVector< T >::find(), ShallowSimhitClustersProducer::match_cluster(), fireworks::pushNearbyPixelHits(), cms::SiPixelRecHitConverter::run(), ClusterChecker::tooManyClusters(), and MeasurementTracker::updatePixels().
|
inline |
Definition at line 310 of file DetSetVectorNew.h.
References i, edmNew::DetSetVector< T >::m_ids, and L1TEmulatorMonitor_cff::p.
|
inline |
Definition at line 258 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::findItem(), and edmNew::DetSetVector< T >::m_ids.
|
inline |
Definition at line 283 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::end(), edmNew::DetSetVector< T >::findItem(), edmNew::DetSetVector< T >::m_ids, and L1TEmulatorMonitor_cff::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 MeasurementTracker::updatePixels().
|
inline |
Definition at line 291 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::m_ids, and L1TEmulatorMonitor_cff::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 339 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::m_ids.
Referenced by MeasurementTracker::updateStrips().
|
inline |
Definition at line 211 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 218 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 262 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::findItem(), edmNew::DetSetVector< T >::m_ids, and L1TEmulatorMonitor_cff::p.
|
inline |
Definition at line 343 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::m_ids.
Referenced by python.Vispa.Views.TableView.TableView::_selectedRow(), edmNew::DetSetVector< T >::insert(), python.Vispa.Views.TableView.TableView::itemSelectionChanged(), python.Vispa.Views.TableView.TableView::select(), and python.Vispa.Views.TableView.TableView::selection().
|
inline |
Definition at line 329 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::m_data, and edmNew::DetSetVector< T >::m_ids.
|
inline |
Definition at line 276 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::findItem(), edmNew::DetSetVector< T >::m_ids, L1TEmulatorMonitor_cff::p, and edmNew::dstvdetails::throw_range().
|
inline |
Definition at line 230 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::findItem(), edmNew::DetSetVector< T >::m_data, edmNew::DetSetVector< T >::m_ids, and L1TEmulatorMonitor_cff::p.
|
inline |
Definition at line 225 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::addItem().
Referenced by TopBottomClusterInfoProducer::produce().
|
inline |
Definition at line 200 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::m_data, and edmNew::DetSetVector< T >::m_ids.
|
inline |
Definition at line 205 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::m_data, and edmNew::DetSetVector< T >::m_ids.
Referenced by python.Vispa.Gui.TextDialog.TextDialog::__init__(), python.Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::__init__(), python.Vispa.Main.MainWindow.MainWindow::_loadIni(), and python.Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
inline |
Definition at line 325 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::m_ids.
Referenced by SiPixelTrackResidualSource::analyze(), TrackClusterRemover::cleanup(), RoadSearchSeedFinderAlgorithm::ClusterCounter(), PixelVertexProducerClusters::produce(), and ClusterChecker::tooManyClusters().
|
inline |
|
inline |
Definition at line 189 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 195 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::m_data, edmNew::DetSetVector< T >::m_ids, and std::swap().
|
inline |
Definition at line 353 of file DetSetVectorNew.h.
References edmNew::DetSetVector< T >::updateImpl().
Referenced by python.Vispa.Gui.VispaWidget.VispaWidget::autosize(), python.Vispa.Views.LineDecayView.LineDecayContainer::createObject(), python.Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), python.Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), python.Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), python.Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), python.Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), python.Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), python.Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), python.Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), python.Vispa.Gui.FindDialog.FindDialog::reset(), python.Vispa.Gui.PortConnection.PointToPointConnection::select(), python.Vispa.Gui.VispaWidget.VispaWidget::select(), python.Vispa.Views.LineDecayView.LineDecayContainer::select(), python.Vispa.Gui.VispaWidget.VispaWidget::setText(), python.Vispa.Gui.VispaWidget.VispaWidget::setTitle(), python.Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), python.Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and python.Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
inlineprivate |
Definition at line 401 of file DetSetVectorNew.h.
References createTree::ff, and edmNew::dstvdetails::DetSetVectorTrans::Item::offset.
Referenced by edmNew::DetSetVector< T >::update().
|
friend |
Definition at line 167 of file DetSetVectorNew.h.
|
friend |
Definition at line 176 of file DetSetVectorNew.h.
|
private |
Definition at line 367 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 366 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 363 of file DetSetVectorNew.h.
Referenced by edmNew::DetSetVector< T >::subdetId(), and edmNew::DetSetVector< T >::swap().