CMS 3D CMS Logo

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

Definition at line 58 of file SelectionAdderTrait.h.

Member Function Documentation

◆ operator()() [1/2]

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

Definition at line 60 of file SelectionAdderTrait.h.

60  {
61  selected.push_back(edm::Ref<C>(c, idx));
62  }

References c, and heavyIonCSV_trainingSettings::idx.

◆ operator()() [2/2]

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

Definition at line 60 of file SelectionAdderTrait.h.

60  {
61  selected.push_back( edm::Ref<C>( c, idx ) );
62  }

References c, and heavyIonCSV_trainingSettings::idx.

edm::Ref
Definition: AssociativeIterator.h:58
heavyIonCSV_trainingSettings.idx
idx
Definition: heavyIonCSV_trainingSettings.py:5
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:46