CMS 3D CMS Logo

List of all members | Public Member Functions
helper::SelectionPointerDerefAdder< 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::SelectionPointerDerefAdder< StoreContainer >

Definition at line 34 of file SelectionAdderTrait.h.

Member Function Documentation

◆ operator()() [1/2]

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 36 of file SelectionAdderTrait.h.

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

References HltBtagPostValidation_cff::c, and charmTagsComputerCvsB_cfi::idx.

◆ operator()() [2/2]

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 36 of file SelectionAdderTrait.h.

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

References HltBtagPostValidation_cff::c, and charmTagsComputerCvsB_cfi::idx.

charmTagsComputerCvsB_cfi.idx
idx
Definition: charmTagsComputerCvsB_cfi.py:108
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31