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 &)=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
 
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 &)=delete
 
 DetSetVectorTrans (DetSetVectorTrans &&)=default
 
DetSetVectorTransoperator= (const DetSetVectorTrans &)=delete
 
DetSetVectorTransoperator= (DetSetVectorTrans &&)=default
 
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 167 of file DetSetVectorNew.h.

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

Definition at line 166 of file DetSetVectorNew.h.

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

Definition at line 188 of file DetSetVectorNew.h.

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

Definition at line 168 of file DetSetVectorNew.h.

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

Definition at line 152 of file DetSetVectorNew.h.

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

Definition at line 162 of file DetSetVectorNew.h.

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

Definition at line 164 of file DetSetVectorNew.h.

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

Definition at line 154 of file DetSetVectorNew.h.

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

Definition at line 155 of file DetSetVectorNew.h.

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

Definition at line 151 of file DetSetVectorNew.h.

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

Definition at line 161 of file DetSetVectorNew.h.

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

Definition at line 163 of file DetSetVectorNew.h.

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

Definition at line 149 of file DetSetVectorNew.h.

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

Definition at line 165 of file DetSetVectorNew.h.

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

Definition at line 158 of file DetSetVectorNew.h.

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

Definition at line 189 of file DetSetVectorNew.h.

Definition at line 170 of file DetSetVectorNew.h.

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

Definition at line 153 of file DetSetVectorNew.h.

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

Definition at line 150 of file DetSetVectorNew.h.

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

Definition at line 148 of file DetSetVectorNew.h.

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

Definition at line 157 of file DetSetVectorNew.h.

Constructor & Destructor Documentation

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

Definition at line 400 of file DetSetVectorNew.h.

400  :
401  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 407 of file DetSetVectorNew.h.

407  {
408  // delete content if T is pointer...
409  }
template<typename T>
edmNew::DetSetVector< T >::DetSetVector ( const DetSetVector< T > &  )
delete
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 490 of file DetSetVectorNew.h.

490  {
491  Item it(iid,size_type(m_data.size()),isize);
492  IdIter p = std::lower_bound(m_ids.begin(),
493  m_ids.end(),
494  it);
495  if (p!=m_ids.end() && !(it<*p)) dstvdetails::errorIdExists(iid);
496  return *m_ids.insert(p,std::move(it));
497  }
std::vector< Trans::Item > m_ids
IdContainer::iterator IdIter
void errorIdExists(det_id_type iid)
def move(src, dest)
Definition: eostools.py:510
template<typename T>
const_iterator edmNew::DetSetVector< T >::begin ( bool  update = false) const
inline

Definition at line 547 of file DetSetVectorNew.h.

Referenced by OuterTrackerMonitorTTCluster::analyze(), OuterTrackerMonitorTTStub::analyze(), SiPixelPhase1TrackClusters::analyze(), SiPixelHitEfficiencySource::analyze(), LumiMonitor::analyze(), SiPixelTrackResidualSource::analyze(), PixelLumiDQM::analyze(), HitEff::analyze(), SiStripBaselineAnalyzer::analyze(), SiStripRecHitsValid::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(), TrackAnalyzer::setLumi(), ClusterChecker::tooManyClusters(), MeasurementTrackerEventProducer::updatePhase2OT(), and MeasurementTrackerEventProducer::updatePixels().

547  {
548  return boost::make_transform_iterator(m_ids.begin(),
549  IterHelp(*this,update));
550  }
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 606 of file DetSetVectorNew.h.

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

Definition at line 450 of file DetSetVectorNew.h.

450  {
451  m_ids.erase(std::remove_if(m_ids.begin(),m_ids.end(),[](Item const& m){ return 0==m.size;}),m_ids.end());
452  }
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 602 of file DetSetVectorNew.h.

602 { 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 589 of file DetSetVectorNew.h.

589 { 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 553 of file DetSetVectorNew.h.

Referenced by fireworks::addSiStripClusters(), OuterTrackerMonitorTTCluster::analyze(), OuterTrackerMonitorTTStub::analyze(), SiPixelPhase1TrackClusters::analyze(), SiPixelRecHitsValid::analyze(), SiPixelHitEfficiencySource::analyze(), LumiMonitor::analyze(), SiPixelTrackResidualSource::analyze(), PixelLumiDQM::analyze(), HitEff::analyze(), SiPixelRecHitSource::analyze(), SiPixelErrorEstimation::analyze(), SiPixelTrackingRecHitsValid::analyze(), SiStripBaselineAnalyzer::analyze(), SiStripRecHitsValid::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(), TrackAnalyzer::setLumi(), ClusterChecker::tooManyClusters(), MeasurementTrackerEventProducer::updatePhase2OT(), and MeasurementTrackerEventProducer::updatePixels().

553  {
554  return boost::make_transform_iterator(m_ids.end(),
555  IterHelp(*this,update));
556  }
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 562 of file DetSetVectorNew.h.

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

562  {
563  std::pair<const_IdIter,const_IdIter> p =
564  std::equal_range(m_ids.begin(),m_ids.end(),i,cmp);
565  return Range(boost::make_transform_iterator(p.first,IterHelp(*this,update)),
566  boost::make_transform_iterator(p.second,IterHelp(*this,update))
567  );
568  }
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 506 of file DetSetVectorNew.h.

506  {
507  return findItem(i)!=m_ids.end();
508  }
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 540 of file DetSetVectorNew.h.

540  {
541  std::pair<const_IdIter,const_IdIter> p =
542  std::equal_range(m_ids.begin(),m_ids.end(),Item(i));
543  return (p.first!=p.second) ? p.first : m_ids.end();
544  }
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 601 of file DetSetVectorNew.h.

601 { 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 455 of file DetSetVectorNew.h.

Referenced by BeautifulSoup.PageElement::append().

455  {
456  Item & item = addItem(iid,isize);
457  m_data.resize(m_data.size()+isize);
458  std::copy(idata,idata+isize,m_data.begin()+item.offset);
459  m_dataSize = m_data.size();
460  return DetSet(*this,item,false);
461  }
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 463 of file DetSetVectorNew.h.

Referenced by BeautifulSoup.PageElement::append().

463  {
464  Item & item = addItem(iid,isize);
465  m_data.resize(m_data.size()+isize);
466  m_dataSize = m_data.size();
467  return DetSet(*this,item,false);
468  }
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 510 of file DetSetVectorNew.h.

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

510  {
512  return p!=m_ids.end() && (*p).isValid();
513  }
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 417 of file DetSetVectorNew.h.

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

Definition at line 581 of file DetSetVectorNew.h.

581  {
582  return m_data[m_ids[cell].offset+frame];
583  }
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 524 of file DetSetVectorNew.h.

524  {
526  if (p==m_ids.end()) dstvdetails::throw_range(i);
527  return DetSet(*this,*p,true);
528  }
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 476 of file DetSetVectorNew.h.

476  {
477  const_IdIter p = findItem(iid);
478  if (p==m_ids.end()) return; //bha!
479  // sanity checks... (shall we throw or assert?)
480  if ( (*p).isValid() && (*p).size>0 &&
481  m_data.size()==(*p).offset+(*p).size) {
482  m_data.resize((*p).offset);
483  m_dataSize = m_data.size();
484  }
485  m_ids.erase(m_ids.begin()+(p-m_ids.begin()));
486  }
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 471 of file DetSetVectorNew.h.

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

471  {
472  return addItem(iid,0);
473  }
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 433 of file DetSetVectorNew.h.

433  {
434  m_ids.reserve(isize);
435  m_data.reserve(dsize);
436  }
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 438 of file DetSetVectorNew.h.

438  {
439  clean();
440  m_ids.shrink_to_fit();
441  m_data.shrink_to_fit();
442  }
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 570 of file DetSetVectorNew.h.

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

Definition at line 421 of file DetSetVectorNew.h.

Referenced by Phase2ITPixelClusterProducer::run(), and SiPixelClusterProducer::run().

421  {
423  std::swap(m_subdetId,rh.m_subdetId);
424  std::swap(m_ids,rh.m_ids);
425  std::swap(m_data,rh.m_data);
426  }
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 428 of file DetSetVectorNew.h.

428  {
429  std::swap(m_ids,iic);
430  std::swap(m_data,idc);
431  }
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 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().

655  {
656  // no m_getter or already updated
657  if (m_getter.empty()) { assert(item.isValid()); return;}
658  if (item.initialize() ){
659  assert(item.initializing());
660  {
661  TSFastFiller ff(*this,item);
662  (*boost::any_cast<std::shared_ptr<Getter> >(&m_getter))->fill(ff);
663  }
664  assert(item.isValid());
665  }
666  }
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 610 of file DetSetVectorNew.h.

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

Definition at line 379 of file DetSetVectorNew.h.

template<typename T>
friend class FastFiller
friend

Definition at line 377 of file DetSetVectorNew.h.

template<typename T>
friend class FindForDetSetVector
friend

Definition at line 398 of file DetSetVectorNew.h.

template<typename T>
friend class TSFastFiller
friend

Definition at line 378 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