CMS 3D CMS Logo

List of all members | Public Member Functions
helper::SelectionFirstRefAdder< StoreContainer > Struct Template Reference

#include <SelectionAdderTrait.h>

Public Member Functions

template<typename C >
void operator() (StoreContainer &selected, const edm::Handle< C > &c, size_t idx)
 

Detailed Description

template<typename StoreContainer>
struct helper::SelectionFirstRefAdder< StoreContainer >

Definition at line 50 of file SelectionAdderTrait.h.

Member Function Documentation

◆ operator()()

template<typename StoreContainer >
template<typename C >
void helper::SelectionFirstRefAdder< StoreContainer >::operator() ( StoreContainer &  selected,
const edm::Handle< C > &  c,
size_t  idx 
)
inline

Definition at line 52 of file SelectionAdderTrait.h.

References c, first, and heavyIonCSV_trainingSettings::idx.

52  {
53  selected.push_back((*c)[idx].first);
54  }