CMS 3D CMS Logo

List of all members | Public Member Functions
helper::SelectionCopyAdder< 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)
 
template<typename C >
void operator() (StoreContainer &selected, const edm::Handle< C > &c, size_t idx)
 

Detailed Description

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

Definition at line 18 of file SelectionAdderTrait.h.

Member Function Documentation

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

Definition at line 20 of file SelectionAdderTrait.h.

20  {
21  selected.push_back((*c)[idx]);
22  }
template<typename StoreContainer >
template<typename C >
void helper::SelectionCopyAdder< StoreContainer >::operator() ( StoreContainer &  selected,
const edm::Handle< C > &  c,
size_t  idx 
)
inline

Definition at line 20 of file SelectionAdderTrait.h.

20  {
21  selected.push_back( ( * c )[ idx ] );
22  }