#include <AssociativeIterator.h>
Public Types | |
typedef boost::indirect_iterator < typename seq_t::const_iterator > | const_iterator |
typedef T const * | const_pointer |
typedef T const & | const_reference |
typedef boost::indirect_iterator < typename seq_t::const_reverse_iterator > | const_reverse_iterator |
typedef seq_t::difference_type | difference_type |
typedef T const * | pointer |
typedef T const & | reference |
typedef unsigned int | size_type |
typedef T | value_type |
Public Member Functions | |
const_reference | at (size_type pos) const |
const_reference | back () const |
const_iterator | begin () const |
size_type | capacity () const |
bool | empty () const |
const_iterator | end () const |
const_reference | front () const |
ProductID | id () const |
size_type | max_size () const |
View & | operator= (View const &rhs) |
const_reference | operator[] (size_type pos) const |
void | pop_back () |
void const * | product () const |
EDProductGetter const * | productGetter () const |
Ptr< value_type > | ptrAt (size_type i) const |
PtrVector< T > const & | ptrVector () const |
const_reverse_iterator | rbegin () const |
RefToBase< value_type > | refAt (size_type i) const |
RefToBaseVector< T > const & | refVector () const |
const_reverse_iterator | rend () const |
size_type | size () const |
void | swap (View &other) |
View () | |
View (std::vector< void const * > const &pointers, helper_vector_ptr const &helpers) | |
virtual | ~View () |
Public Member Functions inherited from edm::ViewBase | |
ViewBase * | clone () const |
virtual | ~ViewBase () |
Static Public Member Functions | |
static void | fill_from_range (T *first, T *last, View &output) |
Private Types | |
typedef std::vector< T const * > | seq_t |
Private Member Functions | |
ViewBase * | doClone () const |
Private Attributes | |
seq_t | items_ |
PtrVector< T > | ptrs_ |
RefToBaseVector< T > | refs_ |
Additional Inherited Members | |
Protected Member Functions inherited from edm::ViewBase | |
ViewBase & | operator= (ViewBase const &) |
void | swap (ViewBase &) |
ViewBase () | |
ViewBase (ViewBase const &) | |
Class template View<T>
View<T> provides a way to allow reference to the elements (of type T) of some collection in an Event, without knowing about the type of the collection itself. For example, View<int> can refer to the ints in either a vector<int> or a list<int>, without the client code knowing about which type of container manages the ints.
View<T> is not persistable.
View<T> can be used to reference objects of any type that has T as a public base.
Definition at line 46 of file AssociativeIterator.h.
typedef boost::indirect_iterator<typename seq_t::const_iterator> edm::View< T >::const_iterator |
typedef T const* edm::View< T >::const_pointer |
typedef T const& edm::View< T >::const_reference |
typedef boost::indirect_iterator<typename seq_t::const_reverse_iterator> edm::View< T >::const_reverse_iterator |
typedef seq_t::difference_type edm::View< T >::difference_type |
edm::View< T >::View | ( | std::vector< void const * > const & | pointers, |
helper_vector_ptr const & | helpers | ||
) |
const_reference edm::View< T >::at | ( | size_type | pos | ) | const |
const_reference edm::View< T >::back | ( | ) | const |
const_iterator edm::View< T >::begin | ( | ) | const |
Referenced by metsig::SignPFSpecificAlgo::addPFJets(), pat::CandidateSummaryTable::analyze(), TtSemiLepSignalSelMVATrainer::analyze(), RecoMuonValidator::analyze(), EBRecoSummary::analyze(), B2GDQM::analyzeEventInterpretation(), L2MuonSeedGenerator::associateOfflineSeedToL1(), CaloRecoTauDiscriminationByFlightPathSignificance::beginEvent(), pat::TrackerIsolationPt::calculate(), MuonRadiationFilter::compCaloEnECAL(), MuonRadiationFilter::compPFIso_raw(), EventShapeVariables::EventShapeVariables(), PFMuonCaloCleaner::fillEnergyDepositMap(), EcalDeadCellDeltaRFilter::filter(), pat::PATMHTProducer::getElectrons(), pat::PATMHTProducer::getJets(), pat::PATMHTProducer::getMuons(), MatcherUsingTracksAlgorithm::match(), egammaisolation::EgammaTrackSelector::operator()(), TtSemiLepSignalSelMVAComputer::produce(), PFCandIsolatorFromDeposits::produce(), CandIsolatorFromDeposits::produce(), pat::PATJetProducer::produce(), CATopJetTagger::produce(), MuonTrackFinder::reconstruct(), PFSpecificAlgo::run(), METAlgo::run(), and TtSemiLepSignalSel::TtSemiLepSignalSel().
Implements edm::ViewBase.
const_iterator edm::View< T >::end | ( | ) | const |
Referenced by metsig::SignPFSpecificAlgo::addPFJets(), TtSemiLepSignalSelMVATrainer::analyze(), RecoMuonValidator::analyze(), EBRecoSummary::analyze(), B2GDQM::analyzeEventInterpretation(), pat::TrackerIsolationPt::calculate(), MuonRadiationFilter::compCaloEnECAL(), MuonRadiationFilter::compPFIso_raw(), CaloMETAnalyzer::computeEmHaMET(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), EventShapeVariables::EventShapeVariables(), PFMuonCaloCleaner::fillEnergyDepositMap(), EcalDeadCellDeltaRFilter::filter(), pat::PATMHTProducer::getElectrons(), pat::PATMHTProducer::getJets(), pat::PATMHTProducer::getMuons(), SignCaloSpecificAlgo::makeVectorOutOfCaloTowers(), MatcherUsingTracksAlgorithm::match(), egammaisolation::EgammaTrackSelector::operator()(), TtSemiLepSignalSelMVAComputer::produce(), ColinsSoperVariablesComputer::produce(), ElectronConversionRejectionVars::produce(), pat::PATJetProducer::produce(), CATopJetTagger::produce(), MuonTrackFinder::reconstruct(), PFSpecificAlgo::run(), METAlgo::run(), and CaloMETAnalyzer::validateMET().
|
static |
const_reference edm::View< T >::front | ( | ) | const |
const_reference edm::View< T >::operator[] | ( | size_type | pos | ) | const |
EDProductGetter const* edm::View< T >::productGetter | ( | ) | const |
Ptr<value_type> edm::View< T >::ptrAt | ( | size_type | i | ) | const |
Referenced by reco::PFCandidateFwdPtrFactory::operator()(), and pat::PATJetProducer::produce().
const_reverse_iterator edm::View< T >::rbegin | ( | ) | const |
RefToBase<value_type> edm::View< T >::refAt | ( | size_type | i | ) | const |
Referenced by helper::SimpleJetTrackAssociator::associate(), JetTracksAssociationDR::createJetRefs(), pat::ElectronSelector::electronID_(), MuonMETAlgo::MuonMETAlgo_run(), PFAlgo::processBlock(), CandIsolatorFromDeposits::produce(), PFCandIsolatorFromDeposits::produce(), and edm::GenericSelectorByValueMap< T, C >::produce().
|
inline |
const_reverse_iterator edm::View< T >::rend | ( | ) | const |
Referenced by HLTBJet::analyseCorrectedJets(), HLTBJet::analyseCorrectedJetsL1FastJet(), HLTBJet::analyseJets(), HLTBJet::analyseLifetime(), HLTBJet::analyseLifetimeL1FastJet(), HLTBJet::analyseLifetimePF(), HLTBJet::analyseLifetimeSingleTrack(), HLTBJet::analyseLifetimeSingleTrackL1FastJet(), HLTBJet::analysePerformance(), HLTBJet::analysePerformanceL1FastJet(), HLTBJet::analysePFJets(), RecoMuonValidator::analyze(), ValidationMisalignedTracker::analyze(), TrackingMonitor::analyze(), helper::SimpleJetTrackAssociator::associate(), CandCombinerBase< OutputCollection, CandPtr >::combine(), JetTracksAssociationDR::createJetRefs(), SelectReplacementCandidates::determineMuonsToUse(), EventShapeVariables::EventShapeVariables(), PatBTagCommonHistos::Fill(), CSCEfficiency::filter(), BTagPerformanceAnalyzerMC::getJetWithFlavour(), PrimaryVertexAnalyzer4PU::getSimEvents(), MuonMETAlgo::MuonMETAlgo_run(), PatJetAnalyzer::print(), PFAlgo::processBlock(), edm::GenericSelectorByValueMap< T, C >::produce(), pat::PATJetProducer::produce(), BeamFitter::readEvent(), PFSpecificAlgo::run(), and pat::CandidateSummaryTable::Record::update().
Definition at line 146 of file View.h.
Referenced by edm::View< reco::PFTau >::ptrVector().
|
private |
Definition at line 145 of file View.h.
Referenced by edm::View< reco::PFTau >::product(), and edm::View< reco::PFTau >::refVector().