#include <CaloClusterFwd.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 |
size_type | max_size () const |
const_reference | operator[] (size_type pos) const |
Ptr< value_type > | ptrAt (size_type i) const |
std::vector< Ptr< value_type > > const & | ptrs () const |
const_reverse_iterator | rbegin () const |
RefToBase< value_type > | refAt (size_type i) const |
const_reverse_iterator | rend () const |
size_type | size () const |
void | swap (View &other) |
View () | |
View (std::vector< void const *> const &pointers, FillViewHelperVector const &helpers, EDProductGetter const *getter) | |
Public Member Functions inherited from edm::ViewBase | |
std::unique_ptr< 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 | |
std::unique_ptr< ViewBase > | doClone () const override |
Private Attributes | |
seq_t | items_ |
std::vector< Ptr< value_type > > | vPtrs_ |
Additional Inherited Members | |
Protected Member Functions inherited from edm::ViewBase | |
ViewBase & | operator= (ViewBase const &)=default |
ViewBase & | operator= (ViewBase &&)=default |
void | swap (ViewBase &) |
ViewBase ()=default | |
ViewBase (ViewBase const &)=default | |
ViewBase (ViewBase &&)=default | |
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 14 of file CaloClusterFwd.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, |
FillViewHelperVector const & | helpers, | ||
EDProductGetter const * | getter | ||
) |
const_reference edm::View< T >::at | ( | size_type | pos | ) | const |
Referenced by DeepTauIdBase< TritonEDProducer<> >::createEgammaBlockInputs(), DeepTauIdBase< TritonEDProducer<> >::createHadronsBlockInputs(), DeepTauIdBase< TritonEDProducer<> >::createMuonBlockInputs(), ShiftedParticleMETcorrInputProducer::produce(), GenParticles2HepMCConverter::produce(), and ShiftedParticleProducer::produce().
const_reference edm::View< T >::back | ( | ) | const |
const_iterator edm::View< T >::begin | ( | ) | const |
Referenced by RecoMuonValidator::analyze(), SMPDQM::analyze(), B2GDQM::analyzeJets(), L2MuonSeedGenerator::associateOfflineSeedToL1(), L2MuonSeedGeneratorFromL1T::associateOfflineSeedToL1(), L2MuonSeedGeneratorFromL1TkMu::associateOfflineSeedToL1(), TrackAssociatorByHitsImpl::associateRecoToSim(), TrackAssociatorByHitsImpl::associateSimToReco(), pat::TrackerIsolationPt::calculate(), reco::PFMETProducerMVA::computeLeptonInfo(), FlavorHistoryProducer::getClosestJet(), L2MuonSeedGeneratorFromL1T::isAssociateOfflineSeedToL1(), MatcherUsingTracksAlgorithm::match(), CandIsolatorFromDeposits::produce(), ShiftedJetProducerByMatchedObjectT< T >::produce(), NoPileUpPFMEtProducer::produce(), ShiftedPFCandidateProducerForPFMVAMEt::produce(), PuppiPhoton::produce(), PFCandIsolatorFromDeposits::produce(), pat::PATJetUpdater::produce(), DeepDoubleXTagInfoProducer::produce(), FlavorHistoryProducer::produce(), pat::PATJetProducer::produce(), CATopJetTagger::produce(), DeepFlavourTagInfoProducer::produce(), EmbeddingLHEProducer::produce(), SoftLepton::produce(), ecaldqm::RecoSummaryTask::runOnBasicClusters(), and ecaldqm::ClusterTask::runOnBasicClusters().
|
overrideprivatevirtual |
Implements edm::ViewBase.
const_iterator edm::View< T >::end | ( | ) | const |
Referenced by RecoMuonValidator::analyze(), B2GDQM::analyzeJets(), TrackAssociatorByHitsImpl::associateRecoToSim(), TrackAssociatorByHitsImpl::associateSimToReco(), pat::TrackerIsolationPt::calculate(), reco::PFMETProducerMVA::computeLeptonInfo(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), FlavorHistoryProducer::getClosestJet(), MatcherUsingTracksAlgorithm::match(), ShiftedJetProducerByMatchedObjectT< T >::produce(), NoPileUpPFMEtProducer::produce(), ShiftedPFCandidateProducerForPFMVAMEt::produce(), PuppiPhoton::produce(), pat::PATJetUpdater::produce(), pat::PATPackedCandidateProducer::produce(), DeepDoubleXTagInfoProducer::produce(), pat::PATJetProducer::produce(), FlavorHistoryProducer::produce(), CATopJetTagger::produce(), DeepFlavourTagInfoProducer::produce(), EmbeddingLHEProducer::produce(), SoftLepton::produce(), ecaldqm::RecoSummaryTask::runOnBasicClusters(), and ecaldqm::ClusterTask::runOnBasicClusters().
|
static |
const_reference edm::View< T >::front | ( | ) | const |
const_reference edm::View< T >::operator[] | ( | size_type | pos | ) | const |
Ptr<value_type> edm::View< T >::ptrAt | ( | size_type | i | ) | const |
Referenced by cms::SubEventGenJetProducer::produce(), PFMuonUntagger::produce(), citk::PFIsolationSumProducerForPUPPI::produce(), ShiftedParticleMETcorrInputProducer::produce(), VersionedIdProducer< PhysicsObjectPtr, SelectorType >::produce(), ShiftedParticleProducer::produce(), PuppiPhoton::produce(), citk::PFIsolationSumProducer::produce(), pat::PATJetUpdater::produce(), PATHemisphereProducer::produce(), DeepDoubleXTagInfoProducer::produce(), SoftPFElectronTagInfoProducer::produce(), pat::PATJetProducer::produce(), DeepFlavourTagInfoProducer::produce(), and VirtualJetProducer::produce().
std::vector<Ptr<value_type> > const& edm::View< T >::ptrs | ( | ) | const |
Referenced by l1tVertexFinder::VertexNTupler::analyze(), and PFSpecificAlgo::run().
const_reverse_iterator edm::View< T >::rbegin | ( | ) | const |
RefToBase<value_type> edm::View< T >::refAt | ( | size_type | i | ) | const |
Referenced by edmtest::AssociationMapAnalyzer::analyze(), TagProbeFitTreeProducer::analyze(), PFAlgo::egammaFilters(), ProbeTreeProducer::filter(), CandIsolatorFromDeposits::produce(), edmtest::AssociationMapProducer::produce(), PuppiPhoton::produce(), PFCandIsolatorFromDeposits::produce(), RecoTauPiZeroProducer::produce(), RecoTauProducer::produce(), SoftPFElectronTagInfoProducer::produce(), SoftLepton::produce(), and pat::helper::AnyNumberAssociationAdaptor::run_().
const_reverse_iterator edm::View< T >::rend | ( | ) | const |
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), RPCRecHitProbability::analyze(), RPCMonitorDigi::analyze(), RecoMuonValidator::analyze(), SiPixelPhase1HitsV::analyze(), HTMonitor::analyze(), ValidationMisalignedTracker::analyze(), TagProbeFitTreeProducer::analyze(), l1tVertexFinder::VertexNTupler::analyze(), VertexAssociatorByPositionAndTracks::associateRecoToSim(), VertexAssociatorByPositionAndTracks::associateSimToReco(), CandCombinerBase< OutputCollection, Cloner::CandPtr >::combine(), edmtest::OtherThingAnalyzer::doit(), PFAlgo::egammaFilters(), EventShapeVariables::EventShapeVariables(), PatBTagCommonHistos::Fill(), ProbeTreeProducer::filter(), BTagPerformanceAnalyzerMC::getJetWithFlavour(), cms::SubEventGenJetProducer::produce(), PFMuonUntagger::produce(), citk::PFIsolationSumProducerForPUPPI::produce(), ShiftedParticleMETcorrInputProducer::produce(), GenParticles2HepMCConverter::produce(), ShiftedJetProducerByMatchedObjectT< T >::produce(), VersionedIdProducer< PhysicsObjectPtr, SelectorType >::produce(), ShiftedPFCandidateProducerForPFMVAMEt::produce(), ShiftedParticleProducer::produce(), PuppiPhoton::produce(), MatchedProbeMaker< T >::produce(), pat::PATJetUpdater::produce(), citk::PFIsolationSumProducer::produce(), PuppiProducer::produce(), pat::PATPackedCandidateProducer::produce(), RecoTauPiZeroProducer::produce(), TtJetPartonMatch< C >::produce(), DeepDoubleXTagInfoProducer::produce(), RecoTauProducer::produce(), pat::PATJetProducer::produce(), SoftPFElectronTagInfoProducer::produce(), DeepFlavourTagInfoProducer::produce(), VirtualJetProducer::produce(), pat::helper::AnyNumberAssociationAdaptor::run_(), and MultiTrackValidator::trackDR().