CMS 3D CMS Logo

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

Definition at line 42 of file SelectionAdderTrait.h.

Member Function Documentation

◆ operator()() [1/2]

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

Definition at line 44 of file SelectionAdderTrait.h.

44  {
45  selected.push_back(&*((*c)[idx].first));
46  }

References HltBtagPostValidation_cff::c, dqmdumpme::first, and heavyIonCSV_trainingSettings::idx.

◆ operator()() [2/2]

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

Definition at line 44 of file SelectionAdderTrait.h.

44  {
45  selected.push_back( & * ( ( * c )[ idx ].first ) );
46  }

References HltBtagPostValidation_cff::c, dqmdumpme::first, and heavyIonCSV_trainingSettings::idx.

dqmdumpme.first
first
Definition: dqmdumpme.py:55
heavyIonCSV_trainingSettings.idx
idx
Definition: heavyIonCSV_trainingSettings.py:5
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31