#include <RefVector.h>
Public Types | |
typedef C | collection_type |
typedef iterator | const_iterator |
typedef value_type const | const_reference |
typedef RefVectorBase< key_type > | contents_type |
typedef F | finder_type |
typedef refhelper::RefVectorTrait< C, T, F >::iterator_type | iterator |
typedef value_type::key_type | key_type |
typedef T | member_type |
typedef const_reference | reference |
typedef RefItem< key_type > | RefItemType |
typedef std::vector< RefItemType > | RefItemVec |
typedef RefItemVec::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. | |
const_iterator | begin () const |
Initialize an iterator over the RefVector. | |
size_type | capacity () const |
Capacity of the RefVector. | |
void | clear () |
Clear the vector. | |
bool | empty () const |
Is the RefVector empty. | |
const_iterator | end () const |
Termination of iteration. | |
iterator | erase (iterator const &pos) |
Erase an element from the vector. | |
void | fillView (ProductID const &id, std::vector< void const * > &pointers, helper_vector &helpers) const |
bool | hasProductCache () const |
Checks if product is in memory. | |
ProductID | id () const |
Accessor for product ID. | |
bool | isAvailable () const |
bool | isNonnull () const |
Checks for non-null. | |
bool | isNull () const |
Checks for null. | |
bool | isTransient () const |
Checks if product collection is tansient (i.e. non persistable) | |
bool | operator! () const |
Checks for null. | |
RefVector & | operator= (RefVector const &rhs) |
Copy assignment. | |
value_type const | operator[] (size_type idx) const |
Retrieve an element of the RefVector. | |
C const * | product () const |
Accessor for product collection. | |
EDProductGetter const * | productGetter () const |
Accessor for product getter. | |
void | push_back (value_type const &ref) |
Add a Ref<C, T> to the RefVector. | |
RefVector () | |
contents_type const & | refVector () const |
Accessor for all data. | |
RefVector (ProductID const &id) | |
void | reserve (size_type n) |
Reserve space for RefVector. | |
size_type | size () const |
Size of the RefVector. | |
void | swap (RefVector< C, T, F > &other) |
Swap two vectors. | |
Private Attributes | |
contents_type | refVector_ |
Definition at line 35 of file RefVector.h.
typedef C edm::RefVector< C, T, F >::collection_type |
Definition at line 37 of file RefVector.h.
typedef iterator edm::RefVector< C, T, F >::const_iterator |
Definition at line 41 of file RefVector.h.
typedef value_type const edm::RefVector< C, T, F >::const_reference |
Definition at line 43 of file RefVector.h.
typedef RefVectorBase<key_type> edm::RefVector< C, T, F >::contents_type |
Definition at line 53 of file RefVector.h.
typedef F edm::RefVector< C, T, F >::finder_type |
Definition at line 39 of file RefVector.h.
typedef refhelper::RefVectorTrait<C, T, F>::iterator_type edm::RefVector< C, T, F >::iterator |
Definition at line 40 of file RefVector.h.
typedef value_type::key_type edm::RefVector< C, T, F >::key_type |
Definition at line 47 of file RefVector.h.
typedef T edm::RefVector< C, T, F >::member_type |
Definition at line 38 of file RefVector.h.
typedef const_reference edm::RefVector< C, T, F >::reference |
Definition at line 44 of file RefVector.h.
typedef RefItem<key_type> edm::RefVector< C, T, F >::RefItemType |
Definition at line 48 of file RefVector.h.
typedef std::vector<RefItemType> edm::RefVector< C, T, F >::RefItemVec |
Definition at line 49 of file RefVector.h.
typedef RefItemVec::size_type edm::RefVector< C, T, F >::size_type |
Definition at line 52 of file RefVector.h.
typedef refhelper::RefVectorTrait<C, T, F>::ref_type edm::RefVector< C, T, F >::value_type |
Definition at line 42 of file RefVector.h.
edm::RefVector< C, T, F >::RefVector | ( | ) | [inline] |
Default constructor needed for reading from persistent store. Not for direct use.
Definition at line 57 of file RefVector.h.
: refVector_() {}
edm::RefVector< C, T, F >::RefVector | ( | ProductID const & | id | ) | [inline] |
Definition at line 59 of file RefVector.h.
: refVector_(id) {}
value_type const edm::RefVector< C, T, F >::at | ( | size_type | idx | ) | const [inline] |
Retrieve an element of the RefVector.
Definition at line 72 of file RefVector.h.
Referenced by 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(), PFCandidateStripMerger::mergeCandidates(), TauTagTools::sortRefsByOpeningDistance::operator()(), TauTagTools::refVectorPtSorter::operator()(), TauTagTools::filterChargedAndNeutralsByPt::operator()(), HPSPFRecoTauAlgorithm::refitThreeProng(), and TauTagTools::sortRefVectorByPt().
{ RefItemType const& item = refVector_.items().at(idx); RefCore const& prod = refVector_.refCore(); return value_type(prod, item); }
RefVector< C, T, F >::const_iterator edm::RefVector< C, T, F >::begin | ( | void | ) | const |
Initialize an iterator over the RefVector.
Definition at line 237 of file RefVector.h.
Referenced by FWTauProxyBuilderBase::addConstituentTracks(), GenParticlePruner::addDaughterRefs(), GenParticlePruner::addMotherRefs(), pat::TriggerEvent::algorithmObjects(), reco::GsfElectron::ambiguousGsfTracksBegin(), HPSPFRecoTauAlgorithm::associateIsolationCandidates(), MuonAssociatorByHits::associateMuons(), reco::CompositeRefCandidate::begin(), RecoTrackRefSelector::begin(), CaloRecoTauAlgorithm::buildCaloTau(), HPSPFRecoTauAlgorithm::buildOneProngStrip(), HPSPFRecoTauAlgorithm::buildOneProngTwoStrips(), PFRecoTauAlgorithm::buildPFTau(), PFRecoTauTagInfoAlgorithm::buildPFTauTagInfo(), JetPlusTrackCorrector::calculateCorr(), reco::TauMassTagInfo::calculateTrkP4(), reco::HcalNoiseHPD::caloTowerEmE(), reco::HcalNoiseHPD::caloTowerEmFraction(), reco::HcalNoiseHPD::caloTowerHadE(), reco::HcalNoiseHPD::caloTowerTotalE(), reco::CastorCluster::CastorCluster(), reco::CastorTower::CastorTower(), reco::CastorTower::cellsBegin(), TagProbeFitTreeProducer::checkMother(), CommonHcalNoiseRBXData::CommonHcalNoiseRBXData(), reco::JetSignalVertexCompatibilityAlgo::compatibility(), CastorTowerProducer::ComputeTowerVariable(), pat::TriggerEvent::conditionInAlgorithm(), PFTauElementsOperators::copyCandRefsFilteredByPt(), JetPlusTrackCorrector::correctAA(), TrackingVertex::daughterTracks_begin(), TrackingParticle::decayVertices_begin(), PFTauElementsOperators::discriminatorByIsolPFCandsEtSum(), PFTauElementsOperators::discriminatorByIsolPFChargedHadrCandsEtSum(), PFTauElementsOperators::discriminatorByIsolPFGammaCandsEtSum(), PFTauElementsOperators::discriminatorByIsolPFNeutrHadrCandsEtSum(), pat::GenericParticle::embedTracks(), JetPlusTrackCorrector::excludeJta(), VertexFitterResult::fill(), reco::HcalNoiseInfoProducer::filldigis(), PFTauDiscriminants::PFTauDiscriminantManager::fillOutlierObjects(), JPTJetAnalyzer::fillSiStripSoNForTracks(), JPTJetAnalyzer::fillTrackHistograms(), TauTagTools::filteredPFChargedHadrCands(), TauTagTools::filteredPFChargedHadrCandsByNumTrkHits(), TauTagTools::filteredPFGammaCands(), TauTagTools::filteredPFNeutrHadrCands(), TauTagTools::filteredTracks(), TauTagTools::filteredTracksByNumTrkHits(), pat::TriggerEvent::filterInPath(), CaloRecoTauTagInfoAlgorithm::filterTracksByQualityBit(), GenParticlesHelper::findDescendents(), JPTJetAnalyzer::findPtFractionInCone(), GenParticlesHelper::findSisters(), JetPlusTrackCorrector::findTrack(), GenParticlePruner::flagDaughters(), GenParticlePruner::flagMothers(), TrackingParticle::genParticle_begin(), TrackingVertex::genVertices_begin(), InvariantMassAlgorithm::getMinimumClusterDR(), CaloRecoTauTagInfoAlgorithm::getNeutralEcalBasicClusters(), JPTJetTester::getSumPt(), TauLeadTrackExtractor< reco::PFTau >::getTrackPtSum(), GenParticlesHelper::hasAncestor(), edm::OneToMany< JetC, reco::TrackCollection >::insert(), ConvBremSeedProducer::isGsfTrack(), JetPlusTrackCorrector::jetDirFromTracks(), reco::IsolatedTauTagInfo::leadingSignalTrack(), main(), JetPlusTrackCorrector::matchTracks(), reco::HcalNoiseHPD::maxRecHitTime(), TrackingTruthProducer::mergeBremsstrahlung(), reco::HcalNoiseHPD::minRecHitTime(), reco::HcalNoiseHPD::numRecHits(), pat::TriggerEvent::objectInAlgorithm(), pat::TriggerEvent::objectInPath(), reco::tau::RecoTauElectronRejectionPlugin::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()(), CombinedSVComputer::operator()(), TauConeIsolationAlgo< T, C, M >::operator()(), GhostTrackComputer::operator()(), JoinCaloTowerRefVectorsWithoutDuplicates::operator()(), pat::TriggerEvent::pathObjects(), PFTauElementsOperators::PFGammaCandsInOutEllipse(), reco::PFIsolatedTauTagInfo::PFIsolatedTauTagInfo(), reco::EMIsolatedTauTagInfo::pIsol(), PFRecoTauDecayModeDeterminator::produce(), RecoTauCleanerImpl< Prod >::produce(), JetPlusTrackProducerAA::produce(), JetPlusTrackProducer::produce(), VZeroProducer::produce(), TrackIPProducer::produce(), TauGenJetProducer::produce(), SecondaryVertexProducer::produce(), JetPlusTrackCorrector::rebuildJta(), TCTauAlgorithm::recalculateEnergy(), reco::HcalNoiseHPD::recHitEnergy(), reco::TrackExtraBase::recHitsBegin(), GenParticlePruner::recursiveFlagDaughters(), GenParticlePruner::recursiveFlagMothers(), SoftLepton::refineJetAxis(), HPSPFRecoTauAlgorithm::removeCandidateFromRefVector(), TauMETAlgo::run(), reco::PFNuclearInteraction::secPFRecTracks_begin(), reco::NuclearInteraction::seeds_begin(), reco::CombinedTauTagInfo::signalTks_qsum(), TrackingVertex::sourceTracks_begin(), ConeIsolationAlgorithm::tag(), PFRecoTauDiscriminationByFlightPathSignificance::threeProngFlightPathSig(), reco::CastorCluster::towersBegin(), reco::TrackKinematics::TrackKinematics(), reco::IsolatedTauTagInfo::tracksInCone(), and reco::HcalNoiseRBX::uniqueTowers().
{ return iterator(refVector_.refCore(), refVector_.items().begin()); }
size_type edm::RefVector< C, T, F >::capacity | ( | ) | const [inline] |
Capacity of the RefVector.
Definition at line 88 of file RefVector.h.
{return refVector_.capacity();}
void edm::RefVector< C, T, F >::clear | ( | void | ) | [inline] |
Clear the vector.
Definition at line 129 of file RefVector.h.
Referenced by TrackIPTagPlotter::analyzeTag(), JetTracksAssociationDRCalo::associateTracksToJet(), JetTracksAssociationDRVertex::associateTracksToJet(), PFRecoTauAlgorithm::buildPFTau(), jpt::MatchedTracks::clear(), jpt::JetTracks::clear(), reco::GsfElectron::clearAmbiguousGsfTracks(), reco::CompositeRefCandidate::clearDaughters(), TrackingVertex::clearDaughterTracks(), TrackingParticle::clearDecayVertices(), TrackingVertex::clearParentTracks(), reco::CombinedTauTagInfo::CombinedTauTagInfo(), CommonHcalNoiseRBXData::CommonHcalNoiseRBXData(), JetPlusTrackCorrector::excludeJta(), PFCandidateStripMerger::mergeCandidates(), reco::tau::RecoTauElectronRejectionPlugin::operator()(), JoinCaloTowerRefVectorsWithoutDuplicates::operator()(), reco::PFCombinedTauTagInfo::PFCombinedTauTagInfo(), JetPlusTrackCorrector::rebuildJta(), and RecoTrackRefSelector::select().
{refVector_.clear();}
bool edm::RefVector< C, T, F >::empty | ( | ) | const [inline] |
Is the RefVector empty.
Definition at line 82 of file RefVector.h.
Referenced by JetPlusTrackCorrector::calculateCorr(), PFTauElementsOperators::computeInsideOutContents(), JetPlusTrackCorrector::jetDirFromTracks(), JetPlusTrackCorrector::jtaUsingEventData(), and JetPlusTrackCorrector::tracksInCalo().
{return refVector_.empty();}
RefVector< C, T, F >::const_iterator edm::RefVector< C, T, F >::end | ( | void | ) | const |
Termination of iteration.
Definition at line 242 of file RefVector.h.
Referenced by FWTauProxyBuilderBase::addConstituentTracks(), GenParticlePruner::addDaughterRefs(), GenParticlePruner::addMotherRefs(), pat::TriggerEvent::algorithmObjects(), reco::GsfElectron::ambiguousGsfTracksEnd(), HPSPFRecoTauAlgorithm::associateIsolationCandidates(), MuonAssociatorByHits::associateMuons(), CaloRecoTauAlgorithm::buildCaloTau(), HPSPFRecoTauAlgorithm::buildOneProngStrip(), HPSPFRecoTauAlgorithm::buildOneProngTwoStrips(), PFRecoTauAlgorithm::buildPFTau(), PFRecoTauTagInfoAlgorithm::buildPFTauTagInfo(), JetPlusTrackCorrector::calculateCorr(), reco::TauMassTagInfo::calculateTrkP4(), reco::HcalNoiseHPD::caloTowerEmE(), reco::HcalNoiseHPD::caloTowerEmFraction(), reco::HcalNoiseHPD::caloTowerHadE(), reco::HcalNoiseHPD::caloTowerTotalE(), reco::CastorCluster::CastorCluster(), reco::CastorTower::CastorTower(), reco::CastorTower::cellsEnd(), TagProbeFitTreeProducer::checkMother(), CommonHcalNoiseRBXData::CommonHcalNoiseRBXData(), reco::JetSignalVertexCompatibilityAlgo::compatibility(), CastorTowerProducer::ComputeTowerVariable(), pat::TriggerEvent::conditionInAlgorithm(), PFTauElementsOperators::copyCandRefsFilteredByPt(), JetPlusTrackCorrector::correctAA(), TrackingVertex::daughterTracks_end(), TrackingParticle::decayVertices_end(), PFTauElementsOperators::discriminatorByIsolPFCandsEtSum(), PFTauElementsOperators::discriminatorByIsolPFChargedHadrCandsEtSum(), PFTauElementsOperators::discriminatorByIsolPFGammaCandsEtSum(), PFTauElementsOperators::discriminatorByIsolPFNeutrHadrCandsEtSum(), pat::GenericParticle::embedTracks(), reco::CompositeRefCandidate::end(), RecoTrackRefSelector::end(), JetPlusTrackCorrector::excludeJta(), VertexFitterResult::fill(), reco::HcalNoiseInfoProducer::filldigis(), PFTauDiscriminants::PFTauDiscriminantManager::fillOutlierObjects(), JPTJetAnalyzer::fillSiStripSoNForTracks(), JPTJetAnalyzer::fillTrackHistograms(), TauTagTools::filteredPFChargedHadrCands(), TauTagTools::filteredPFChargedHadrCandsByNumTrkHits(), TauTagTools::filteredPFGammaCands(), TauTagTools::filteredPFNeutrHadrCands(), TauTagTools::filteredTracks(), TauTagTools::filteredTracksByNumTrkHits(), pat::TriggerEvent::filterInPath(), CaloRecoTauTagInfoAlgorithm::filterTracksByQualityBit(), GenParticlesHelper::findDescendents(), JPTJetAnalyzer::findPtFractionInCone(), GenParticlesHelper::findSisters(), JetPlusTrackCorrector::findTrack(), GenParticlePruner::flagDaughters(), GenParticlePruner::flagMothers(), TrackingParticle::genParticle_end(), TrackingVertex::genVertices_end(), InvariantMassAlgorithm::getMinimumClusterDR(), CaloRecoTauTagInfoAlgorithm::getNeutralEcalBasicClusters(), JPTJetTester::getSumPt(), TauLeadTrackExtractor< reco::PFTau >::getTrackPtSum(), GenParticlesHelper::hasAncestor(), edm::OneToMany< JetC, reco::TrackCollection >::insert(), ConvBremSeedProducer::isGsfTrack(), JetPlusTrackCorrector::jetDirFromTracks(), reco::IsolatedTauTagInfo::leadingSignalTrack(), main(), JetPlusTrackCorrector::matchTracks(), reco::HcalNoiseHPD::maxRecHitTime(), TrackingTruthProducer::mergeBremsstrahlung(), reco::HcalNoiseHPD::minRecHitTime(), reco::HcalNoiseHPD::numRecHits(), pat::TriggerEvent::objectInAlgorithm(), pat::TriggerEvent::objectInPath(), reco::tau::RecoTauElectronRejectionPlugin::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()(), CombinedSVComputer::operator()(), TauConeIsolationAlgo< T, C, M >::operator()(), GhostTrackComputer::operator()(), JoinCaloTowerRefVectorsWithoutDuplicates::operator()(), pat::TriggerEvent::pathObjects(), PFTauElementsOperators::PFGammaCandsInOutEllipse(), reco::PFIsolatedTauTagInfo::PFIsolatedTauTagInfo(), reco::EMIsolatedTauTagInfo::pIsol(), PFRecoTauDecayModeDeterminator::produce(), RecoTauCleanerImpl< Prod >::produce(), JetPlusTrackProducerAA::produce(), JetPlusTrackProducer::produce(), VZeroProducer::produce(), TrackIPProducer::produce(), TauGenJetProducer::produce(), SecondaryVertexProducer::produce(), JetPlusTrackCorrector::rebuildJta(), TCTauAlgorithm::recalculateEnergy(), reco::HcalNoiseHPD::recHitEnergy(), reco::TrackExtraBase::recHitsEnd(), GenParticlePruner::recursiveFlagDaughters(), GenParticlePruner::recursiveFlagMothers(), SoftLepton::refineJetAxis(), HPSPFRecoTauAlgorithm::removeCandidateFromRefVector(), TauMETAlgo::run(), reco::PFNuclearInteraction::secPFRecTracks_end(), reco::NuclearInteraction::seeds_end(), reco::CombinedTauTagInfo::signalTks_qsum(), TrackingVertex::sourceTracks_end(), ConeIsolationAlgorithm::tag(), PFRecoTauDiscriminationByFlightPathSignificance::threeProngFlightPathSig(), reco::CastorCluster::towersEnd(), reco::TrackKinematics::TrackKinematics(), reco::IsolatedTauTagInfo::tracksInCone(), and reco::HcalNoiseRBX::uniqueTowers().
{ return iterator(refVector_.refCore(), refVector_.items().end()); }
RefVector< C, T, F >::iterator edm::RefVector< C, T, F >::erase | ( | iterator const & | pos | ) | [inline] |
Erase an element from the vector.
Definition at line 227 of file RefVector.h.
References begin, getHLTprescales::index, and CrabTask::prod.
Referenced by HPSPFRecoTauAlgorithm::removeCandidateFromRefVector().
{ typename contents_type::RefItems::size_type index = pos - begin(); typename contents_type::RefItems::iterator newPos = refVector_.eraseAtIndex(index); RefCore const& prod = refVector_.refCore(); //return typename RefVector<C, T, F>::iterator(prod, newPos); return iterator(prod, newPos); }
void edm::RefVector< C, T, F >::fillView | ( | ProductID const & | id, |
std::vector< void const * > & | pointers, | ||
helper_vector & | helpers | ||
) | const |
Definition at line 173 of file RefVector.h.
References begin, ExpressReco_HICollisions_FallBack::e, end, h, i, combine::key, edm::reftobase::RefVectorHolderBase::push_back(), edm::reftobase::RefVectorHolderBase::reserve(), and findQualityFiles::size.
Referenced by edm::fillView().
{ typedef Ref<C,T,F> ref_type; typedef reftobase::RefHolder<ref_type> holder_type; pointers.reserve(this->size()); helpers.reserve(this->size()); size_type key = 0; for (const_iterator i=begin(), e=end(); i!=e; ++i, ++key) { member_type const* address = i->isNull() ? 0 : &**i; pointers.push_back(address); holder_type h(ref_type(i->id(), address, i->key(), product() )); helpers.push_back( & h ); } }
bool edm::RefVector< C, T, F >::hasProductCache | ( | ) | const [inline] |
Checks if product is in memory.
Definition at line 138 of file RefVector.h.
{return refVector_.refCore().productPtr() != 0;}
ProductID edm::RefVector< C, T, F >::id | ( | void | ) | const [inline] |
Accessor for product ID.
Definition at line 100 of file RefVector.h.
Referenced by edm::RefVector< TrackingRecHitCollection >::isNull().
{return refVector_.refCore().id();}
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 120 of file RefVector.h.
Referenced by EwkMuTauHistManager::fillHistograms().
{return refVector_.refCore().isAvailable();}
bool edm::RefVector< C, T, F >::isNonnull | ( | ) | const [inline] |
bool edm::RefVector< C, T, F >::isNull | ( | ) | const [inline] |
Checks for null.
Definition at line 106 of file RefVector.h.
Referenced by edm::RefVector< TrackingRecHitCollection >::isNonnull(), and edm::RefVector< TrackingRecHitCollection >::operator!().
{return !id().isValid();}
bool edm::RefVector< C, T, F >::isTransient | ( | ) | const [inline] |
Checks if product collection is tansient (i.e. non persistable)
Definition at line 123 of file RefVector.h.
{return refVector_.refCore().isTransient();}
bool edm::RefVector< C, T, F >::operator! | ( | ) | const [inline] |
RefVector< C, T, F > & edm::RefVector< C, T, F >::operator= | ( | RefVector< C, T, F > const & | rhs | ) | [inline] |
Copy assignment.
Definition at line 158 of file RefVector.h.
References edm::swap(), and cond::rpcobtemp::temp.
value_type const edm::RefVector< C, T, F >::operator[] | ( | size_type | idx | ) | const [inline] |
Retrieve an element of the RefVector.
Definition at line 65 of file RefVector.h.
{ RefItemType const& item = refVector_.items()[idx]; RefCore const& prod = refVector_.refCore(); return value_type(prod, item); }
C const * edm::RefVector< C, T, F >::product | ( | ) | const |
Accessor for product collection.
Definition at line 268 of file RefVector.h.
References svgfig::template().
Referenced by TrackAssociatorByHits::associateRecoToSim(), TrackAssociatorByChi2::associateRecoToSim(), MuonAssociatorByHits::associateRecoToSimIndices(), TrackAssociatorByChi2::associateSimToReco(), TrackAssociatorByHits::associateSimToReco(), MuonAssociatorByHits::associateSimToRecoIndices(), edm::detail::GetProduct< RefVector< C, T, F > >::product(), and edm::Ref< C, T, F >::Ref().
{ return isNull() ? 0 : edm::template getProduct<C>(refVector_.refCore()); }
EDProductGetter const* edm::RefVector< C, T, F >::productGetter | ( | ) | const [inline] |
Accessor for product getter.
Definition at line 103 of file RefVector.h.
{return refVector_.refCore().productGetter();}
void edm::RefVector< C, T, F >::push_back | ( | value_type const & | ref | ) | [inline] |
Add a Ref<C, T> to the RefVector.
Definition at line 61 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::CastorTower::add(), reco::TrackExtraBase::add(), reco::CastorCluster::add(), reco::GsfElectron::addAmbiguousGsfTrack(), reco::PhotonCore::addConversion(), reco::CompositeRefCandidate::addDaughter(), TrackingVertex::addDaughterTrack(), TrackingParticle::addDecayVertex(), reco::PhotonCore::addElectronPixelSeed(), TrackingParticle::addGenParticle(), TrackingVertex::addGenVertex(), reco::CompositeRefCandidate::addMother(), TrackingVertex::addParentTrack(), pat::TriggerEvent::algorithmConditions(), pat::TriggerEvent::algorithmObjects(), TrackIPTagPlotter::analyzeTag(), helper::SimpleJetTrackAssociator::associate(), JetTracksAssociationXtrpCalo::associateInputTracksToJet(), HPSPFRecoTauAlgorithm::associateIsolationCandidates(), MuonAssociatorByHits::associateMuons(), TrackAssociatorBase::associateRecoToSim(), TrackAssociatorBase::associateSimToReco(), JetTracksAssociationDRCalo::associateTracksToJet(), JetTracksAssociationDRVertex::associateTracksToJet(), helper::SimpleJetTrackAssociator::associateTransient(), CaloRecoTauAlgorithm::buildCaloTau(), HPSPFRecoTauAlgorithm::buildOneProng(), HPSPFRecoTauAlgorithm::buildOneProngStrip(), HPSPFRecoTauAlgorithm::buildOneProngTwoStrips(), PFRecoTauAlgorithm::buildPFTau(), PFRecoTauTagInfoAlgorithm::buildPFTauTagInfo(), HPSPFRecoTauAlgorithm::buildThreeProngs(), CSCHaloAlgo::Calculate(), EcalHaloAlgo::Calculate(), JetPlusTrackProducerAA::calculateBGtracksJet(), reco::CastorCluster::CastorCluster(), reco::CastorTower::CastorTower(), PFTauElementsOperators::computeInsideOutContents(), pat::TriggerEvent::conditionAlgorithms(), pat::TriggerEvent::conditionObjects(), 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(), CaloRecoTauTagInfoAlgorithm::filterTracksByQualityBit(), GenParticlesHelper::findDescendents(), GenParticlesHelper::findParticles(), GenParticlesHelper::findSisters(), reco::PFJet::getTrackRefs(), 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::objects(), reco::tau::RecoTauPhotonFilter::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()(), TauConeIsolationAlgo< T, C, M >::operator()(), reco::tau::RecoTauTwoProngFilter::operator()(), JoinCaloTowerRefVectorsWithoutDuplicates::operator()(), pat::TriggerEvent::pathFilters(), pat::TriggerEvent::pathModules(), pat::TriggerEvent::pathObjects(), reco::PFTauTagInfo::PFCands(), PFTauElementsOperators::PFGammaCandsInOutEllipse(), reco::PFIsolatedTauTagInfo::PFIsolatedTauTagInfo(), reco::PFTauDecayMode::pfMasterClones(), pat::TriggerEvent::physAlgorithms(), PFTauViewRefMerger::produce(), CastorFastTowerProducer::produce(), PFDisplacedTrackerVertexProducer::produce(), JetVetoedTracksAssociationDRVertex::produce(), VZeroProducer::produce(), PFNuclearProducer::produce(), CleanAndMergeProducer::produce(), PFRecoTauTagInfoProducer::produce(), TrackIPProducer::produce(), CastorClusterProducer::produce(), CastorFastClusterProducer::produce(), PixelVertexProducer::produce(), SecondaryVertexProducer::produce(), JetPlusTrackCorrector::rebuildJta(), ConfigurableTertiaryTracksVertexFinder::reconstruct(), 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().
{refVector_.pushBack(ref.ref().refCore(), ref.ref().item());}
contents_type const& edm::RefVector< C, T, F >::refVector | ( | ) | const [inline] |
Accessor for all data.
Definition at line 79 of file RefVector.h.
Referenced by edm::operator==().
{return refVector_;}
void edm::RefVector< C, T, F >::reserve | ( | size_type | n | ) | [inline] |
Reserve space for RefVector.
Definition at line 91 of file RefVector.h.
Referenced by PFTauElementsOperators::computeInsideOutContents(), reco::PFJet::getTrackRefs(), reco::HcalNoiseHPD::HcalNoiseHPD(), reco::tau::disc::notMainTrack(), reco::tau::RecoTauElectronRejectionPlugin::operator()(), RecoTauCleanerImpl< Prod >::produce(), reco::tau::RecoTauConstructor::reserve(), and TauTagTools::sortRefVectorByPt().
{refVector_.reserve(n);}
size_type edm::RefVector< C, T, F >::size | ( | void | ) | const [inline] |
Size of the RefVector.
Definition at line 85 of file RefVector.h.
Referenced by GenParticlePruner::addDaughterRefs(), GenParticlePruner::addMotherRefs(), reco::GsfElectron::ambiguousGsfTracksSize(), HLTTauDQMTrkPlotter::analyze(), PhotonValidator::analyze(), BeamHaloAnalyzer::analyze(), PhotonAnalyzer::analyze(), HLTMonBTagIPSource::analyze(), ImpactParameterCalibration::analyze(), TrackIPTagPlotter::analyzeTag(), TrackAssociatorByHits::associateRecoToSim(), TrackAssociatorByChi2::associateRecoToSim(), TrackAssociatorByPosition::associateRecoToSim(), MuonAssociatorByHits::associateRecoToSimIndices(), TrackAssociatorByPosition::associateSimToReco(), TrackAssociatorByChi2::associateSimToReco(), TrackAssociatorByHits::associateSimToReco(), MuonAssociatorByHits::associateSimToRecoIndices(), PVPositionBuilder::average(), CaloRecoTauAlgorithm::buildCaloTau(), HPSPFRecoTauAlgorithm::buildOneProng(), HPSPFRecoTauAlgorithm::buildOneProngStrip(), HPSPFRecoTauAlgorithm::buildOneProngTwoStrips(), PFRecoTauAlgorithm::buildPFTau(), HPSPFRecoTauAlgorithm::buildPFTau(), HPSPFRecoTauAlgorithm::buildThreeProngs(), reco::TauMassTagInfo::calculateTrkP4(), reco::CastorTower::cellsSize(), reco::JPTJet::chargedMultiplicity(), PFTauElementsOperators::computeInsideOutContents(), JetPlusTrackCorrector::correctAA(), HPSPFRecoTauAlgorithm::createMergedLorentzVector(), reco::tau::disc::Dalitz2(), reco::PFTau::decayMode(), CaloRecoTauDiscriminationByDeltaE::DeltaE(), PFRecoTauDiscriminationByDeltaE::DeltaE(), reco::IsolatedTauTagInfo::discriminator(), PFTauElementsOperators::discriminatorByIsolPFCandsN(), PFTauElementsOperators::discriminatorByIsolPFChargedHadrCandsN(), PFTauElementsOperators::discriminatorByIsolPFGammaCandsN(), PFTauElementsOperators::discriminatorByIsolPFNeutrHadrCandsN(), TauElementsOperators::discriminatorByIsolTracksN(), reco::PFTau::dump(), JetPlusTrackCorrector::elecCorrection(), pat::Jet::elecMultiplicity(), reco::JPTJet::elecMultiplicity(), 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(), FastElectronSeedProducer::filterClusters(), ElectronSeedProducer::filterClusters(), ElectronSeedProducer::filterSeeds(), DivisiveVertexFinder::findVertexes(), DivisiveVertexFinder::findVertexesAlt(), pat::Jet::genJet(), HLTMuonL2ToL1Map::getL1Keys(), reco::JetTrackMatch< JetC >::getTracks(), NuclearInteractionEDProducer::isInside(), reco::tau::disc::IsolationChargedAveragePtFraction(), PFTauQualityCutWrapper::isolationChargedObjects(), PFTauQualityCutWrapper::isolationGammaObjects(), HLTMuonL2ToL1Map::isTriggeredByL1(), reco::IsolatedTauTagInfo::leadingSignalTrack(), main(), reco::tau::disc::mainTrack(), JetPlusTrackCorrector::matchTracks(), PFCandidateStripMerger::mergeCandidates(), JetPlusTrackCorrector::muonCorrection(), reco::JPTJet::muonMultiplicity(), 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(), reco::tau::RecoTauElectronRejectionPlugin::operator()(), CombinedSVComputer::operator()(), reco::tau::RecoTauTwoProngFilter::operator()(), reco::operator<<(), operator<<(), reco::tau::disc::OutlierN(), reco::tau::disc::OutlierNCharged(), JetPlusTrackCorrector::pionCorrection(), reco::JPTJet::print(), reco::JPTJet::printJet(), PFTauElecRejectionBenchmark::process(), PFRecoTauDecayModeDeterminator::produce(), RecoTauCleanerImpl< Prod >::produce(), RecoTauPiZeroProducer::produce(), HLTTauProducer::produce(), VZeroProducer::produce(), CleanAndMergeProducer::produce(), TauGenJetProducer::produce(), reco::BeamHaloSummaryProducer::produce(), PixelVertexProducer::produce(), reco::TrackExtraBase::recHitsSize(), PFRootEventManager::reconstructGenJets(), ElectronSeedGenerator::run(), FastElectronSeedGenerator::run(), reco::tau::disc::ScaledOpeningDeltaR(), reco::NuclearInteraction::seedsSize(), PFTauQualityCutWrapper::signalChargedObjects(), PFTauQualityCutWrapper::signalGammaObjects(), reco::CombinedTauTagInfo::signalTks_qsum(), RecoTrackRefSelector::size(), TauTagTools::sortRefVectorByPt(), CaloRecoTauDiscriminationByFlightPathSignificance::threeProngFlightPathSig(), CaloRecoTauDiscriminationByInvMass::threeProngInvMass(), reco::CastorCluster::towersSize(), L25TauAnalyzer::trackDrRMS(), reco::JetTracksAssociation::tracksP4(), TrackHistoryAnalyzer::vertexString(), VertexHistoryAnalyzer::vertexString(), and PVPositionBuilder::wtAverage().
{return refVector_.size();}
void edm::RefVector< C, T, F >::swap | ( | RefVector< C, T, F > & | other | ) | [inline] |
Swap two vectors.
Definition at line 151 of file RefVector.h.
References edm::RefVector< C, T, F >::refVector_.
Referenced by pat::Tau::isolationPFCands(), pat::Tau::isolationPFChargedHadrCands(), pat::Tau::isolationPFGammaCands(), pat::Tau::isolationPFNeutrHadrCands(), pat::Tau::isolationTracks(), PFCandidateStripMerger::mergeCandidates(), pat::Tau::signalPFCands(), pat::Tau::signalPFChargedHadrCands(), pat::Tau::signalPFGammaCands(), pat::Tau::signalPFNeutrHadrCands(), pat::Tau::signalTracks(), and edm::swap().
{ refVector_.swap(other.refVector_); }
contents_type edm::RefVector< C, T, F >::refVector_ [private] |
Definition at line 145 of file RefVector.h.
Referenced by edm::RefVector< TrackingRecHitCollection >::at(), edm::RefVector< TrackingRecHitCollection >::capacity(), edm::RefVector< TrackingRecHitCollection >::clear(), edm::RefVector< TrackingRecHitCollection >::empty(), edm::RefVector< TrackingRecHitCollection >::hasProductCache(), edm::RefVector< TrackingRecHitCollection >::id(), edm::RefVector< TrackingRecHitCollection >::isAvailable(), edm::RefVector< TrackingRecHitCollection >::isTransient(), edm::RefVector< TrackingRecHitCollection >::operator[](), edm::RefVector< TrackingRecHitCollection >::productGetter(), edm::RefVector< TrackingRecHitCollection >::push_back(), edm::RefVector< TrackingRecHitCollection >::refVector(), edm::RefVector< TrackingRecHitCollection >::reserve(), edm::RefVector< TrackingRecHitCollection >::size(), and edm::RefVector< C, T, F >::swap().