CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Private Attributes
edm::RefVector< C, T, F > Class Template Reference

#include <EDProductfwd.h>

Public Types

typedef C collection_type
 
typedef iterator const_iterator
 
typedef value_type const const_reference
 
typedef RefVectorBase< key_typecontents_type
 
typedef F finder_type
 
typedef
refhelper::RefVectorTrait< C,
T, F >::iterator_type 
iterator
 
typedef value_type::key_type key_type
 
typedef std::vector< key_typeKeyVec
 
typedef T member_type
 
typedef const_reference reference
 
typedef KeyVec::size_type size_type
 
typedef
refhelper::RefVectorTrait< C,
T, F >::ref_type 
value_type
 

Public Member Functions

value_type const at (size_type idx) const
 Retrieve an element of the RefVector. More...
 
const_iterator begin () const
 Initialize an iterator over the RefVector. More...
 
size_type capacity () const
 Capacity of the RefVector. More...
 
void clear ()
 Clear the vector. More...
 
bool empty () const
 Is the RefVector empty. More...
 
const_iterator end () const
 Termination of iteration. More...
 
iterator erase (iterator const &pos)
 Erase an element from the vector. More...
 
void fillView (ProductID const &id, std::vector< void const * > &pointers, helper_vector &helpers) const
 
bool hasProductCache () const
 Checks if product is in memory. More...
 
ProductID id () const
 Accessor for product ID. More...
 
bool isAvailable () const
 
bool isNonnull () const
 Checks for non-null. More...
 
bool isNull () const
 Checks for null. More...
 
bool isTransient () const
 Checks if product collection is tansient (i.e. non persistable) More...
 
bool operator! () const
 Checks for null. More...
 
RefVectoroperator= (RefVector const &rhs)
 Copy assignment. More...
 
value_type const operator[] (size_type idx) const
 Retrieve an element of the RefVector. More...
 
C const * product () const
 Accessor for product collection. More...
 
EDProductGetter const * productGetter () const
 Accessor for product getter. More...
 
void push_back (value_type const &ref)
 Add a Ref<C, T> to the RefVector. More...
 
 RefVector ()
 
 RefVector (RefVector const &rh)
 
 RefVector (ProductID const &iId)
 
contents_type const & refVector () const
 Accessor for all data. More...
 
void reserve (size_type n)
 Reserve space for RefVector. More...
 
size_type size () const
 Size of the RefVector. More...
 
void swap (RefVector< C, T, F > &other)
 Swap two vectors. More...
 

Static Public Member Functions

static short Class_Version ()
 

Private Attributes

contents_type refVector_
 

Detailed Description

template<typename C, typename T, typename F>
class edm::RefVector< C, T, F >

Definition at line 25 of file EDProductfwd.h.

Member Typedef Documentation

template<typename C, typename T, typename F>
typedef C edm::RefVector< C, T, F >::collection_type

Definition at line 37 of file RefVector.h.

template<typename C, typename T, typename F>
typedef iterator edm::RefVector< C, T, F >::const_iterator

Definition at line 41 of file RefVector.h.

template<typename C, typename T, typename F>
typedef value_type const edm::RefVector< C, T, F >::const_reference

Definition at line 43 of file RefVector.h.

template<typename C, typename T, typename F>
typedef RefVectorBase<key_type> edm::RefVector< C, T, F >::contents_type

Definition at line 52 of file RefVector.h.

template<typename C, typename T, typename F>
typedef F edm::RefVector< C, T, F >::finder_type

Definition at line 39 of file RefVector.h.

template<typename C, typename T, typename F>
typedef refhelper::RefVectorTrait<C, T, F>::iterator_type edm::RefVector< C, T, F >::iterator

Definition at line 40 of file RefVector.h.

template<typename C, typename T, typename F>
typedef value_type::key_type edm::RefVector< C, T, F >::key_type

Definition at line 47 of file RefVector.h.

template<typename C, typename T, typename F>
typedef std::vector<key_type> edm::RefVector< C, T, F >::KeyVec

Definition at line 48 of file RefVector.h.

template<typename C, typename T, typename F>
typedef T edm::RefVector< C, T, F >::member_type

Definition at line 38 of file RefVector.h.

template<typename C, typename T, typename F>
typedef const_reference edm::RefVector< C, T, F >::reference

Definition at line 44 of file RefVector.h.

template<typename C, typename T, typename F>
typedef KeyVec::size_type edm::RefVector< C, T, F >::size_type

Definition at line 51 of file RefVector.h.

template<typename C, typename T, typename F>
typedef refhelper::RefVectorTrait<C, T, F>::ref_type edm::RefVector< C, T, F >::value_type

Definition at line 42 of file RefVector.h.

Constructor & Destructor Documentation

template<typename C, typename T, typename F>
edm::RefVector< C, T, F >::RefVector ( )
inline

Default constructor needed for reading from persistent store. Not for direct use.

Definition at line 56 of file RefVector.h.

56 : refVector_() {}
contents_type refVector_
Definition: RefVector.h:156
template<typename C, typename T, typename F>
edm::RefVector< C, T, F >::RefVector ( RefVector< C, T, F > const &  rh)
inline

Definition at line 57 of file RefVector.h.

57 : refVector_(rh.refVector_){}
contents_type refVector_
Definition: RefVector.h:156
template<typename C, typename T, typename F>
edm::RefVector< C, T, F >::RefVector ( ProductID const &  iId)
inline

Definition at line 62 of file RefVector.h.

62 : refVector_(iId) {}
contents_type refVector_
Definition: RefVector.h:156

Member Function Documentation

template<typename C, typename T, typename F>
value_type const edm::RefVector< C, T, F >::at ( size_type  idx) const
inline

Retrieve an element of the RefVector.

Definition at line 76 of file RefVector.h.

Referenced by L25TauAnalyzer::analyze(), HPSPFRecoTauAlgorithm::buildOneProng(), HPSPFRecoTauAlgorithm::buildOneProngStrip(), HPSPFRecoTauAlgorithm::buildOneProngTwoStrips(), HPSPFRecoTauAlgorithm::buildThreeProngs(), PFTauElementsOperators::computeInsideOutContents(), HPSPFRecoTauAlgorithm::createMergedLorentzVector(), pat::Tau::embedIsolationPFCands(), pat::Tau::embedIsolationPFChargedHadrCands(), pat::Tau::embedIsolationPFGammaCands(), pat::Tau::embedIsolationPFNeutralHadrCands(), pat::Tau::embedIsolationTracks(), pat::Tau::embedSignalPFCands(), pat::Tau::embedSignalPFChargedHadrCands(), pat::Tau::embedSignalPFGammaCands(), pat::Tau::embedSignalPFNeutralHadrCands(), pat::Tau::embedSignalTracks(), TrackClassifierByProxy< Collection >::evaluate(), VertexClassifierByProxy< reco::SecondaryVertexTagInfoCollection >::evaluate(), PFTauQualityCutWrapper::isolationChargedObjects(), PFTauQualityCutWrapper::isolationPUObjects(), PFCandidateStripMerger::mergeCandidates(), AntiElectronIDMVA2::MVAValue(), AntiElectronIDMVA3::MVAValue(), TauTagTools::sortRefsByOpeningDistance::operator()(), TauTagTools::filterChargedAndNeutralsByPt::operator()(), TauTagTools::refVectorPtSorter::operator()(), HPSPFRecoTauAlgorithm::refitThreeProng(), PFTauQualityCutWrapper::signalChargedObjects(), and TauTagTools::sortRefVectorByPt().

76  {
77  key_type const& key = refVector_.keys().at(idx);
78  RefCore const& prod = refVector_.refCore();
79  return value_type(prod, key);
80  }
value_type::key_type key_type
Definition: RefVector.h:47
contents_type refVector_
Definition: RefVector.h:156
RefCore const & refCore() const
Accessor for product ID and product getter.
Definition: RefVectorBase.h:42
keys_type const & keys() const
Accessor for vector of keys and pointers.
Definition: RefVectorBase.h:45
list key
Definition: combine.py:13
refhelper::RefVectorTrait< C, T, F >::ref_type value_type
Definition: RefVector.h:42
template<typename C , typename T , typename F >
RefVector< C, T, F >::const_iterator edm::RefVector< C, T, F >::begin ( void  ) const

Initialize an iterator over the RefVector.

Definition at line 244 of file RefVector.h.

References edm::RefVectorBase< T >::keys(), edm::RefVectorBase< T >::refCore(), and edm::RefVector< C, T, F >::refVector_.

Referenced by FWTauProxyBuilderBase::addConstituentTracks(), GenParticlePruner::addDaughterRefs(), GenParticlePruner::addMotherRefs(), pat::TriggerEvent::algorithmObjects(), reco::GsfElectron::ambiguousGsfTracksBegin(), L25TauAnalyzer::analyze(), JetFlavourClustering::assignToSubjets(), HPSPFRecoTauAlgorithm::associateIsolationCandidates(), MuonAssociatorByHits::associateMuons(), RecoTrackRefSelector::begin(), reco::CompositeRefCandidate::begin(), CaloRecoTauAlgorithm::buildCaloTau(), HPSPFRecoTauAlgorithm::buildOneProngStrip(), HPSPFRecoTauAlgorithm::buildOneProngTwoStrips(), PFRecoTauAlgorithm::buildPFTau(), JetPlusTrackProducerAA::calculateBGtracksJet(), JetPlusTrackCorrector::calculateCorr(), reco::TauMassTagInfo::calculateTrkP4(), reco::CastorCluster::CastorCluster(), reco::CastorTower::CastorTower(), TagProbeFitTreeProducer::checkMother(), CommonHcalNoiseRBXData::CommonHcalNoiseRBXData(), reco::JetSignalVertexCompatibilityAlgo::compatibility(), pat::TriggerEvent::conditionInAlgorithm(), PFTauElementsOperators::copyCandRefsFilteredByPt(), JetPlusTrackCorrector::correctAA(), TrackingVertex::daughterTracks_begin(), TrackingParticle::decayVertices_begin(), PFTauExtractor::depositFromObject(), PFTauElementsOperators::discriminatorByIsolPFCandsEtSum(), PFTauElementsOperators::discriminatorByIsolPFChargedHadrCandsEtSum(), PFTauElementsOperators::discriminatorByIsolPFGammaCandsEtSum(), PFTauElementsOperators::discriminatorByIsolPFNeutrHadrCandsEtSum(), pat::GenericParticle::embedTracks(), edm::RefVector< C, T, F >::erase(), JetPlusTrackCorrector::excludeJta(), VertexFitterResult::fill(), reco::HcalNoiseInfoProducer::filldigis(), PFTauDiscriminants::PFTauDiscriminantManager::fillOutlierObjects(), JPTJetAnalyzer::fillSiStripSoNForTracks(), JPTJetAnalyzer::fillTrackHistograms(), edm::RefVector< C, T, F >::fillView(), HLTHcalMETNoiseCleaner::filter(), HeavyQuarkFromMPIFilterAlgo::filter(), JetVertexChecker::filter(), TauTagTools::filteredPFChargedHadrCands(), TauTagTools::filteredPFChargedHadrCandsByNumTrkHits(), TauTagTools::filteredPFGammaCands(), TauTagTools::filteredPFNeutrHadrCands(), TauTagTools::filteredTracks(), TauTagTools::filteredTracksByNumTrkHits(), pat::TriggerEvent::filterInPath(), CaloRecoTauTagInfoAlgorithm::filterTracksByQualityBit(), GenParticlesHelper::findDescendents(), GenHFHadronMatcher::findHadronJets(), JPTJetAnalyzer::findPtFractionInCone(), GenParticlesHelper::findSisters(), JetPlusTrackCorrector::findTrack(), GenParticlePruner::flagDaughters(), GenParticlePruner::flagMothers(), TrackingParticle::genParticle_begin(), TrackingVertex::genVertices_begin(), InvariantMassAlgorithm::getMinimumClusterDR(), CaloRecoTauTagInfoAlgorithm::getNeutralEcalBasicClusters(), JPTJetTesterUnCorr::getSumPt(), JPTJetTester::getSumPt(), TauTagValidation::getSumPt(), TauLeadTrackExtractor< reco::PFTau >::getTrackPtSum(), GenParticlesHelper::hasAncestor(), HeavyQuarkFromMPIFilterAlgo::hasMPIAncestor(), reco::isodeposit::OtherJetConstituentsDeltaRVeto::initialize(), edm::OneToMany< JetC, reco::TrackCollection >::insert(), ConvBremSeedProducer::isGsfTrack(), reco::tau::isTauSignalPFCandidate(), JetPlusTrackCorrector::jetDirFromTracks(), reco::IsolatedTauTagInfo::leadingSignalTrack(), reco::tau::RecoTauIsolationMasking::mask(), JetPlusTrackCorrector::matchTracks(), TrackingTruthProducer::mergeBremsstrahlung(), pat::TriggerEvent::objectInAlgorithm(), pat::TriggerEvent::objectInPath(), TauConeIsolationAlgo< T, C, M >::operator()(), ElementsInAnnulus< math::XYZVector, DeltaR< math::XYZVector, math::XYZPoint >, Angle< math::XYZVector, math::XYZPoint >, std::pair< math::XYZPoint, float > >::operator()(), ElementsInCone< math::XYZVector, DeltaR< math::XYZVector, math::XYZPoint >, std::pair< math::XYZPoint, float > >::operator()(), ElementsInEllipse< reco::PFCandidate, reco::PFCandidateCollection >::operator()(), CombinedSVComputerV2::operator()(), GhostTrackComputer::operator()(), CombinedSVComputer::operator()(), CombinedSVSoftLeptonComputer::operator()(), reco::tau::RecoTauElectronRejectionPlugin::operator()(), JoinCaloTowerRefVectorsWithoutDuplicates::operator()(), pat::TriggerEvent::pathObjects(), PFTauElementsOperators::PFGammaCandsInOutEllipse(), reco::PFIsolatedTauTagInfo::PFIsolatedTauTagInfo(), reco::EMIsolatedTauTagInfo::pIsol(), L25TauAnalyzer::printInfo(), VZeroProducer::produce(), TrackIPProducer::produce(), HLTHcalTowerNoiseCleaner::produce(), TauGenJetProducer::produce(), JetPlusTrackProducer::produce(), PFRecoTauDecayModeDeterminator::produce(), JetPlusTrackProducerAA::produce(), SecondaryVertexProducer::produce(), JetPlusTrackCorrector::rebuildJta(), TCTauAlgorithm::recalculateEnergy(), reco::TrackExtraBase::recHitsBegin(), reco::CastorTower::rechitsBegin(), GenParticlePruner::recursiveFlagDaughters(), GenParticlePruner::recursiveFlagMothers(), SoftLepton::refineJetAxis(), HPSPFRecoTauAlgorithm::removeCandidateFromRefVector(), TauMETAlgo::run(), reco::PFNuclearInteraction::secPFRecTracks_begin(), reco::NuclearInteraction::seeds_begin(), JetFlavourClustering::setFlavours(), reco::CombinedTauTagInfo::signalTks_qsum(), TrackingVertex::sourceTracks_begin(), ConeIsolationAlgorithm::tag(), PFRecoTauDiscriminationByFlightPathSignificance::threeProngFlightPathSig(), reco::CastorCluster::towersBegin(), reco::TrackKinematics::TrackKinematics(), reco::IsolatedTauTagInfo::tracksInCone(), and reco::HcalNoiseRBX::uniqueTowers().

244  {
245  return iterator(refVector_.refCore(), refVector_.keys().begin());
246  }
contents_type refVector_
Definition: RefVector.h:156
RefCore const & refCore() const
Accessor for product ID and product getter.
Definition: RefVectorBase.h:42
refhelper::RefVectorTrait< C, T, F >::iterator_type iterator
Definition: RefVector.h:40
keys_type const & keys() const
Accessor for vector of keys and pointers.
Definition: RefVectorBase.h:45
template<typename C, typename T, typename F>
size_type edm::RefVector< C, T, F >::capacity ( ) const
inline

Capacity of the RefVector.

Definition at line 92 of file RefVector.h.

92 {return refVector_.capacity();}
contents_type refVector_
Definition: RefVector.h:156
size_type capacity() const
Capacity of vector.
Definition: RefVectorBase.h:59
template<typename C, typename T, typename F>
static short edm::RefVector< C, T, F >::Class_Version ( )
inlinestatic

Definition at line 154 of file RefVector.h.

155 :
contents_type refVector_
Definition: RefVector.h:156
RefVectorBase< key_type > contents_type
Definition: RefVector.h:52
template<typename C, typename T, typename F>
void edm::RefVector< C, T, F >::clear ( void  )
inline

Clear the vector.

Definition at line 133 of file RefVector.h.

Referenced by TrackIPTagPlotter::analyzeTag(), PFRecoTauAlgorithm::buildPFTau(), jpt::JetTracks::clear(), jpt::MatchedTracks::clear(), reco::GsfElectron::clearAmbiguousGsfTracks(), reco::CompositeRefCandidate::clearDaughters(), TrackingVertex::clearDaughterTracks(), TrackingParticle::clearDecayVertices(), TrackingVertex::clearParentTracks(), Vispa.Views.WidgetView.WidgetView::closeEvent(), Vispa.Views.BoxDecayView.BoxDecayView::closeEvent(), reco::CombinedTauTagInfo::CombinedTauTagInfo(), JetPlusTrackCorrector::excludeJta(), Vispa.Share.FindAlgorithm.FindAlgorithm::findUsingFindDialog(), ggPFTracks::getPFConvTracks(), PFCandidateStripMerger::mergeCandidates(), reco::tau::RecoTauElectronRejectionPlugin::operator()(), JoinCaloTowerRefVectorsWithoutDuplicates::operator()(), reco::PFCombinedTauTagInfo::PFCombinedTauTagInfo(), JetPlusTrackCorrector::rebuildJta(), RecoTrackRefSelector::select(), 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().

133 {refVector_.clear();}
contents_type refVector_
Definition: RefVector.h:156
void clear()
clear the vector
Definition: RefVectorBase.h:70
template<typename C, typename T, typename F>
bool edm::RefVector< C, T, F >::empty ( ) const
inline
template<typename C , typename T , typename F >
RefVector< C, T, F >::const_iterator edm::RefVector< C, T, F >::end ( void  ) const

Termination of iteration.

Definition at line 249 of file RefVector.h.

References edm::RefVectorBase< T >::keys(), edm::RefVectorBase< T >::refCore(), and edm::RefVector< C, T, F >::refVector_.

Referenced by FWTauProxyBuilderBase::addConstituentTracks(), GenParticlePruner::addDaughterRefs(), GenParticlePruner::addMotherRefs(), pat::TriggerEvent::algorithmObjects(), pat::TriggerEvent::algorithmRef(), reco::GsfElectron::ambiguousGsfTracksEnd(), L25TauAnalyzer::analyze(), JetFlavourClustering::assignToSubjets(), HPSPFRecoTauAlgorithm::associateIsolationCandidates(), MuonAssociatorByHits::associateMuons(), CaloRecoTauAlgorithm::buildCaloTau(), HPSPFRecoTauAlgorithm::buildOneProngStrip(), HPSPFRecoTauAlgorithm::buildOneProngTwoStrips(), PFRecoTauAlgorithm::buildPFTau(), JetPlusTrackProducerAA::calculateBGtracksJet(), JetPlusTrackCorrector::calculateCorr(), reco::TauMassTagInfo::calculateTrkP4(), reco::CastorCluster::CastorCluster(), reco::CastorTower::CastorTower(), TagProbeFitTreeProducer::checkMother(), CommonHcalNoiseRBXData::CommonHcalNoiseRBXData(), reco::JetSignalVertexCompatibilityAlgo::compatibility(), pat::TriggerEvent::conditionInAlgorithm(), pat::TriggerEvent::conditionRef(), PFTauElementsOperators::copyCandRefsFilteredByPt(), JetPlusTrackCorrector::correctAA(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), TrackingVertex::daughterTracks_end(), TrackingParticle::decayVertices_end(), PFTauExtractor::depositFromObject(), PFTauElementsOperators::discriminatorByIsolPFCandsEtSum(), PFTauElementsOperators::discriminatorByIsolPFChargedHadrCandsEtSum(), PFTauElementsOperators::discriminatorByIsolPFGammaCandsEtSum(), PFTauElementsOperators::discriminatorByIsolPFNeutrHadrCandsEtSum(), pat::GenericParticle::embedTracks(), RecoTrackRefSelector::end(), reco::CompositeRefCandidate::end(), JetPlusTrackCorrector::excludeJta(), VertexFitterResult::fill(), reco::HcalNoiseInfoProducer::filldigis(), PFTauDiscriminants::PFTauDiscriminantManager::fillOutlierObjects(), JPTJetAnalyzer::fillSiStripSoNForTracks(), JPTJetAnalyzer::fillTrackHistograms(), edm::RefVector< C, T, F >::fillView(), HLTHcalMETNoiseCleaner::filter(), HeavyQuarkFromMPIFilterAlgo::filter(), JetVertexChecker::filter(), TauTagTools::filteredPFChargedHadrCands(), TauTagTools::filteredPFChargedHadrCandsByNumTrkHits(), TauTagTools::filteredPFGammaCands(), TauTagTools::filteredPFNeutrHadrCands(), TauTagTools::filteredTracks(), TauTagTools::filteredTracksByNumTrkHits(), pat::TriggerEvent::filterInPath(), pat::TriggerEvent::filterRef(), CaloRecoTauTagInfoAlgorithm::filterTracksByQualityBit(), GenParticlesHelper::findDescendents(), GenHFHadronMatcher::findHadronJets(), JPTJetAnalyzer::findPtFractionInCone(), GenParticlesHelper::findSisters(), JetPlusTrackCorrector::findTrack(), GenParticlePruner::flagDaughters(), GenParticlePruner::flagMothers(), TrackingParticle::genParticle_end(), TrackingVertex::genVertices_end(), InvariantMassAlgorithm::getMinimumClusterDR(), CaloRecoTauTagInfoAlgorithm::getNeutralEcalBasicClusters(), JPTJetTesterUnCorr::getSumPt(), JPTJetTester::getSumPt(), TauTagValidation::getSumPt(), TauLeadTrackExtractor< reco::PFTau >::getTrackPtSum(), GenParticlesHelper::hasAncestor(), HeavyQuarkFromMPIFilterAlgo::hasMPIAncestor(), reco::isodeposit::OtherJetConstituentsDeltaRVeto::initialize(), edm::OneToMany< JetC, reco::TrackCollection >::insert(), ConvBremSeedProducer::isGsfTrack(), reco::tau::isTauSignalPFCandidate(), JetPlusTrackCorrector::jetDirFromTracks(), reco::IsolatedTauTagInfo::leadingSignalTrack(), reco::tau::RecoTauIsolationMasking::mask(), JetPlusTrackCorrector::matchTracks(), TrackingTruthProducer::mergeBremsstrahlung(), pat::TriggerEvent::objectInAlgorithm(), pat::TriggerEvent::objectInPath(), ElementsInEllipse< reco::PFCandidate, reco::PFCandidateCollection >::operator()(), ElementsInCone< math::XYZVector, DeltaR< math::XYZVector, math::XYZPoint >, std::pair< math::XYZPoint, float > >::operator()(), ElementsInAnnulus< math::XYZVector, DeltaR< math::XYZVector, math::XYZPoint >, Angle< math::XYZVector, math::XYZPoint >, std::pair< math::XYZPoint, float > >::operator()(), TauConeIsolationAlgo< T, C, M >::operator()(), CombinedSVComputerV2::operator()(), GhostTrackComputer::operator()(), CombinedSVComputer::operator()(), CombinedSVSoftLeptonComputer::operator()(), reco::tau::RecoTauElectronRejectionPlugin::operator()(), JoinCaloTowerRefVectorsWithoutDuplicates::operator()(), pat::TriggerEvent::pathObjects(), pat::TriggerEvent::pathRef(), PFTauElementsOperators::PFGammaCandsInOutEllipse(), reco::PFIsolatedTauTagInfo::PFIsolatedTauTagInfo(), reco::EMIsolatedTauTagInfo::pIsol(), L25TauAnalyzer::printInfo(), VZeroProducer::produce(), TrackIPProducer::produce(), HLTHcalTowerNoiseCleaner::produce(), TauGenJetProducer::produce(), JetPlusTrackProducer::produce(), PFRecoTauDecayModeDeterminator::produce(), JetPlusTrackProducerAA::produce(), SecondaryVertexProducer::produce(), JetPlusTrackCorrector::rebuildJta(), TCTauAlgorithm::recalculateEnergy(), reco::TrackExtraBase::recHitsEnd(), reco::CastorTower::rechitsEnd(), GenParticlePruner::recursiveFlagDaughters(), GenParticlePruner::recursiveFlagMothers(), SoftLepton::refineJetAxis(), HPSPFRecoTauAlgorithm::removeCandidateFromRefVector(), TauMETAlgo::run(), reco::PFNuclearInteraction::secPFRecTracks_end(), reco::NuclearInteraction::seeds_end(), JetFlavourClustering::setFlavours(), reco::CombinedTauTagInfo::signalTks_qsum(), TrackingVertex::sourceTracks_end(), ConeIsolationAlgorithm::tag(), PFRecoTauDiscriminationByFlightPathSignificance::threeProngFlightPathSig(), reco::CastorCluster::towersEnd(), reco::TrackKinematics::TrackKinematics(), reco::IsolatedTauTagInfo::tracksInCone(), and reco::HcalNoiseRBX::uniqueTowers().

249  {
250  return iterator(refVector_.refCore(), refVector_.keys().end());
251  }
contents_type refVector_
Definition: RefVector.h:156
RefCore const & refCore() const
Accessor for product ID and product getter.
Definition: RefVectorBase.h:42
refhelper::RefVectorTrait< C, T, F >::iterator_type iterator
Definition: RefVector.h:40
keys_type const & keys() const
Accessor for vector of keys and pointers.
Definition: RefVectorBase.h:45
template<typename C , typename T , typename F >
RefVector< C, T, F >::iterator edm::RefVector< C, T, F >::erase ( iterator const &  pos)
inline

Erase an element from the vector.

Definition at line 234 of file RefVector.h.

References edm::RefVector< C, T, F >::begin(), edm::RefVectorBase< T >::eraseAtIndex(), getHLTprescales::index, parseEventContent::prod, edm::RefVectorBase< T >::refCore(), and edm::RefVector< C, T, F >::refVector_.

Referenced by HPSPFRecoTauAlgorithm::removeCandidateFromRefVector().

234  {
236  typename contents_type::keys_type::iterator newPos =
237  refVector_.eraseAtIndex(index);
238  RefCore const& prod = refVector_.refCore();
239  //return typename RefVector<C, T, F>::iterator(prod, newPos);
240  return iterator(prod, newPos);
241  }
contents_type refVector_
Definition: RefVector.h:156
keys_type::iterator eraseAtIndex(size_type index)
erase an element from the vector
Definition: RefVectorBase.h:65
uint16_t size_type
const_iterator begin() const
Initialize an iterator over the RefVector.
Definition: RefVector.h:244
RefCore const & refCore() const
Accessor for product ID and product getter.
Definition: RefVectorBase.h:42
refhelper::RefVectorTrait< C, T, F >::iterator_type iterator
Definition: RefVector.h:40
template<typename C , typename T , typename F >
void edm::RefVector< C, T, F >::fillView ( ProductID const &  id,
std::vector< void const * > &  pointers,
helper_vector helpers 
) const

Definition at line 184 of file RefVector.h.

References edm::RefVector< C, T, F >::begin(), alignCSCRings::e, edm::RefVector< C, T, F >::end(), h, i, combine::key, edm::RefVector< C, T, F >::product(), edm::reftobase::RefVectorHolderBase::push_back(), edm::reftobase::RefVectorHolderBase::reserve(), and edm::RefVector< C, T, F >::size().

186  {
187  typedef Ref<C,T,F> ref_type;
188  typedef reftobase::RefHolder<ref_type> holder_type;
189 
190  pointers.reserve(this->size());
191  helpers.reserve(this->size());
192 
193  size_type key = 0;
194  for(const_iterator i=begin(), e=end(); i!=e; ++i, ++key) {
195  member_type const* address = i->isNull() ? 0 : &**i;
196  pointers.push_back(address);
197  holder_type h(ref_type(i->id(), address, i->key(), product()));
198  helpers.push_back(&h);
199  }
200  }
int i
Definition: DBlmapReader.cc:9
char * address
Definition: mlp_lapack.h:14
C const * product() const
Accessor for product collection.
Definition: RefVector.h:272
const_iterator end() const
Termination of iteration.
Definition: RefVector.h:249
const_iterator begin() const
Initialize an iterator over the RefVector.
Definition: RefVector.h:244
KeyVec::size_type size_type
Definition: RefVector.h:51
iterator const_iterator
Definition: RefVector.h:41
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
list key
Definition: combine.py:13
size_type size() const
Size of the RefVector.
Definition: RefVector.h:89
template<typename C, typename T, typename F>
bool edm::RefVector< C, T, F >::hasProductCache ( ) const
inline

Checks if product is in memory.

Definition at line 147 of file RefVector.h.

147 {return refVector_.refCore().productPtr() != 0;}
contents_type refVector_
Definition: RefVector.h:156
RefCore const & refCore() const
Accessor for product ID and product getter.
Definition: RefVectorBase.h:42
void const * productPtr() const
Definition: RefCore.h:32
template<typename C, typename T, typename F>
ProductID edm::RefVector< C, T, F >::id ( void  ) const
inline

Accessor for product ID.

Definition at line 104 of file RefVector.h.

Referenced by edm::RefVector< TrackingRecHitCollection >::isNull(), and RecoTauJetRegionProducer::produce().

104 {return refVector_.refCore().id();}
contents_type refVector_
Definition: RefVector.h:156
RefCore const & refCore() const
Accessor for product ID and product getter.
Definition: RefVectorBase.h:42
ProductID id() const
Definition: RefCore.h:29
template<typename C, typename T, typename F>
bool edm::RefVector< C, T, F >::isAvailable ( ) const
inline

Checks if product collection is in memory or available in the Event. No type checking is done.

Definition at line 124 of file RefVector.h.

Referenced by EwkMuTauHistManager::fillHistograms().

124 {return refVector_.refCore().isAvailable();}
contents_type refVector_
Definition: RefVector.h:156
RefCore const & refCore() const
Accessor for product ID and product getter.
Definition: RefVectorBase.h:42
bool isAvailable() const
Definition: RefCore.cc:112
template<typename C, typename T, typename F>
bool edm::RefVector< C, T, F >::isNonnull ( ) const
inline

Checks for non-null.

Definition at line 113 of file RefVector.h.

113 {return !isNull();}
bool isNull() const
Checks for null.
Definition: RefVector.h:110
template<typename C, typename T, typename F>
bool edm::RefVector< C, T, F >::isNull ( ) const
inline

Checks for null.

Definition at line 110 of file RefVector.h.

Referenced by edm::RefVector< TrackingRecHitCollection >::isNonnull(), and edm::RefVector< TrackingRecHitCollection >::operator!().

110 {return !id().isValid();}
ProductID id() const
Accessor for product ID.
Definition: RefVector.h:104
bool isValid() const
Definition: ProductID.h:35
template<typename C, typename T, typename F>
bool edm::RefVector< C, T, F >::isTransient ( ) const
inline

Checks if product collection is tansient (i.e. non persistable)

Definition at line 127 of file RefVector.h.

127 {return refVector_.refCore().isTransient();}
contents_type refVector_
Definition: RefVector.h:156
RefCore const & refCore() const
Accessor for product ID and product getter.
Definition: RefVectorBase.h:42
bool isTransient() const
Definition: RefCore.h:69
template<typename C, typename T, typename F>
bool edm::RefVector< C, T, F >::operator! ( ) const
inline

Checks for null.

Definition at line 116 of file RefVector.h.

116 {return isNull();}
bool isNull() const
Checks for null.
Definition: RefVector.h:110
template<typename C, typename T, typename F>
RefVector< C, T, F > & edm::RefVector< C, T, F >::operator= ( RefVector< C, T, F > const &  rhs)
inline

Copy assignment.

Definition at line 169 of file RefVector.h.

References edm::RefVector< C, T, F >::swap(), and groupFilesInBlocks::temp.

169  {
170  RefVector<C, T, F> temp(rhs);
171  this->swap(temp);
172  return *this;
173  }
void swap(RefVector< C, T, F > &other)
Swap two vectors.
Definition: RefVector.h:162
template<typename C, typename T, typename F>
value_type const edm::RefVector< C, T, F >::operator[] ( size_type  idx) const
inline

Retrieve an element of the RefVector.

Definition at line 69 of file RefVector.h.

69  {
70  key_type const& key = refVector_.keys()[idx];
71  RefCore const& prod = refVector_.refCore();
72  return value_type(prod, key);
73  }
value_type::key_type key_type
Definition: RefVector.h:47
contents_type refVector_
Definition: RefVector.h:156
RefCore const & refCore() const
Accessor for product ID and product getter.
Definition: RefVectorBase.h:42
keys_type const & keys() const
Accessor for vector of keys and pointers.
Definition: RefVectorBase.h:45
list key
Definition: combine.py:13
refhelper::RefVectorTrait< C, T, F >::ref_type value_type
Definition: RefVector.h:42
template<typename C , typename T , typename F >
C const * edm::RefVector< C, T, F >::product ( ) const

Accessor for product collection.

Definition at line 272 of file RefVector.h.

References svgfig::template().

Referenced by TrackAssociatorByHits::associateRecoToSim(), TrackAssociatorByChi2::associateRecoToSim(), MuonAssociatorByHits::associateRecoToSimIndices(), TrackAssociatorByHits::associateSimToReco(), TrackAssociatorByChi2::associateSimToReco(), MuonAssociatorByHits::associateSimToRecoIndices(), edm::RefVector< C, T, F >::fillView(), and edm::Ref< C, T, F >::Ref().

272  {
273  return isNull() ? 0 : edm::template getProduct<C>(refVector_.refCore());
274  }
contents_type refVector_
Definition: RefVector.h:156
bool isNull() const
Checks for null.
Definition: RefVector.h:110
RefCore const & refCore() const
Accessor for product ID and product getter.
Definition: RefVectorBase.h:42
def template
Definition: svgfig.py:520
template<typename C, typename T, typename F>
EDProductGetter const* edm::RefVector< C, T, F >::productGetter ( ) const
inline

Accessor for product getter.

Definition at line 107 of file RefVector.h.

107 {return refVector_.refCore().productGetter();}
contents_type refVector_
Definition: RefVector.h:156
RefCore const & refCore() const
Accessor for product ID and product getter.
Definition: RefVectorBase.h:42
EDProductGetter const * productGetter() const
Definition: RefCore.h:53
template<typename C, typename T, typename F>
void edm::RefVector< C, T, F >::push_back ( value_type const &  ref)
inline

Add a Ref<C, T> to the RefVector.

Definition at line 64 of file RefVector.h.

Referenced by pat::TriggerEvent::acceptedAlgorithms(), pat::TriggerEvent::acceptedAlgorithmsGtl(), pat::TriggerEvent::acceptedConditions(), pat::TriggerEvent::acceptedFilters(), pat::TriggerEvent::acceptedPaths(), pat::TriggerEvent::acceptedPhysAlgorithms(), pat::TriggerEvent::acceptedPhysAlgorithmsGtl(), pat::TriggerEvent::acceptedTechAlgorithms(), pat::TriggerEvent::acceptedTechAlgorithmsGtl(), reco::TrackExtraBase::add(), reco::CastorTower::add(), reco::CastorCluster::add(), reco::GsfElectron::addAmbiguousGsfTrack(), reco::PhotonCore::addConversion(), reco::PFCandidatePhotonExtra::addConversionRef(), reco::CompositeRefCandidate::addDaughter(), TrackingVertex::addDaughterTrack(), TrackingParticle::addDecayVertex(), reco::PhotonCore::addElectronPixelSeed(), reco::PFCandidate::addElementInBlock(), TrackingParticle::addGenParticle(), TrackingVertex::addGenVertex(), reco::CompositeRefCandidate::addMother(), reco::PhotonCore::addOneLegConversion(), TrackingVertex::addParentTrack(), pat::TriggerEvent::algorithmConditions(), pat::TriggerEvent::algorithmObjects(), pat::TriggerEvent::algorithmRefs(), RecoMuonValidator::analyze(), TrackIPTagPlotter::analyzeTag(), helper::SimpleJetTrackAssociator::associate(), JetTracksAssociationXtrpCalo::associateInputTracksToJet(), HPSPFRecoTauAlgorithm::associateIsolationCandidates(), MuonAssociatorByHits::associateMuons(), TrackAssociatorBase::associateRecoToSim(), TrackAssociatorBase::associateSimToReco(), helper::SimpleJetTrackAssociator::associateTransient(), CaloRecoTauAlgorithm::buildCaloTau(), HPSPFRecoTauAlgorithm::buildOneProng(), HPSPFRecoTauAlgorithm::buildOneProngStrip(), HPSPFRecoTauAlgorithm::buildOneProngTwoStrips(), PFRecoTauAlgorithm::buildPFTau(), PFRecoTauTagInfoAlgorithm::buildPFTauTagInfo(), HPSPFRecoTauAlgorithm::buildThreeProngs(), EcalHaloAlgo::Calculate(), CSCHaloAlgo::Calculate(), JetPlusTrackProducerAA::calculateBGtracksJet(), reco::CastorCluster::CastorCluster(), reco::CastorTower::CastorTower(), PFTauElementsOperators::computeInsideOutContents(), pat::TriggerEvent::conditionAlgorithms(), pat::TriggerEvent::conditionObjects(), pat::TriggerEvent::conditionRefs(), PFTauElementsOperators::copyCandRefsFilteredByPt(), JetPlusTrackCorrector::excludeJta(), pat::GenericParticle::fillInFrom(), PFTauViewRefSelector::filter(), FastElectronSeedProducer::filterClusters(), ElectronSeedProducer::filterClusters(), TauTagTools::filteredPFChargedHadrCands(), TauTagTools::filteredPFChargedHadrCandsByNumTrkHits(), TauTagTools::filteredPFGammaCands(), TauTagTools::filteredPFNeutrHadrCands(), TauTagTools::filteredTracks(), TauTagTools::filteredTracksByNumTrkHits(), pat::TriggerEvent::filterObjects(), pat::TriggerEvent::filterPaths(), pat::TriggerEvent::filterRefs(), CaloRecoTauTagInfoAlgorithm::filterTracksByQualityBit(), GenParticlesHelper::findDescendents(), GenParticlesHelper::findParticles(), GenParticlesHelper::findSisters(), ggPFTracks::getPFConvTracks(), reco::PFJet::getTrackRefs(), reco::isodeposit::OtherJetConstituentsDeltaRVeto::initialize(), pat::Tau::isolationPFCands(), pat::Tau::isolationPFChargedHadrCands(), pat::Tau::isolationPFGammaCands(), pat::Tau::isolationPFNeutrHadrCands(), pat::Tau::isolationTracks(), MuonSegmentMatcher::matchDT(), JetPlusTrackCorrector::matchTracks(), PFCandidateStripMerger::mergeCandidates(), reco::tau::disc::notMainTrack(), pat::TriggerEvent::objectAlgorithms(), pat::TriggerEvent::objectConditions(), pat::TriggerEvent::objectFilters(), pat::TriggerEvent::objectPaths(), pat::TriggerEvent::objectRefs(), pat::TriggerEvent::objects(), ElementsInAnnulus< math::XYZVector, DeltaR< math::XYZVector, math::XYZPoint >, Angle< math::XYZVector, math::XYZPoint >, std::pair< math::XYZPoint, float > >::operator()(), TauConeIsolationAlgo< T, C, M >::operator()(), ElementsInCone< math::XYZVector, DeltaR< math::XYZVector, math::XYZPoint >, std::pair< math::XYZPoint, float > >::operator()(), ElementsInEllipse< reco::PFCandidate, reco::PFCandidateCollection >::operator()(), reco::tau::RecoTauPhotonFilter::operator()(), reco::tau::RecoTauTwoProngFilter::operator()(), JoinCaloTowerRefVectorsWithoutDuplicates::operator()(), pat::TriggerEvent::pathFilters(), pat::TriggerEvent::pathModules(), pat::TriggerEvent::pathObjects(), pat::TriggerEvent::pathRefs(), reco::PFTauTagInfo::PFCands(), PFTauElementsOperators::PFGammaCandsInOutEllipse(), reco::PFIsolatedTauTagInfo::PFIsolatedTauTagInfo(), reco::PFTauDecayMode::pfMasterClones(), pat::TriggerEvent::physAlgorithms(), VZeroProducer::produce(), JetTracksAssociationDRVertex::produce(), JetTracksAssociationDRVertexAssigned::produce(), TrackIPProducer::produce(), JetTracksAssociationDRCalo::produce(), JetVetoedTracksAssociationDRVertex::produce(), CastorFastTowerProducer::produce(), CastorFastClusterProducer::produce(), CleanAndMergeProducer::produce(), PFDisplacedTrackerVertexProducer::produce(), PFNuclearProducer::produce(), PFTauViewRefMerger::produce(), RecoTauPiZeroUnembedder::produce(), PFRecoTauTagInfoProducer::produce(), PixelVertexProducer::produce(), TrackVertexArbitrator::produce(), CastorClusterProducer::produce(), SecondaryVertexProducer::produce(), MuonMCClassifier::produce(), JetFlavourClustering::produce(), JetPlusTrackCorrector::rebuildJta(), ConfigurableTertiaryTracksVertexFinder::reconstruct(), BtoCharmDecayVertexMerger::resolveBtoDchain(), PFPhotonAlgo::RunPFPhoton(), RecoTrackRefSelector::select(), reco::SecondaryVertexTagInfo::selectedTracks(), pat::Tau::signalPFCands(), pat::Tau::signalPFChargedHadrCands(), pat::Tau::signalPFGammaCands(), pat::Tau::signalPFNeutrHadrCands(), pat::Tau::signalTracks(), reco::TrackIPTagInfo::sortedTracks(), ConeIsolationAlgorithm::tag(), pat::TriggerEvent::techAlgorithms(), reco::IsolatedTauTagInfo::tracksInCone(), edm::OneToMany< JetC, reco::TrackCollection >::transientMap(), edm::OneToMany< JetC, reco::TrackCollection >::val(), and reco::SecondaryVertexTagInfo::vertexTracks().

64  {
65  refVector_.pushBack(ref.refCore(), ref.key());
66  }
contents_type refVector_
Definition: RefVector.h:156
void pushBack(RefCore const &product, KEY const &key)
Definition: RefVectorBase.h:53
template<typename C, typename T, typename F>
contents_type const& edm::RefVector< C, T, F >::refVector ( ) const
inline

Accessor for all data.

Definition at line 83 of file RefVector.h.

83 {return refVector_;}
contents_type refVector_
Definition: RefVector.h:156
template<typename C, typename T, typename F>
void edm::RefVector< C, T, F >::reserve ( size_type  n)
inline
template<typename C, typename T, typename F>
size_type edm::RefVector< C, T, F >::size ( void  ) const
inline

Size of the RefVector.

Definition at line 89 of file RefVector.h.

Referenced by GenParticlePruner::addDaughterRefs(), reco::PFCandidate::addElementInBlock(), GenParticlePruner::addMotherRefs(), reco::GsfElectron::ambiguousGsfTracksSize(), HLTTauDQMTrkPlotter::analyze(), PhotonsWithConversionsAnalyzer::analyze(), HLTMonBTagIPSource::analyze(), PhotonValidator::analyze(), L25TauAnalyzer::analyze(), PhotonAnalyzer::analyze(), BeamHaloAnalyzer::analyze(), TrackIPTagPlotter::analyzeTag(), TrackAssociatorByHits::associateRecoToSim(), TrackAssociatorByPosition::associateRecoToSim(), TrackAssociatorByChi2::associateRecoToSim(), MuonAssociatorByHits::associateRecoToSimIndices(), TrackAssociatorByHits::associateSimToReco(), TrackAssociatorByPosition::associateSimToReco(), TrackAssociatorByChi2::associateSimToReco(), MuonAssociatorByHits::associateSimToRecoIndices(), QuickTrackAssociatorByHits::associateTrack(), PVPositionBuilder::average(), ggPFTracks::BeamLineInt(), CaloRecoTauAlgorithm::buildCaloTau(), HPSPFRecoTauAlgorithm::buildOneProng(), HPSPFRecoTauAlgorithm::buildOneProngStrip(), HPSPFRecoTauAlgorithm::buildOneProngTwoStrips(), PFRecoTauAlgorithm::buildPFTau(), HPSPFRecoTauAlgorithm::buildPFTau(), HPSPFRecoTauAlgorithm::buildThreeProngs(), reco::TauMassTagInfo::calculateTrkP4(), reco::JPTJet::chargedMultiplicity(), PFTauElementsOperators::computeInsideOutContents(), reco::Photon::conversionTrackProvenance(), JetPlusTrackCorrector::correctAA(), HPSPFRecoTauAlgorithm::createMergedLorentzVector(), PFPhotonTranslator::createPhotonCores(), reco::tau::disc::Dalitz2(), reco::PFTau::decayMode(), PFRecoTauDiscriminationByDeltaE::DeltaE(), CaloRecoTauDiscriminationByDeltaE::DeltaE(), reco::IsolatedTauTagInfo::discriminator(), PFTauElementsOperators::discriminatorByIsolPFCandsN(), PFTauElementsOperators::discriminatorByIsolPFChargedHadrCandsN(), PFTauElementsOperators::discriminatorByIsolPFGammaCandsN(), PFTauElementsOperators::discriminatorByIsolPFNeutrHadrCandsN(), TauElementsOperators::discriminatorByIsolTracksN(), reco::PFTau::dump(), JetPlusTrackCorrector::elecCorrection(), reco::JPTJet::elecMultiplicity(), pat::Jet::elecMultiplicity(), reco::PFCandidate::elementsInBlocks(), pat::Tau::embedIsolationPFCands(), pat::Tau::embedIsolationPFChargedHadrCands(), pat::Tau::embedIsolationPFGammaCands(), pat::Tau::embedIsolationPFNeutralHadrCands(), pat::Tau::embedIsolationTracks(), pat::Tau::embedSignalPFCands(), pat::Tau::embedSignalPFChargedHadrCands(), pat::Tau::embedSignalPFGammaCands(), pat::Tau::embedSignalPFNeutralHadrCands(), pat::Tau::embedSignalTracks(), pat::GenericParticle::embedTracks(), TrackClassifierByProxy< Collection >::evaluate(), VertexClassifierByProxy< reco::SecondaryVertexTagInfoCollection >::evaluate(), JetPlusTrackCorrector::excludeJta(), EwkMuTauHistManager::fillHistograms(), JPTJetAnalyzer::fillTrackHistograms(), edm::RefVector< C, T, F >::fillView(), FastElectronSeedProducer::filterClusters(), ElectronSeedProducer::filterClusters(), ElectronSeedProducer::filterSeeds(), DivisiveVertexFinder::findVertexes(), DivisiveVertexFinder::findVertexesAlt(), pat::Jet::genJet(), HLTMuonL2ToL1Map::getL1Keys(), ggPFTracks::getPFConvTracks(), reco::JetTrackMatch< JetC >::getTracks(), NuclearInteractionEDProducer::isInside(), reco::tau::disc::IsolationChargedAveragePtFraction(), PFTauQualityCutWrapper::isolationChargedObjects(), PFTauQualityCutWrapper::isolationGammaObjects(), reco::PFTau::isolationPiZeroCandidates(), PFTauQualityCutWrapper::isolationPUObjects(), HLTMuonL2ToL1Map::isTriggeredByL1(), reco::IsolatedTauTagInfo::leadingSignalTrack(), reco::tau::disc::mainTrack(), JetPlusTrackCorrector::matchTracks(), PFCandidateStripMerger::mergeCandidates(), JetPlusTrackCorrector::muonCorrection(), reco::JPTJet::muonMultiplicity(), AntiElectronIDMVA2::MVAValue(), AntiElectronIDMVA3::MVAValue(), reco::tau::helpers::nCharged(), TrackingVertex::nDaughterTracks(), TrackingVertex::nGenVertices(), reco::tau::disc::notMainTrack(), TrackingVertex::nSourceTracks(), reco::CompositeRefCandidate::numberOfDaughters(), reco::EcalHaloData::NumberOfHaloSuperClusters(), reco::CSCHaloData::NumberOfHaloTracks(), reco::CompositeRefCandidate::numberOfMothers(), pat::GenericParticle::numberOfTracks(), CombinedSVComputer::operator()(), CombinedSVComputerV2::operator()(), CombinedSVSoftLeptonComputer::operator()(), reco::tau::RecoTauElectronRejectionPlugin::operator()(), reco::tau::RecoTauTwoProngFilter::operator()(), operator<<(), reco::operator<<(), reco::tau::disc::OutlierN(), reco::tau::disc::OutlierNCharged(), pat::TriggerEvent::pathModules(), JetPlusTrackCorrector::pionCorrection(), reco::JPTJet::print(), L25TauAnalyzer::printInfo(), reco::JPTJet::printJet(), PFTauElecRejectionBenchmark::process(), VZeroProducer::produce(), HLTTauProducer::produce(), CleanAndMergeProducer::produce(), TauGenJetProducer::produce(), RecoTauPiZeroUnembedder::produce(), RecoTauJetRegionProducer::produce(), PixelVertexProducer::produce(), RecoTauPiZeroProducer::produce(), RecoTauCleanerImpl< Prod >::produce(), PFRecoTauDecayModeDeterminator::produce(), PFPhotonTranslator::produce(), reco::BeamHaloSummaryProducer::produce(), TriggerMatcherToHLTDebug::produce(), reco::TrackExtraBase::recHitsSize(), reco::CastorTower::rechitsSize(), PFRootEventManager::reconstructGenJets(), ElectronSeedGenerator::run(), FastElectronSeedGenerator::run(), PFPhotonAlgo::RunPFPhoton(), reco::tau::disc::ScaledOpeningDeltaR(), reco::NuclearInteraction::seedsSize(), JetFlavourClustering::setFlavours(), PFTauQualityCutWrapper::signalChargedObjects(), PFTauQualityCutWrapper::signalGammaObjects(), reco::PFTau::signalPiZeroCandidates(), reco::CombinedTauTagInfo::signalTks_qsum(), RecoTrackRefSelector::size(), ggPFTracks::SLCombZVtx(), TauTagTools::sortRefVectorByPt(), CaloRecoTauDiscriminationByFlightPathSignificance::threeProngFlightPathSig(), CaloRecoTauDiscriminationByInvMass::threeProngInvMass(), reco::CastorCluster::towersSize(), ggPFTracks::TrackProj(), reco::JetTracksAssociation::tracksP4(), TrackVertexArbitration::trackVertexArbitrator(), VertexHistoryAnalyzer::vertexString(), TrackHistoryAnalyzer::vertexString(), and PVPositionBuilder::wtAverage().

89 {return refVector_.size();}
contents_type refVector_
Definition: RefVector.h:156
size_type size() const
Size of vector.
Definition: RefVectorBase.h:51
template<typename C, typename T, typename F>
void edm::RefVector< C, T, F >::swap ( RefVector< C, T, F > &  other)
inline

Member Data Documentation

template<typename C, typename T, typename F>
contents_type edm::RefVector< C, T, F >::refVector_
private