#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, FillViewHelperVector &helpers) 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 |
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 &) | |
RefToBaseVector (std::shared_ptr< reftobase::RefVectorHolderBase > p) | |
template<class T > | |
RefToBaseVector (const RefToBaseVector< T > &iOther) | |
size_type | size () const |
void | swap (RefToBaseVector &other) |
std::unique_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 29 of file EDProductfwd.h.
typedef holder_type::const_iterator edm::RefToBaseVector< T >::const_iterator |
Definition at line 37 of file RefToBaseVector.h.
typedef reftobase::BaseVectorHolder<T> edm::RefToBaseVector< T >::holder_type |
Definition at line 35 of file RefToBaseVector.h.
typedef T edm::RefToBaseVector< T >::member_type |
Definition at line 34 of file RefToBaseVector.h.
typedef holder_type::size_type edm::RefToBaseVector< T >::size_type |
Definition at line 36 of file RefToBaseVector.h.
typedef RefToBase<T> edm::RefToBaseVector< T >::value_type |
Definition at line 33 of file RefToBaseVector.h.
|
inline |
Definition at line 110 of file RefToBaseVector.h.
edm::RefToBaseVector< T >::RefToBaseVector | ( | RefToBaseVector< T > const & | ) |
|
inlineexplicit |
Definition at line 114 of file RefToBaseVector.h.
|
explicit |
Definition at line 238 of file RefToBaseVector.h.
|
inline |
Definition at line 121 of file RefToBaseVector.h.
|
inline |
Definition at line 137 of file RefToBaseVector.h.
|
inline |
Definition at line 117 of file RefToBaseVector.h.
|
inline |
Definition at line 142 of file RefToBaseVector.h.
References edm::reftobase::BaseVectorHolder< T >::at(), edm::errors::InvalidReference, and edm::Exception::throwThis().
Referenced by MuonSimClassifier::produce().
|
inline |
Definition at line 181 of file RefToBaseVector.h.
References edm::reftobase::BaseVectorHolder< T >::begin().
Referenced by TrackGenAssociatorByChi2Impl::associateGenToReco(), MuonToTrackingParticleAssociatorByHitsImpl::associateMuons(), TrackGenAssociatorByChi2Impl::associateRecoToGen(), TrackAssociatorByHitsImpl::associateRecoToSim(), TrackAssociatorByChi2Impl::associateRecoToSim(), MuonAssociatorByHits::associateRecoToSim(), TrackAssociatorByHitsImpl::associateSimToReco(), MuonAssociatorByHits::associateSimToReco(), RecoTrackViewRefSelector::begin(), MatchJet::matchCollections(), edm::operator==(), TagProbeMassProducer::produce(), and MuonMCClassifier::produce().
|
inlinestatic |
Definition at line 76 of file RefToBaseVector.h.
|
inline |
Definition at line 165 of file RefToBaseVector.h.
References edm::reftobase::BaseVectorHolder< T >::clear().
Referenced by MatchJet::matchCollections(), RecoTrackViewRefSelector::select(), and BeautifulSoup.Tag::setString().
|
inline |
Definition at line 155 of file RefToBaseVector.h.
References edm::reftobase::BaseVectorHolder< T >::empty().
Referenced by PFRecoTauChargedHadronProducer::produce().
|
inline |
Definition at line 186 of file RefToBaseVector.h.
References edm::reftobase::BaseVectorHolder< T >::end().
Referenced by TrackGenAssociatorByChi2Impl::associateGenToReco(), MuonToTrackingParticleAssociatorByHitsImpl::associateMuons(), TrackGenAssociatorByChi2Impl::associateRecoToGen(), TrackAssociatorByHitsImpl::associateRecoToSim(), TrackAssociatorByChi2Impl::associateRecoToSim(), MuonAssociatorByHits::associateRecoToSim(), TrackAssociatorByHitsImpl::associateSimToReco(), MuonAssociatorByHits::associateSimToReco(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), RecoTrackViewRefSelector::end(), MatchJet::matchCollections(), edm::operator==(), TagProbeMassProducer::produce(), MuonMCClassifier::produce(), and pat::helper::TriggerMatchHelper::triggerMatchCandidates().
void RefToBaseVector::fillView | ( | std::vector< void const * > & | pointers, |
FillViewHelperVector & | helpers | ||
) | const |
Definition at line 191 of file RefToBaseVector.h.
References SplitLinear::begin, alignCSCRings::e, dataset::end, mps_fire::i, edm::RefToBase< T >::id(), edm::RefToBase< T >::isNull(), edm::RefToBase< T >::key(), and findQualityFiles::size.
Referenced by edm::fillView().
|
inline |
Definition at line 171 of file RefToBaseVector.h.
References edm::reftobase::BaseVectorHolder< T >::id().
Referenced by TrackingNtuple::fillVertices(), and MatchJet::operator()().
|
inline |
Checks if collection is in memory or available in the Event. No type checking is done.
Definition at line 73 of file RefToBaseVector.h.
|
inline |
|
inline |
Definition at line 56 of file RefToBaseVector.h.
Referenced by ntupleDataFormat._Object::_checkIsValid(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
inline |
Definition at line 125 of file RefToBaseVector.h.
References edm::swap(), and groupFilesInBlocks::temp.
|
inline |
Definition at line 150 of file RefToBaseVector.h.
|
inline |
Definition at line 176 of file RefToBaseVector.h.
References edm::reftobase::BaseVectorHolder< T >::productGetter().
Definition at line 217 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 RecoMuonValidator::analyze(), TkConvValidator::analyze(), PhotonValidator::analyze(), TrackingNtuple::analyze(), TrackGenAssociatorByChi2Impl::associateGenToReco(), MuonToTrackingParticleAssociatorByHitsImpl::associateMuons(), TrackGenAssociatorByChi2Impl::associateRecoToGen(), MuonAssociatorByHits::associateRecoToSim(), reco::TrackToTrackingParticleAssociatorBaseImpl::associateRecoToSim(), reco::TrackToTrackingParticleAssociatorBaseImpl::associateSimToReco(), MuonAssociatorByHits::associateSimToReco(), MultiTrackValidator::dqmAnalyze(), TrackingNtuple::fillSeeds(), BTagPerformanceAnalyzerMC::getJetWithFlavour(), MatchJet::matchCollections(), helper::SelectionRefViewAdder< T >::operator()(), MuonAssociatorEDProducer::produce(), TriggerMatchProducer< object >::produce(), TagProbeMassProducer::produce(), PFRecoTauChargedHadronProducer::produce(), MuonMCClassifier::produce(), MuonSimClassifier::produce(), RecoTrackViewRefSelector::select(), and pat::helper::TriggerMatchHelper::triggerMatchCandidates().
|
inline |
Definition at line 160 of file RefToBaseVector.h.
References edm::reftobase::BaseVectorHolder< T >::size().
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), MuonToTrackingParticleAssociatorByHitsImpl::associateMuons(), TrackAssociatorByPositionImpl::associateRecoToSim(), TrackAssociatorByPositionImpl::associateSimToReco(), TrackAssociatorByChi2Impl::associateSimToReco(), TrackingNtuple::fillSeeds(), TrackingNtuple::fillTracks(), MatchJet::matchCollections(), MatchJet::operator()(), edm::operator==(), and RecoTrackViewRefSelector::size().
|
inline |
Definition at line 132 of file RefToBaseVector.h.
References edm::RefToBaseVector< T >::holder_, and std::swap().
Referenced by edm::swap().
std::unique_ptr< reftobase::RefVectorHolderBase > RefToBaseVector::vectorHolder | ( | ) | const |
Definition at line 226 of file RefToBaseVector.h.
References edm::reftobase::BaseVectorHolder< T >::vectorHolder().
|
private |
Definition at line 79 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().