#include <AssociativeIterator.h>
Public Types | |
typedef T | value_type |
Public Member Functions | |
template<class REF > | |
REF | castTo () const |
value_type const * | get () const |
std::unique_ptr< reftobase::RefHolderBase > | holder () const |
ProductID | id () const |
bool | isAvailable () const |
bool | isNonnull () const |
Checks for non-null. More... | |
bool | isNull () const |
Checks for null. More... | |
bool | isTransient () const |
size_t | key () const |
bool | operator! () const |
Checks for null. More... | |
bool | operator!= (RefToBase const &rhs) const |
value_type const & | operator* () const |
value_type const * | operator-> () const |
RefToBase & | operator= (RefToBase &&other) |
RefToBase & | operator= (RefToBase const &rhs) |
bool | operator== (RefToBase const &rhs) const |
EDProductGetter const * | productGetter () const |
RefToBase () | |
RefToBase (RefToBase const &other) | |
RefToBase (RefToBase &&other) | |
template<typename C1 , typename T1 , typename F1 > | |
RefToBase (Ref< C1, T1, F1 > const &r) | |
template<typename C > | |
RefToBase (RefProd< C > const &r) | |
RefToBase (RefToBaseProd< T > const &r, size_t i) | |
RefToBase (Handle< View< T > > const &handle, size_t i) | |
template<typename T1 > | |
RefToBase (RefToBase< T1 > const &r) | |
RefToBase (std::unique_ptr< reftobase::BaseHolder< value_type >>) | |
RefToBase (std::shared_ptr< reftobase::RefHolderBase > p) | |
void | swap (RefToBase &other) |
~RefToBase () | |
Static Public Member Functions | |
static short | Class_Version () |
Private Member Functions | |
value_type const * | getPtrImpl () const |
Private Attributes | |
reftobase::BaseHolder< value_type > * | holder_ |
Friends | |
template<typename B > | |
class | RefToBase |
class | RefToBaseProd< T > |
class | RefToBaseVector< T > |
Definition at line 50 of file AssociativeIterator.h.
typedef T edm::RefToBase< T >::value_type |
Definition at line 68 of file RefToBase.h.
|
inline |
Definition at line 134 of file RefToBase.h.
Definition at line 140 of file RefToBase.h.
|
inlineexplicit |
Definition at line 159 of file RefToBase.h.
|
inlineexplicit |
Definition at line 166 of file RefToBase.h.
|
inline |
Definition at line 413 of file RefToBase.h.
Definition at line 419 of file RefToBase.h.
|
inlineexplicit |
Definition at line 173 of file RefToBase.h.
References relativeConstraints::value.
|
inline |
Definition at line 188 of file RefToBase.h.
|
inline |
Definition at line 194 of file RefToBase.h.
|
inline |
Definition at line 200 of file RefToBase.h.
References edm::RefToBase< T >::holder_, edm::RefToBase< T >::operator=(), edm::RefToBase< T >::swap(), and groupFilesInBlocks::temp.
REF RefToBase::castTo | ( | ) | const |
Definition at line 286 of file RefToBase.h.
References edm::RefToBase< T >::holder_, edm::errors::InvalidReference, edm::RefToBase< T >::isTransient(), edm::RefToBase< T >::key(), dataset::name, edm::RefToBase< T >::productGetter(), edm::Exception::throwThis(), and relativeConstraints::value.
Referenced by egPM::AbsEtaNrClus::AbsEtaNrClus(), egPM::AbsEtaNrClusEt::AbsEtaNrClusEt(), egPM::AbsEtaNrClusPhi::AbsEtaNrClusPhi(), ElectronMcSignalValidator::analyze(), ElectronSeedAnalyzer::analyze(), ElectronMcFakeValidator::analyze(), ZMuMuAnalyzer::analyze(), GsfElectronDataAnalyzer::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), ZMuMuAnalyzer_cynematics::analyze(), ConversionProducer::buildCollection(), MuonTrajectoryCleaner::clean(), reco::JetSignalVertexCompatibilityAlgo::convert(), ZToMuMuFilter::filter(), HLTElectronPixelMatchFilter::getNrOfMatches(), reco::GsfElectronCore::GsfElectronCore(), reco::PFTauDecayMode::pfMasterClones(), pat::PATJetUpdater::produce(), MuMuForEmbeddingSelector::produce(), ElectronSeedProducer::produce(), HLTScoutingEgammaProducer::produce(), EgammaHLTGsfTrackVarProducer::produce(), NuclearTrackCorrector::produce(), EgammaHLTPixelMatchVarProducer::produce(), GsfElectronCoreEcalDrivenProducer::produceEcalDrivenCore(), GsfElectronAlgo::setCutBasedPreselectionFlag(), reco::CaloTauTagInfo::setJetRef(), and GsfElectronAlgo::setPixelMatchInfomation().
|
inlinestatic |
Definition at line 119 of file RefToBase.h.
|
inline |
Definition at line 234 of file RefToBase.h.
References edm::RefToBase< T >::getPtrImpl().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), DimuonStatistics::analyze(), GlbMuQualityCutsAnalysis::analyze(), PFCheckHitPattern::analyze(), TkConvValidator::analyze(), TestOutliers::analyze(), PhotonValidator::analyze(), IsolatedTracksNxN::analyze(), ConversionProducer::buildCollection(), rrapi.RRApi::columns(), util.rrapi.RRApi::columns(), edm::helper::RefConverter< RefToBase< T >, Ptr< T > >::convert(), rrapi.RRApi::count(), util.rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), PFCandCommonVertexFitterBase::fill(), pat::GenericParticle::GenericParticle(), reco::GenJet::genParticle(), reco::Candidate::get(), reco::LeafCandidate::get(), MultiTrackSelector::getBestVertex(), L6SLBCorrector::getBTagInfoIndex(), L6SLBCorrectorImpl::getBTagInfoIndex(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), PFElecTkProducer::isSameEgSC(), PFElecTkProducer::isSharingEcalEnergyWithEgSC(), reco::makeSpecific(), TemplatedSecondaryVertexProducer< IPTI, VTX >::matchSubjets(), pat::MET::MET(), reco::operator<<(), pat::TriggerObject::origObjCand(), PFCheckHitPattern::print(), DimuonMCMatcher::produce(), pat::PATJetProducer::produce(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), reco::CaloTauTagInfo::setJetRef(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), util.rrapi.RRApi::tags(), rrapi.RRApi::tags(), util.rrapi.RRApi::templates(), rrapi.RRApi::templates(), reco::ConversionTrack::track(), pat::VertexAssociation::track(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
|
inlineprivate |
Definition at line 386 of file RefToBase.h.
References edm::reftobase::BaseHolder< T >::getPtr(), and edm::RefToBase< T >::holder_.
Referenced by edm::RefToBase< T >::get(), edm::RefToBase< T >::operator*(), and edm::RefToBase< T >::operator->().
std::unique_ptr< reftobase::RefHolderBase > RefToBase::holder | ( | ) | const |
Definition at line 392 of file RefToBase.h.
References edm::reftobase::BaseHolder< T >::holder(), and edm::RefToBase< T >::holder_.
|
inline |
Definition at line 242 of file RefToBase.h.
References edm::RefToBase< T >::holder_, and edm::reftobase::BaseHolder< T >::id().
Referenced by VertexAssociatorByTracks::associateSimToReco(), edm::helper::RefConverter< RefToBase< T >, Ptr< T > >::convert(), equals(), pat::PATMuonProducer::fillMuon(), edm::RefToBaseVector< T >::fillView(), pat::GenericParticle::GenericParticle(), BTagPerformanceAnalyzerMC::getJetWithFlavour(), edm::RefToBase< T >::isNull(), edm::makeRefToBaseProdFrom(), ConversionTools::matchesConversion(), TemplatedSecondaryVertexProducer< IPTI, VTX >::matchSubjets(), MuonToSimAssociatorBase::RefToBaseSort::operator()(), reco::RefToBaseSort::operator()(), reco::JetSignalVertexCompatibilityAlgo::RefToBaseLess< T >::operator()(), BTagPerformanceAnalyzerOnData::JetRefCompare::operator()(), MatchJet::operator()(), BTagPerformanceAnalyzerMC::JetRefCompare::operator()(), HLTBTagPerformanceAnalyzer::JetRefCompare::operator()(), TopMonitor::JetRefCompare::operator()(), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::operator[](), pat::helper::TriggerMatchHelper::triggerMatchObject(), and JetTagProducer::~JetTagProducer().
|
inline |
Checks if collection is in memory or available in the Event. No type checking is done.
Definition at line 114 of file RefToBase.h.
Referenced by edm::helper::RefConverter< RefToBase< T >, Ptr< T > >::convert(), MTVHistoProducerAlgoForTracker::getSeedingLayerSetBin(), and reco::operator<<().
|
inline |
Checks for non-null.
Definition at line 337 of file RefToBase.h.
References edm::RefToBase< T >::isNull().
Referenced by reco::tau::RecoTauVertexAssociator::associatedVertex(), VertexClassifier::evaluate(), TrackClassifier::evaluate(), CombinedSVComputer::fillCommonVariables(), PFElecTkProducer::isSameEgSC(), PFElecTkProducer::isSharingEcalEnergyWithEgSC(), RecoTracktoTP::matched(), TPtoRecoTrack::matchedA(), TPtoRecoTrack::matchedB(), reco::tau::RecoTauPiZeroStripPlugin2::operator()(), reco::tau::RecoTauPiZeroStripPlugin3::operator()(), reco::operator<<(), SoftLepton::refineJetAxis(), RecoTracktoTP::RT(), TPtoRecoTrack::RTA(), TPtoRecoTrack::RTB(), and MuonTrackLoader::~MuonTrackLoader().
|
inline |
Checks for null.
Definition at line 328 of file RefToBase.h.
References edm::RefToBase< T >::id(), and edm::ProductID::isValid().
Referenced by ElectronSeedAnalyzer::analyze(), pat::helper::VertexingHelper::associate(), edm::RefToBaseVector< T >::fillView(), BTagPerformanceAnalyzerMC::getJetWithFlavour(), MTVHistoProducerAlgoForTracker::getSeedingLayerSetBin(), reco::GsfElectronCore::GsfElectronCore(), pat::VertexAssociation::hasTrack(), edm::RefToBase< T >::isNonnull(), ConversionTools::matchesConversion(), edm::RefToBase< T >::operator!(), reco::CaloRecHitCandidate::overlap(), HLTMuonTrackMassFilter::pairMatched(), and GsfElectronAlgo::setPixelMatchInfomation().
|
inline |
Definition at line 116 of file RefToBase.h.
Referenced by edm::RefToBase< T >::castTo().
|
inline |
Definition at line 250 of file RefToBase.h.
References edm::RefToBase< T >::holder_, edm::errors::InvalidReference, edm::reftobase::BaseHolder< T >::key(), CfgNavigationSchool_cfi::OUT, lumiQTWidget::t, edm::Exception::throwThis(), and relativeConstraints::value.
Referenced by ElectronSeedGenerator::addSeed(), MuonTrackValidator::analyze(), MuonToTrackingParticleAssociatorByHitsImpl::associateMuons(), VertexAssociatorByTracks::associateSimToReco(), edm::RefToBase< T >::castTo(), PFDisplacedVertexFinder::commonTracks(), edm::helper::RefConverter< RefToBase< T >, Ptr< T > >::convert(), equals(), edm::RefToBaseVector< T >::fillView(), pat::GenericParticle::GenericParticle(), PFDisplacedVertexCandidateFinder::link(), ConversionTools::matchesConversion(), TemplatedSecondaryVertexProducer< IPTI, VTX >::matchSubjets(), MuonToSimAssociatorBase::RefToBaseSort::operator()(), reco::RefToBaseSort::operator()(), reco::JetSignalVertexCompatibilityAlgo::RefToBaseLess< T >::operator()(), BTagPerformanceAnalyzerOnData::JetRefCompare::operator()(), BTagPerformanceAnalyzerMC::JetRefCompare::operator()(), HLTBTagPerformanceAnalyzer::JetRefCompare::operator()(), SoftLepton::TrackCompare::operator()(), TopMonitor::JetRefCompare::operator()(), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::operator[](), DistortedPFCandProducer::produce(), PFDisplacedTrackerVertexProducer::produce(), Onia2MuMuPAT::produce(), cms::CkfTrackCandidateMakerBase::produceBase(), IPProducerHelpers::FromJetAndCands::tracks(), pat::helper::TriggerMatchHelper::triggerMatchObject(), and JetTagProducer::~JetTagProducer().
|
inline |
Checks for null.
Definition at line 346 of file RefToBase.h.
References edm::RefToBase< T >::isNull().
|
inline |
Definition at line 364 of file RefToBase.h.
|
inline |
|
inline |
Definition at line 151 of file RefToBase.h.
References edm::RefToBase< T >::holder_, and trackingPlots::other.
Referenced by edm::RefToBase< T >::~RefToBase().
RefToBase& edm::RefToBase< T >::operator= | ( | RefToBase< T > const & | rhs | ) |
Definition at line 354 of file RefToBase.h.
References edm::RefToBase< T >::holder_, and edm::reftobase::BaseHolder< T >::isEqualTo().
|
inline |
Definition at line 379 of file RefToBase.h.
References edm::RefToBase< T >::holder_, and edm::reftobase::BaseHolder< T >::productGetter().
Referenced by edm::RefToBase< T >::castTo().
Definition at line 372 of file RefToBase.h.
References edm::RefToBase< T >::holder_, and std::swap().
Referenced by edm::swap(), and edm::RefToBase< T >::~RefToBase().
Definition at line 125 of file RefToBase.h.
|
friend |
Definition at line 124 of file RefToBase.h.
|
friend |
Definition at line 123 of file RefToBase.h.
|
private |
Definition at line 122 of file RefToBase.h.
Referenced by edm::RefToBase< T >::castTo(), edm::RefToBase< T >::getPtrImpl(), edm::RefToBase< T >::holder(), edm::RefToBase< T >::id(), edm::RefToBase< reco::GsfElectronCore >::isAvailable(), edm::RefToBase< reco::GsfElectronCore >::isTransient(), edm::RefToBase< T >::key(), edm::RefToBase< T >::operator=(), edm::RefToBase< T >::operator==(), edm::RefToBase< T >::productGetter(), edm::RefToBaseVector< T >::push_back(), edm::RefToBase< T >::swap(), and edm::RefToBase< T >::~RefToBase().