CMS 3D CMS Logo

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

#include <associationMapFilterValues.h>

Static Public Member Functions

template<typename T_Set , typename T_RefProd >
static void fill (T_Set &set, const edm::View< T > &valueView, const T_RefProd &refProd)
 

Detailed Description

template<typename T>
struct associationMapFilterValuesHelpers::FillIndices< edm::View< T > >

Definition at line 93 of file associationMapFilterValues.h.

Member Function Documentation

template<typename T >
template<typename T_Set , typename T_RefProd >
static void associationMapFilterValuesHelpers::FillIndices< edm::View< T > >::fill ( T_Set &  set,
const edm::View< T > &  valueView,
const T_RefProd &  refProd 
)
inlinestatic

Definition at line 96 of file associationMapFilterValues.h.

References edm::helpers::checkRef(), and mps_fire::i.

96  {
97  for(size_t i=0; i<valueView.size(); ++i) {
98  const auto& ref = valueView.refAt(i);
99  edm::helpers::checkRef(refProd.val, ref);
100  set.insert(ref.key());
101  }
102  }
void checkRef(const RP &rp, const R &r)
throw if r hasn&#39;t the same id as rp