#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 *product) | |
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 *ptr) |
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 |
General purpose constructor from handle.
Definition at line 60 of file RefProd.h.
|
inlineexplicit |
General purpose constructor from orphan handle.
Definition at line 66 of file RefProd.h.
|
inline |
Constructor for ref to object that is not in an event.
Definition at line 76 of file RefProd.h.
|
inlineexplicit |
General purpose constructor from test handle.
Definition at line 86 of file RefProd.h.
|
explicit |
Constructor from Ref<C,T,F>
|
explicit |
Constructor from RefVector<C,T,F>
|
inline |
Definition at line 102 of file RefProd.h.
|
inline |
|
inline |
|
inline |
|
inlineprivate |
Definition at line 164 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 117 of file RefProd.h.
Referenced by Options.Options::__getitem__(), pat::TriggerEvent::algorithms(), l1extra::L1ParticleMap::candidateInCombo(), pat::TriggerEvent::conditions(), l1extra::L1ParticleMap::etMissParticleInCombo(), pat::TriggerEvent::filters(), pat::TriggerEvent::objects(), and pat::TriggerEvent::paths().
|
inline |
Checks if product is in memory.
Definition at line 147 of file RefProd.h.
Referenced by edm::RefProd< TrackingRecHitCollection >::hasProductCache().
|
inline |
Checks if product is in memory.
Definition at line 150 of file RefProd.h.
|
inline |
Accessor for product ID.
Definition at line 141 of file RefProd.h.
Referenced by GenParticleProducer::produce(), pat::GenPlusSimParticleProducer::produce(), edm::RefToBaseProd< T >::RefToBaseProd(), ClusterRemovalRefSetter::reKey(), and edm::Association< C >::setRef().
|
inline |
|
inline |
Checks for non-null.
Definition at line 135 of file RefProd.h.
Referenced by reco::ClusterRemovalInfo::hasPixel(), reco::ClusterRemovalInfo::hasStrip(), and edm::RefProd< TrackingRecHitCollection >::isNull().
|
inline |
Checks for null.
Definition at line 132 of file RefProd.h.
Referenced by edm::RefProd< TrackingRecHitCollection >::get(), edm::RefProd< TrackingRecHitCollection >::operator!(), edm::RefProd< TrackingRecHitCollection >::product(), and edm::Association< C >::setRef().
|
inline |
|
inline |
|
inline |
|
inline |
Member dereference operator.
Definition at line 203 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 123 of file RefProd.h.
Referenced by edm::RefToBaseProd< T >::RefToBaseProd().
|
inline |
|
inline |
Definition at line 127 of file RefProd.h.
Referenced by edm::operator==(), and edm::Ref< C, T, F >::Ref().
|
inline |
Definition at line 210 of file RefProd.h.
References edm::RefProd< T >::product_, and std::swap().
Referenced by reco::ClusterRemovalInfo::swap(), edm::Association< C >::swap(), and edm::swap().
|
private |
Definition at line 166 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().