CMS 3D CMS Logo

Namespaces | Classes | Functions
edm::eventsetup::produce Namespace Reference

Namespaces

 test
 

Classes

struct  EndList
 
struct  find_index
 
struct  find_index_impl
 
struct  find_index_impl< ContainerT, T, T >
 
struct  MultiHolder
 
struct  Null
 
struct  OneHolder
 
struct  OneHolder< std::unique_ptr< T > >
 
struct  Produce
 
struct  product_traits
 
struct  product_traits< std::shared_ptr< T > >
 
struct  product_traits< std::unique_ptr< T > >
 
struct  product_traits< T * >
 
struct  ProductHolder
 
struct  ProductHolder< Null, Null, Null >
 
struct  ProductHolder< T1, Null, Null >
 
struct  size
 
struct  size< Null >
 
struct  smart_pointer_traits
 
struct  smart_pointer_traits< T * >
 
struct  smart_pointer_traits< T const * >
 

Functions

template<typename FromT , typename ToT >
void copyFromTo (FromT &iFrom, ToT &iTo)
 
template<typename FromT , typename ToT >
void copyFromTo (std::unique_ptr< FromT > &iFrom, ToT &iTo)
 
template<typename T , typename S >
MultiHolder< OneHolder< T >, Soperator<< (const OneHolder< T > &iHolder, const S &iValue)
 
template<typename T , typename U , typename V >
MultiHolder< MultiHolder< T, U >, V > operator<< (const MultiHolder< T, U > &iHolder, const V &iValue)
 
template<typename T >
OneHolder< Toperator<< (const Produce &, T iValue)
 

Function Documentation

template<typename FromT , typename ToT >
void edm::eventsetup::produce::copyFromTo ( FromT &  iFrom,
ToT &  iTo 
)

Definition at line 79 of file produce_helpers.h.

80  {
81  iTo = iFrom;
82  }
template<typename FromT , typename ToT >
void edm::eventsetup::produce::copyFromTo ( std::unique_ptr< FromT > &  iFrom,
ToT &  iTo 
)

Definition at line 84 of file produce_helpers.h.

References eostools::move().

84  {
85  iTo = std::move(iFrom);
86  }
def move(src, dest)
Definition: eostools.py:510
template<typename T , typename S >
MultiHolder<OneHolder<T>, S> edm::eventsetup::produce::operator<< ( const OneHolder< T > &  iHolder,
const S iValue 
)

Definition at line 95 of file ESProducts.h.

References S().

96  {
97  return MultiHolder<OneHolder<T>, S>(iHolder, iValue);
98  }
double S(const TLorentzVector &, const TLorentzVector &)
Definition: Particle.cc:99
template<typename T , typename U , typename V >
MultiHolder< MultiHolder<T, U>, V > edm::eventsetup::produce::operator<< ( const MultiHolder< T, U > &  iHolder,
const V &  iValue 
)

Definition at line 101 of file ESProducts.h.

101  {
102  return MultiHolder< MultiHolder<T, U>, V> (iHolder, iValue);
103  }
template<typename T >
OneHolder<T> edm::eventsetup::produce::operator<< ( const Produce ,
T  iValue 
)

Definition at line 71 of file ESProducts.h.

71  {
72  return OneHolder<T>(iValue);
73  }