#include <EDProductfwd.h>
Public Types | |
typedef holder_type::const_iterator | const_iterator |
typedef reftobase::BaseVectorHolder< T > | holder_type |
typedef T | member_type |
typedef holder_type::size_type | size_type |
typedef RefToBase< T > | value_type |
Public Member Functions | |
value_type | at (size_type idx) const |
const_iterator | begin () const |
void | clear () |
bool | empty () const |
const_iterator | end () const |
void | fillView (std::vector< void const * > &pointers) const |
ProductID | id () const |
bool | isAvailable () const |
bool | isInvalid () const |
bool | isValid () const |
RefToBaseVector & | operator= (RefToBaseVector const &iRHS) |
value_type | operator[] (size_type idx) const |
const void * | product () const |
EDProductGetter const * | productGetter () const |
void | push_back (const RefToBase< T > &) |
RefToBaseVector () | |
RefToBaseVector (RefToBaseVector const &) | |
template<class REFV > | |
RefToBaseVector (REFV const &) | |
template<typename C > | |
RefToBaseVector (Handle< C > const &) | |
template<typename T1 > | |
RefToBaseVector (Handle< View< T1 > > const &) | |
RefToBaseVector (boost::shared_ptr< reftobase::RefVectorHolderBase > p) | |
template<class T > | |
RefToBaseVector (const RefToBaseVector< T > &iOther) | |
size_type | size () const |
void | swap (RefToBaseVector &other) |
std::auto_ptr < reftobase::RefVectorHolderBase > | vectorHolder () const |
~RefToBaseVector () | |
Static Public Member Functions | |
static short | Class_Version () |
Private Attributes | |
holder_type * | holder_ |
RefToBase<T> provides a mechanism to refer to an object of type T (or which has T as a public base), held in a collection (of type not known to RefToBase<T>) which itself it in an Event.
Definition at line 26 of file EDProductfwd.h.
typedef holder_type::const_iterator edm::RefToBaseVector< T >::const_iterator |
Definition at line 30 of file RefToBaseVector.h.
typedef reftobase::BaseVectorHolder<T> edm::RefToBaseVector< T >::holder_type |
Definition at line 28 of file RefToBaseVector.h.
typedef T edm::RefToBaseVector< T >::member_type |
Definition at line 27 of file RefToBaseVector.h.
typedef holder_type::size_type edm::RefToBaseVector< T >::size_type |
Definition at line 29 of file RefToBaseVector.h.
typedef RefToBase<T> edm::RefToBaseVector< T >::value_type |
Definition at line 26 of file RefToBaseVector.h.
|
inline |
Definition at line 111 of file RefToBaseVector.h.
edm::RefToBaseVector< T >::RefToBaseVector | ( | RefToBaseVector< T > const & | ) |
|
inlineexplicit |
Definition at line 118 of file RefToBaseVector.h.
|
explicit |
Definition at line 288 of file RefToBaseVector.h.
|
explicit |
Definition at line 295 of file RefToBaseVector.h.
|
inline |
Definition at line 130 of file RefToBaseVector.h.
|
inline |
Definition at line 152 of file RefToBaseVector.h.
|
inline |
Definition at line 124 of file RefToBaseVector.h.
|
inline |
Definition at line 160 of file RefToBaseVector.h.
References edm::reftobase::BaseVectorHolder< T >::at(), edm::errors::InvalidReference, and edm::Exception::throwThis().
Referenced by reco::tautools::CastedRefProducer< DerivedCollection, BaseType >::produce().
|
inline |
Definition at line 222 of file RefToBaseVector.h.
References edm::reftobase::BaseVectorHolder< T >::begin().
Referenced by MuonAssociatorByHits::associateMuons(), TrackAssociatorByHits::associateRecoToSim(), MuonAssociatorByHits::associateRecoToSim(), TrackAssociatorByChi2::associateRecoToSim(), TrackAssociatorByHits::associateSimToReco(), MuonAssociatorByHits::associateSimToReco(), TrackAssociatorByChi2::associateSimToReco(), MatchJet::matchCollections(), edm::operator==(), CandViewRefMerger::produce(), TagProbeMassProducer::produce(), and MuonMCClassifier::produce().
|
inlinestatic |
Definition at line 72 of file RefToBaseVector.h.
|
inline |
Definition at line 197 of file RefToBaseVector.h.
References edm::reftobase::BaseVectorHolder< T >::clear().
Referenced by Vispa.Views.WidgetView.WidgetView::closeEvent(), Vispa.Views.BoxDecayView.BoxDecayView::closeEvent(), Vispa.Share.FindAlgorithm.FindAlgorithm::findUsingFindDialog(), MatchJet::matchCollections(), Vispa.Views.LineDecayView.LineDecayView::setDataObjects(), Vispa.Views.WidgetView.WidgetView::setDataObjects(), BeautifulSoup.Tag::setString(), Vispa.Views.TreeView.TreeView::updateContent(), Vispa.Views.TableView.TableView::updateContent(), Vispa.Views.BoxDecayView.BoxDecayView::updateContent(), and Vispa.Views.PropertyView.PropertyView::updateContent().
|
inline |
Definition at line 181 of file RefToBaseVector.h.
References edm::reftobase::BaseVectorHolder< T >::empty().
Referenced by Vispa.Gui.VispaWidget.TextField::setAutosizeFont(), and Vispa.Gui.VispaWidget.TextField::setAutotruncate().
|
inline |
Definition at line 230 of file RefToBaseVector.h.
References edm::reftobase::BaseVectorHolder< T >::end().
Referenced by MuonAssociatorByHits::associateMuons(), TrackAssociatorByHits::associateRecoToSim(), MuonAssociatorByHits::associateRecoToSim(), TrackAssociatorByChi2::associateRecoToSim(), TrackAssociatorByHits::associateSimToReco(), MuonAssociatorByHits::associateSimToReco(), TrackAssociatorByChi2::associateSimToReco(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), MatchJet::matchCollections(), edm::operator==(), CandViewRefMerger::produce(), TagProbeMassProducer::produce(), and MuonMCClassifier::produce().
void RefToBaseVector::fillView | ( | std::vector< void const * > & | pointers | ) | const |
Definition at line 237 of file RefToBaseVector.h.
References begin, alignCSCRings::e, end, i, edm::RefToBase< T >::isNull(), and findQualityFiles::size.
Referenced by edm::fillView().
|
inline |
Definition at line 206 of file RefToBaseVector.h.
References edm::reftobase::BaseVectorHolder< T >::id().
Referenced by MatchJet::operator()().
|
inline |
Checks if collection is in memory or available in the Event. No type checking is done.
Definition at line 69 of file RefToBaseVector.h.
|
inline |
|
inline |
Definition at line 51 of file RefToBaseVector.h.
|
inline |
Definition at line 137 of file RefToBaseVector.h.
References edm::swap(), and groupFilesInBlocks::temp.
|
inline |
const void * RefToBaseVector::product | ( | ) | const |
Definition at line 274 of file RefToBaseVector.h.
References edm::reftobase::BaseVectorHolder< T >::product().
|
inline |
Definition at line 214 of file RefToBaseVector.h.
References edm::reftobase::BaseVectorHolder< T >::productGetter().
Definition at line 260 of file RefToBaseVector.h.
References edm::RefToBase< T >::holder_, edm::reftobase::BaseHolder< T >::makeVectorHolder(), AlCaHLTBitMon_ParallelJobs::p, and edm::reftobase::BaseVectorHolder< T >::push_back().
Referenced by TkConvValidator::analyze(), PhotonValidator::analyze(), MuonAssociatorByHits::associateMuons(), TrackAssociatorBase::associateRecoToSim(), TrackAssociatorBase::associateSimToReco(), CandViewRefRandomSelector::filter(), BTagPerformanceAnalyzerMC::getJetWithFlavour(), MatchJet::matchCollections(), helper::SelectionRefViewAdder< T >::operator()(), MuonMCClassifier::produce(), and pat::helper::TriggerMatchHelper::triggerMatchCandidates().
|
inline |
Definition at line 189 of file RefToBaseVector.h.
References edm::reftobase::BaseVectorHolder< T >::size().
Referenced by TrackAssociatorByPosition::associateRecoToSim(), QuickTrackAssociatorByHits::associateRecoToSimImplementation(), TrackAssociatorByPosition::associateSimToReco(), QuickTrackAssociatorByHits::associateSimToRecoImplementation(), CandViewRefRandomSelector::filter(), MatchJet::matchCollections(), MatchJet::operator()(), edm::operator==(), and reco::tautools::CastedRefProducer< DerivedCollection, BaseType >::produce().
|
inline |
Definition at line 146 of file RefToBaseVector.h.
References edm::RefToBaseVector< T >::holder_, and std::swap().
Referenced by edm::swap().
std::auto_ptr< reftobase::RefVectorHolderBase > RefToBaseVector::vectorHolder | ( | ) | const |
Definition at line 269 of file RefToBaseVector.h.
References edm::reftobase::BaseVectorHolder< T >::vectorHolder().
Referenced by edm::helpers::ViewFiller< RefToBaseVector< T > >::fill().
|
private |
Definition at line 75 of file RefToBaseVector.h.
Referenced by edm::RefToBaseVector< reco::Track >::isAvailable(), edm::RefToBaseVector< reco::Track >::isInvalid(), edm::RefToBaseVector< reco::Track >::isValid(), and edm::RefToBaseVector< T >::swap().