#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 23 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 61 of file RefProd.h.
|
inlineexplicit |
General purpose constructor from orphan handle.
Definition at line 67 of file RefProd.h.
|
inline |
Constructor for ref to object that is not in an event.
Definition at line 77 of file RefProd.h.
|
inlineexplicit |
General purpose constructor from test handle.
Definition at line 87 of file RefProd.h.
|
explicit |
Constructor from Ref<C,T,F>
|
explicit |
Constructor from RefVector<C,T,F>
|
inline |
Definition at line 103 of file RefProd.h.
|
inline |
|
inline |
|
inline |
|
inlineprivate |
Definition at line 168 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 118 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 148 of file RefProd.h.
Referenced by edm::RefProd< TrackingRecHitCollection >::hasProductCache().
|
inline |
Checks if product is in memory.
Definition at line 151 of file RefProd.h.
|
inline |
Accessor for product ID.
Definition at line 142 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 136 of file RefProd.h.
Referenced by reco::ClusterRemovalInfo::hasPixel(), reco::ClusterRemovalInfo::hasStrip(), and edm::RefProd< TrackingRecHitCollection >::isNull().
|
inline |
Checks for null.
Definition at line 133 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 207 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 124 of file RefProd.h.
Referenced by edm::RefToBaseProd< T >::RefToBaseProd().
|
inline |
|
inline |
Definition at line 128 of file RefProd.h.
Referenced by edm::operator==().
|
inline |
Definition at line 214 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 170 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().