1 #ifndef DataFormats_Common_Association_h
2 #define DataFormats_Common_Association_h
34 template<
typename RefKey>
36 return get(r.id(), r.key());
84 base::map_.setRef(association.
ref());
116 template <
typename C>
void add(const Association< C > &association)
Association< C > operator+(const Association< C > &a1, const Association< C > &a2)
bool isNull() const
Checks for null.
void setRef(const refprod_type &ref)
void swap(ValueMap &other)
Association< C > & operator+=(const Association< C > &o)
#define CMS_CLASS_VERSION(_version_)
const id_offset_vector & ids() const
meant to be used in AssociativeIterator, not by the ordinary user
void swap(Association< C > &lhs, Association< C > &rhs)
Ref< typename refprod_type::product_type > reference_type
static void throwThis(Code category, char const *message0="", char const *message1="", char const *message2="", char const *message3="", char const *message4="")
size_t rawIndexOf(ProductID id, size_t idx) const
bool contains(ProductID id) const
std::vector< std::pair< ProductID, offset > > id_offset_vector
void swap(Association &other)
void add(const Association< C > &o)
void add(const ValueMap< T > &o)
void swap(RefProd< C > &)
reference_type operator[](const RefKey &r) const
bool contains(ProductID id) const
void throwIndexMapBound() const
edm::RefProd< C > refprod_type
Filler(Association< C > &association)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
helper::Filler< Association< C > > base
ProductID id() const
Accessor for product ID.
std::vector< std::pair< ProductID, offset > > id_offset_vector
meant to be used in AssociativeIterator, not by the ordinary user
Association & operator=(Association const &rhs)