#include <EDProductfwd.h>
Public Types | |
typedef C | product_type |
typedef C | value_type |
Public Member Functions | |
product_type const * | get () const |
bool | hasCache () const |
Checks if product is in memory. More... | |
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 this RefProd is transient (i.e. not persistable). More... | |
bool | operator! () const |
Checks for null. More... | |
product_type const & | operator* () const |
Dereference operator. More... | |
product_type const * | operator-> () const |
Member dereference operator. More... | |
product_type const * | product () const |
EDProductGetter const * | productGetter () const |
Accessor for product getter. More... | |
RefCore const & | refCore () const |
RefProd () | |
Default constructor needed for reading from persistent store. Not for direct use. More... | |
RefProd (Handle< C > const &handle) | |
General purpose constructor from handle. More... | |
RefProd (OrphanHandle< C > const &handle) | |
General purpose constructor from orphan handle. More... | |
RefProd (C const *iProduct) | |
Constructor for ref to object that is not in an event. More... | |
RefProd (TestHandle< C > const &handle) | |
General purpose constructor from test handle. More... | |
template<typename T , typename F > | |
RefProd (Ref< C, T, F > const &ref) | |
Constructor from Ref<C, T, F> More... | |
template<typename T , typename F > | |
RefProd (RefVector< C, T, F > const &ref) | |
Constructor from RefVector<C, T, F> More... | |
RefProd (ProductID const &productID, EDProductGetter const *prodGetter) | |
template<typename T , typename F > | |
RefProd (Ref< C, T, F > const &ref) | |
Constructor from Ref. More... | |
template<typename T , typename F > | |
RefProd (RefVector< C, T, F > const &ref) | |
Constructor from RefVector. More... | |
void | swap (RefProd< C > &) |
~RefProd () | |
Destructor. More... | |
Private Member Functions | |
void | checkTypeAtCompileTime (C const *) |
Private Attributes | |
RefCore | product_ |
Definition at line 24 of file EDProductfwd.h.
typedef C edm::RefProd< T >::product_type |
typedef C edm::RefProd< T >::value_type |
|
inline |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inlineexplicit |
|
explicit |
Constructor from Ref<C, T, F>
|
explicit |
Constructor from RefVector<C, T, F>
|
inline |
Definition at line 101 of file RefProd.h.
|
inline |
|
inline |
|
inline |
|
inlineprivate |
Definition at line 166 of file RefProd.h.
Referenced by edm::RefProd< TrackingRecHitCollection >::RefProd().
|
inline |
Returns C++ pointer to the product Will attempt to retrieve product
Definition at line 116 of file RefProd.h.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), pat::TriggerEvent::algorithms(), l1extra::L1ParticleMap::candidateInCombo(), rrapi.RRApi::columns(), pat::TriggerEvent::conditions(), rrapi.RRApi::count(), rrapi.RRApi::data(), l1extra::L1ParticleMap::etMissParticleInCombo(), pat::TriggerEvent::filters(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), pat::TriggerEvent::objects(), pat::TriggerEvent::paths(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
|
inline |
Checks if product is in memory.
Definition at line 146 of file RefProd.h.
Referenced by edm::RefProd< TrackingRecHitCollection >::hasProductCache().
|
inline |
Checks if product is in memory.
Definition at line 149 of file RefProd.h.
|
inline |
Accessor for product ID.
Definition at line 140 of file RefProd.h.
Referenced by pat::Electron::associatedPackedPFCandidates(), pat::Photon::associatedPackedPFCandidates(), GenParticleProducer::produce(), cms::TrackListMerger::produce(), pat::GenPlusSimParticleProducer::produce(), reco::modules::DuplicateListMerger::produce(), edm::RefToBaseProd< T >::RefToBaseProd(), ClusterRemovalRefSetter::reKeyPixel(), ClusterRemovalRefSetter::reKeyStrip(), pat::Electron::setAssociatedPackedPFCandidates(), pat::Photon::setAssociatedPackedPFCandidates(), and edm::Association< reco::FFTJPTJetCollection >::setRef().
|
inline |
|
inline |
Checks for non-null.
Definition at line 134 of file RefProd.h.
Referenced by reco::ClusterRemovalInfo::hasPixel(), reco::ClusterRemovalInfo::hasStrip(), edm::RefProd< TrackingRecHitCollection >::isNull(), pat::Electron::setAssociatedPackedPFCandidates(), and pat::Photon::setAssociatedPackedPFCandidates().
|
inline |
Checks for null.
Definition at line 131 of file RefProd.h.
Referenced by edm::RefProd< TrackingRecHitCollection >::get(), edm::RefProd< TrackingRecHitCollection >::operator!(), edm::RefProd< TrackingRecHitCollection >::product(), and edm::Association< reco::FFTJPTJetCollection >::setRef().
|
inline |
|
inline |
|
inline |
|
inline |
Member dereference operator.
Definition at line 205 of file RefProd.h.
References svgfig::template().
Referenced by edm::RefProd< TrackingRecHitCollection >::get(), and edm::RefProd< TrackingRecHitCollection >::product().
|
inline |
Returns C++ pointer to the product Will attempt to retrieve product
Definition at line 122 of file RefProd.h.
Referenced by edm::RefToBaseProd< T >::RefToBaseProd().
|
inline |
|
inline |
Definition at line 126 of file RefProd.h.
Referenced by edm::operator==().
|
inline |
Definition at line 212 of file RefProd.h.
References edm::RefProd< T >::product_, and std::swap().
Referenced by reco::ClusterRemovalInfo::swap(), edm::Association< reco::FFTJPTJetCollection >::swap(), and edm::swap().
|
private |
Definition at line 168 of file RefProd.h.
Referenced by edm::RefProd< TrackingRecHitCollection >::hasCache(), edm::RefProd< TrackingRecHitCollection >::id(), edm::RefProd< TrackingRecHitCollection >::isAvailable(), edm::RefProd< TrackingRecHitCollection >::isNonnull(), edm::RefProd< TrackingRecHitCollection >::isTransient(), edm::RefProd< TrackingRecHitCollection >::productGetter(), edm::RefProd< TrackingRecHitCollection >::refCore(), and edm::RefProd< T >::swap().