CMS 3D CMS Logo

Public Member Functions

helper::SelectionPointerDerefAdder< StoreContainer > Struct Template Reference

#include <SelectionAdderTrait.h>

List of all members.

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::SelectionPointerDerefAdder< StoreContainer >

Definition at line 35 of file SelectionAdderTrait.h.


Member Function Documentation

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

Definition at line 37 of file SelectionAdderTrait.h.

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

Definition at line 37 of file SelectionAdderTrait.h.

                                                                                     {
      selected.push_back( & * ( * c )[ idx ] );
    }