CMS 3D CMS Logo

List of all members | Static Public Member Functions
associationMapFilterValuesHelpers::FillIndices< T_RefVector > Struct Template Reference

#include <associationMapFilterValues.h>

Static Public Member Functions

template<typename T_Set , typename T_RefProd >
static void fill (T_Set &set, const T_RefVector &valueRefs, const T_RefProd &refProd)
 

Detailed Description

template<typename T_RefVector>
struct associationMapFilterValuesHelpers::FillIndices< T_RefVector >

Definition at line 80 of file associationMapFilterValues.h.

Member Function Documentation

template<typename T_RefVector >
template<typename T_Set , typename T_RefProd >
static void associationMapFilterValuesHelpers::FillIndices< T_RefVector >::fill ( T_Set &  set,
const T_RefVector &  valueRefs,
const T_RefProd &  refProd 
)
inlinestatic

Definition at line 83 of file associationMapFilterValues.h.

References edm::helpers::checkRef().

Referenced by associationMapFilterValues().

83  {
84  for(const auto& ref: valueRefs) {
85  edm::helpers::checkRef(refProd.val, ref);
86  set.insert(ref.key());
87  }
88  }
void checkRef(const RP &rp, const R &r)
throw if r hasn&#39;t the same id as rp