1 #ifndef DataFormats_Common_Association_h
2 #define DataFormats_Common_Association_h
33 template<
typename RefKey>
35 return get(r.id(), r.key());
115 template <
typename C>
void add(const Association< C > &association)
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
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)
tuple idx
DEBUGGING if hasattr(process,"trackMonIterativeTracking2012"): print "trackMonIterativeTracking2012 D...
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)