CMS 3D CMS Logo

List of all members | Classes | Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends
edmNew::DetSetVector< T > Class Template Reference

#include <DetSetNew.h>

Inheritance diagram for edmNew::DetSetVector< T >:
edmNew::dstvdetails::DetSetVectorTrans

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_IdIterconst_iterator
 
typedef std::pair< const_IdIter, const_DataIterconst_IterPair
 
typedef T data_type
 
typedef std::vector< data_typeDataContainer
 
typedef std::vector< data_type >::iterator DataIter
 
typedef edmNew::DetSet< TDetSet
 
typedef dslv::LazyGetter< TGetter
 
typedef unsigned int id_type
 
typedef std::vector< ItemIdContainer
 
typedef IdContainer::iterator IdIter
 
typedef Trans::Item Item
 
typedef std::pair< IdIter, DataIterIterPair
 
typedef id_type key_type
 
typedef std::pair< const_iterator, const_iteratorRange
 
typedef edm::refhelper::FindForNewDetSetVector< data_typeRefFinder
 
typedef edmNew::DetSetVector< Tself
 
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
 
DetSetVectoroperator= (const DetSetVector &)=delete
 
DetSetVectoroperator= (DetSetVector &&)=default
 
DetSet operator[] (id_type i) const
 
void pop_back (id_type iid)
 
Itempush_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

ItemaddItem (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)
 
DetSetVectorTransoperator= (const DetSetVectorTrans &)=delete
 
DetSetVectorTransoperator= (DetSetVectorTrans &&rh)
 
bool ready () const
 
void swap (DetSetVectorTrans &rh)
 

Private Attributes

DataContainer m_data
 
std::vector< Trans::Itemm_ids
 
int m_subdetId
 
- Private Attributes inherited from edmNew::dstvdetails::DetSetVectorTrans
std::atomic< size_typem_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
 

Detailed Description

template<typename T>
class edmNew::DetSetVector< T >

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.

Member Typedef Documentation

template<typename T>
typedef std::vector<data_type>::const_iterator edmNew::DetSetVector< T >::const_DataIter

Definition at line 199 of file DetSetVectorNew.h.

template<typename T>
typedef IdContainer::const_iterator edmNew::DetSetVector< T >::const_IdIter

Definition at line 198 of file DetSetVectorNew.h.

template<typename T>
typedef boost::transform_iterator<IterHelp,const_IdIter> edmNew::DetSetVector< T >::const_iterator

Definition at line 220 of file DetSetVectorNew.h.

template<typename T>
typedef std::pair<const_IdIter,const_DataIter> edmNew::DetSetVector< T >::const_IterPair

Definition at line 200 of file DetSetVectorNew.h.

template<typename T>
typedef T edmNew::DetSetVector< T >::data_type

Definition at line 184 of file DetSetVectorNew.h.

template<typename T>
typedef std::vector<data_type> edmNew::DetSetVector< T >::DataContainer

Definition at line 194 of file DetSetVectorNew.h.

template<typename T>
typedef std::vector<data_type>::iterator edmNew::DetSetVector< T >::DataIter

Definition at line 196 of file DetSetVectorNew.h.

template<typename T>
typedef edmNew::DetSet<T> edmNew::DetSetVector< T >::DetSet

Definition at line 186 of file DetSetVectorNew.h.

template<typename T>
typedef dslv::LazyGetter<T> edmNew::DetSetVector< T >::Getter

Definition at line 187 of file DetSetVectorNew.h.

template<typename T>
typedef unsigned int edmNew::DetSetVector< T >::id_type

Definition at line 183 of file DetSetVectorNew.h.

template<typename T>
typedef std::vector<Item> edmNew::DetSetVector< T >::IdContainer

Definition at line 193 of file DetSetVectorNew.h.

template<typename T>
typedef IdContainer::iterator edmNew::DetSetVector< T >::IdIter

Definition at line 195 of file DetSetVectorNew.h.

template<typename T>
typedef Trans::Item edmNew::DetSetVector< T >::Item

Definition at line 181 of file DetSetVectorNew.h.

template<typename T>
typedef std::pair<IdIter,DataIter> edmNew::DetSetVector< T >::IterPair

Definition at line 197 of file DetSetVectorNew.h.

template<typename T>
typedef id_type edmNew::DetSetVector< T >::key_type

Definition at line 190 of file DetSetVectorNew.h.

template<typename T>
typedef std::pair<const_iterator,const_iterator> edmNew::DetSetVector< T >::Range

Definition at line 221 of file DetSetVectorNew.h.

Definition at line 202 of file DetSetVectorNew.h.

template<typename T>
typedef edmNew::DetSetVector<T> edmNew::DetSetVector< T >::self

Definition at line 185 of file DetSetVectorNew.h.

template<typename T>
typedef unsigned int edmNew::DetSetVector< T >::size_type

Definition at line 182 of file DetSetVectorNew.h.

template<typename T>
typedef dstvdetails::DetSetVectorTrans edmNew::DetSetVector< T >::Trans

Definition at line 180 of file DetSetVectorNew.h.

template<typename T>
typedef DetSet edmNew::DetSetVector< T >::value_type

Definition at line 189 of file DetSetVectorNew.h.

Constructor & Destructor Documentation

template<typename T>
edmNew::DetSetVector< T >::DetSetVector ( int  isubdet = 0)
inlineexplicit

Definition at line 432 of file DetSetVectorNew.h.

432  :
433  m_subdetId(isubdet) {}
template<typename T>
edmNew::DetSetVector< T >::DetSetVector ( std::shared_ptr< dslv::LazyGetter< T > >  iGetter,
const std::vector< det_id_type > &  iDets,
int  isubdet = 0 
)
template<typename T>
edmNew::DetSetVector< T >::~DetSetVector ( )
inline

Definition at line 439 of file DetSetVectorNew.h.

439  {
440  // delete content if T is pointer...
441  }
template<typename T>
edmNew::DetSetVector< T >::DetSetVector ( const DetSetVector< T > &  )
default
template<typename T>
edmNew::DetSetVector< T >::DetSetVector ( DetSetVector< T > &&  )
default

Member Function Documentation

template<typename T>
Item& edmNew::DetSetVector< T >::addItem ( id_type  iid,
size_type  isize 
)
inlineprivate

Definition at line 526 of file DetSetVectorNew.h.

526  {
527  Item it(iid,size_type(m_data.size()),isize);
528  IdIter p = std::lower_bound(m_ids.begin(),
529  m_ids.end(),
530  it);
531  if (p!=m_ids.end() && !(it<*p)) dstvdetails::errorIdExists(iid);
532  return *m_ids.insert(p,std::move(it));
533  }
std::vector< Trans::Item > m_ids
IdContainer::iterator IdIter
void errorIdExists(det_id_type iid)
def move(src, dest)
Definition: eostools.py:511
template<typename T>
const_iterator edmNew::DetSetVector< T >::begin ( bool  update = false) const
inline

Definition at line 583 of file DetSetVectorNew.h.

Referenced by SiPixelPhase1TrackClustersV::analyze(), OuterTrackerMonitorTTCluster::analyze(), OuterTrackerMonitorTTStub::analyze(), OuterTrackerMonitorTrackingParticles::analyze(), SiPixelPhase1RecHitsV::analyze(), SiPixelHitEfficiencySource::analyze(), SiPixelTrackResidualSource::analyze(), PixelLumiDQM::analyze(), HitEff::analyze(), FWSiPixelClusterDetProxyBuilder::build(), FWSiStripClusterProxyBuilder::build(), FWSiPixelClusterProxyBuilder::build(), 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(), 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(), cms::SiPixelRecHitConverter::run(), dqm::TrackAnalyzer::setLumi(), ClusterChecker::tooManyClusters(), MeasurementTrackerEventProducer::updatePhase2OT(), and MeasurementTrackerEventProducer::updatePixels().

583  {
584  return boost::make_transform_iterator(m_ids.begin(),
585  IterHelp(*this,update));
586  }
void update(Item const &item) const
std::vector< Trans::Item > m_ids
template<typename T>
static short edmNew::DetSetVector< T >::Class_Version ( )
inlinestatic

Definition at line 642 of file DetSetVectorNew.h.

644 :
645  //for testing
template<typename T>
void edmNew::DetSetVector< T >::clean ( )
inline

Definition at line 486 of file DetSetVectorNew.h.

486  {
487  m_ids.erase(std::remove_if(m_ids.begin(),m_ids.end(),[](Item const& m){ return 0==m.size;}),m_ids.end());
488  }
std::vector< Trans::Item > m_ids
template<typename T>
data_type const* edmNew::DetSetVector< T >::data ( size_t  cell) const
inline
template<typename T>
DataContainer const& edmNew::DetSetVector< T >::data ( ) const
inline

Definition at line 638 of file DetSetVectorNew.h.

638 { return m_data;}
template<typename T>
size_type edmNew::DetSetVector< T >::dataSize ( ) const
inline
template<typename T>
size_type edmNew::DetSetVector< T >::detsetSize ( size_t  cell) const
inline

Definition at line 625 of file DetSetVectorNew.h.

625 { return m_ids[cell].size; }
std::vector< Trans::Item > m_ids
template<typename T>
bool edmNew::DetSetVector< T >::empty ( ) const
inline
template<typename T>
const_iterator edmNew::DetSetVector< T >::end ( bool  update = false) const
inline

Definition at line 589 of file DetSetVectorNew.h.

Referenced by fireworks::addSiStripClusters(), SiPixelPhase1TrackClustersV::analyze(), OuterTrackerMonitorTTCluster::analyze(), OuterTrackerMonitorTTStub::analyze(), OuterTrackerMonitorTrackingParticles::analyze(), SiPixelPhase1RecHitsV::analyze(), SiPixelRecHitsValid::analyze(), SiPixelHitEfficiencySource::analyze(), SiPixelTrackResidualSource::analyze(), PixelLumiDQM::analyze(), HitEff::analyze(), SiPixelRecHitSource::analyze(), SiPixelErrorEstimation::analyze(), SiPixelTrackingRecHitsValid::analyze(), FWSiPixelClusterDetProxyBuilder::build(), FWSiStripClusterProxyBuilder::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(), 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(), cms::SiPixelRecHitConverter::run(), dqm::TrackAnalyzer::setLumi(), ClusterChecker::tooManyClusters(), MeasurementTrackerEventProducer::updatePhase2OT(), and MeasurementTrackerEventProducer::updatePixels().

589  {
590  return boost::make_transform_iterator(m_ids.end(),
591  IterHelp(*this,update));
592  }
void update(Item const &item) const
std::vector< Trans::Item > m_ids
template<typename T>
template<typename CMP >
Range edmNew::DetSetVector< T >::equal_range ( id_type  i,
CMP  cmp,
bool  update = false 
) const
inline

Definition at line 598 of file DetSetVectorNew.h.

Referenced by ctfseeding::HitExtractorSTRP::hits().

598  {
599  std::pair<const_IdIter,const_IdIter> p =
600  std::equal_range(m_ids.begin(),m_ids.end(),i,cmp);
601  return Range(boost::make_transform_iterator(p.first,IterHelp(*this,update)),
602  boost::make_transform_iterator(p.second,IterHelp(*this,update))
603  );
604  }
void update(Item const &item) const
std::vector< Trans::Item > m_ids
std::pair< const_iterator, const_iterator > Range
template<typename T>
bool edmNew::DetSetVector< T >::exists ( id_type  i) const
inline

Definition at line 542 of file DetSetVectorNew.h.

542  {
543  return findItem(i)!=m_ids.end();
544  }
const_IdIter findItem(id_type i) const
std::vector< Trans::Item > m_ids
template<typename T>
const_iterator edmNew::DetSetVector< T >::find ( id_type  i,
bool  update = false 
) const
inline
template<typename T>
const_IdIter edmNew::DetSetVector< T >::findItem ( id_type  i) const
inline

Definition at line 576 of file DetSetVectorNew.h.

576  {
577  std::pair<const_IdIter,const_IdIter> p =
578  std::equal_range(m_ids.begin(),m_ids.end(),Item(i));
579  return (p.first!=p.second) ? p.first : m_ids.end();
580  }
std::vector< Trans::Item > m_ids
template<typename T>
id_type edmNew::DetSetVector< T >::id ( size_t  cell) const
inline
template<typename T>
IdContainer const& edmNew::DetSetVector< T >::ids ( ) const
inline

Definition at line 637 of file DetSetVectorNew.h.

637 { return m_ids;}
std::vector< Trans::Item > m_ids
template<typename T>
DetSet edmNew::DetSetVector< T >::insert ( id_type  iid,
data_type const *  idata,
size_type  isize 
)
inline

Definition at line 491 of file DetSetVectorNew.h.

Referenced by BeautifulSoup.PageElement::append().

491  {
492  Item & item = addItem(iid,isize);
493  m_data.resize(m_data.size()+isize);
494  std::copy(idata,idata+isize,m_data.begin()+item.offset);
495  m_dataSize = m_data.size();
496  return DetSet(*this,item,false);
497  }
def copy(args, dbName)
Item const & item(size_t cell) const
Item & addItem(id_type iid, size_type isize)
std::atomic< size_type > m_dataSize
edmNew::DetSet< T > DetSet
template<typename T>
DetSet edmNew::DetSetVector< T >::insert ( id_type  iid,
size_type  isize 
)
inline

Definition at line 499 of file DetSetVectorNew.h.

Referenced by BeautifulSoup.PageElement::append().

499  {
500  Item & item = addItem(iid,isize);
501  m_data.resize(m_data.size()+isize);
502  m_dataSize = m_data.size();
503  return DetSet(*this,item,false);
504  }
Item const & item(size_t cell) const
Item & addItem(id_type iid, size_type isize)
std::atomic< size_type > m_dataSize
edmNew::DetSet< T > DetSet
template<typename T>
bool edmNew::DetSetVector< T >::isValid ( id_type  i) const
inline

Definition at line 546 of file DetSetVectorNew.h.

Referenced by ntupleDataFormat._Object::_checkIsValid(), and core.AutoHandle.AutoHandle::ReallyLoad().

546  {
548  return p!=m_ids.end() && (*p).isValid();
549  }
const_IdIter findItem(id_type i) const
std::vector< Trans::Item > m_ids
IdContainer::const_iterator const_IdIter
template<typename T>
Item const& edmNew::DetSetVector< T >::item ( size_t  cell) const
inline
template<typename T>
bool edmNew::DetSetVector< T >::onDemand ( ) const
inline

Definition at line 453 of file DetSetVectorNew.h.

453 { return !m_getter.empty();}
template<typename T>
data_type edmNew::DetSetVector< T >::operator() ( size_t  cell,
size_t  frame 
) const
inline

Definition at line 617 of file DetSetVectorNew.h.

617  {
618  return m_data[m_ids[cell].offset+frame];
619  }
std::vector< Trans::Item > m_ids
template<typename T>
DetSetVector& edmNew::DetSetVector< T >::operator= ( const DetSetVector< T > &  )
delete
template<typename T>
DetSetVector& edmNew::DetSetVector< T >::operator= ( DetSetVector< T > &&  )
default
template<typename T>
DetSet edmNew::DetSetVector< T >::operator[] ( id_type  i) const
inline

Definition at line 560 of file DetSetVectorNew.h.

560  {
562  if (p==m_ids.end()) dstvdetails::throw_range(i);
563  return DetSet(*this,*p,true);
564  }
const_IdIter findItem(id_type i) const
std::vector< Trans::Item > m_ids
void throw_range(det_id_type iid)
IdContainer::const_iterator const_IdIter
edmNew::DetSet< T > DetSet
template<typename T>
void edmNew::DetSetVector< T >::pop_back ( id_type  iid)
inline

Definition at line 512 of file DetSetVectorNew.h.

512  {
513  const_IdIter p = findItem(iid);
514  if (p==m_ids.end()) return; //bha!
515  // sanity checks... (shall we throw or assert?)
516  if ( (*p).isValid() && (*p).size>0 &&
517  m_data.size()==(*p).offset+(*p).size) {
518  m_data.resize((*p).offset);
519  m_dataSize = m_data.size();
520  }
521  m_ids.erase(m_ids.begin()+(p-m_ids.begin()));
522  }
const_IdIter findItem(id_type i) const
std::vector< Trans::Item > m_ids
std::atomic< size_type > m_dataSize
IdContainer::const_iterator const_IdIter
template<typename T>
Item& edmNew::DetSetVector< T >::push_back ( id_type  iid)
inline

Definition at line 507 of file DetSetVectorNew.h.

Referenced by TTClusterBuilder< T >::produce(), and TTStubBuilder< T >::produce().

507  {
508  return addItem(iid,0);
509  }
Item & addItem(id_type iid, size_type isize)
template<typename T>
void edmNew::DetSetVector< T >::reserve ( size_t  isize,
size_t  dsize 
)
inline

Definition at line 469 of file DetSetVectorNew.h.

469  {
470  m_ids.reserve(isize);
471  m_data.reserve(dsize);
472  }
std::vector< Trans::Item > m_ids
template<typename T>
void edmNew::DetSetVector< T >::resize ( size_t  isize,
size_t  dsize 
)
inline
template<typename T>
void edmNew::DetSetVector< T >::shrink_to_fit ( )
inline

Definition at line 474 of file DetSetVectorNew.h.

474  {
475  clean();
476  m_ids.shrink_to_fit();
477  m_data.shrink_to_fit();
478  }
std::vector< Trans::Item > m_ids
template<typename T>
size_type edmNew::DetSetVector< T >::size ( void  ) const
inline
template<typename T>
int edmNew::DetSetVector< T >::subdetId ( ) const
inline

Definition at line 606 of file DetSetVectorNew.h.

606 { return m_subdetId; }
template<typename T>
void edmNew::DetSetVector< T >::swap ( DetSetVector< T > &  rh)
inline

Definition at line 457 of file DetSetVectorNew.h.

Referenced by SiPixelClusterProducer::run().

457  {
459  std::swap(m_subdetId,rh.m_subdetId);
460  std::swap(m_ids,rh.m_ids);
461  std::swap(m_data,rh.m_data);
462  }
std::vector< Trans::Item > m_ids
void swap(Association< C > &lhs, Association< C > &rhs)
Definition: Association.h:116
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
template<typename T>
void edmNew::DetSetVector< T >::swap ( IdContainer iic,
DataContainer idc 
)
inline

Definition at line 464 of file DetSetVectorNew.h.

464  {
465  std::swap(m_ids,iic);
466  std::swap(m_data,idc);
467  }
std::vector< Trans::Item > m_ids
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
template<typename T>
void edmNew::DetSetVector< T >::update ( Item const &  item) const
inlineprivate

Definition at line 691 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().

691  {
692  // no m_getter or already updated
693  if (m_getter.empty()) { assert(item.isValid()); return;}
694  if (item.initialize() ){
695  assert(item.initializing());
696  {
697  TSFastFiller ff(*this,item);
698  (*boost::any_cast<std::shared_ptr<Getter> >(&m_getter))->fill(ff);
699  }
700  assert(item.isValid());
701  }
702  }
friend class TSFastFiller
Item const & item(size_t cell) const

Friends And Related Function Documentation

template<typename T>
friend class ::TestDetSet
friend

Definition at line 646 of file DetSetVectorNew.h.

template<typename T>
friend class edmNew::DetSet< T >
friend

Definition at line 411 of file DetSetVectorNew.h.

template<typename T>
friend class FastFiller
friend

Definition at line 409 of file DetSetVectorNew.h.

template<typename T>
friend class FindForDetSetVector
friend

Definition at line 430 of file DetSetVectorNew.h.

template<typename T>
friend class TSFastFiller
friend

Definition at line 410 of file DetSetVectorNew.h.

Member Data Documentation

template<typename T>
DataContainer edmNew::DetSetVector< T >::m_data
mutableprivate
template<typename T>
std::vector<Trans::Item> edmNew::DetSetVector< T >::m_ids
private
template<typename T>
int edmNew::DetSetVector< T >::m_subdetId
private