CMS 3D CMS Logo

List of all members | Public Member Functions
helper::SelectionRefViewAdder< T > Struct Template Reference

#include <SelectionAdderTrait.h>

Public Member Functions

void operator() (edm::RefToBaseVector< T > &selected, const edm::Handle< edm::View< T > > &c, size_t idx)
 
void operator() (edm::RefToBaseVector< T > &selected, const edm::Handle< edm::View< T > > &c, size_t idx)
 

Detailed Description

template<typename T>
struct helper::SelectionRefViewAdder< T >

Definition at line 66 of file SelectionAdderTrait.h.

Member Function Documentation

◆ operator()() [1/2]

template<typename T >
void helper::SelectionRefViewAdder< T >::operator() ( edm::RefToBaseVector< T > &  selected,
const edm::Handle< edm::View< T > > &  c,
size_t  idx 
)
inline

Definition at line 67 of file SelectionAdderTrait.h.

67  {
68  selected.push_back(c->refAt(idx));
69  }

References HltBtagPostValidation_cff::c, heavyIonCSV_trainingSettings::idx, and edm::RefToBaseVector< T >::push_back().

◆ operator()() [2/2]

template<typename T >
void helper::SelectionRefViewAdder< T >::operator() ( edm::RefToBaseVector< T > &  selected,
const edm::Handle< edm::View< T > > &  c,
size_t  idx 
)
inline

Definition at line 67 of file SelectionAdderTrait.h.

67  {
68  selected.push_back( c->refAt( idx ) );
69  }

References HltBtagPostValidation_cff::c, heavyIonCSV_trainingSettings::idx, and edm::RefToBaseVector< T >::push_back().

heavyIonCSV_trainingSettings.idx
idx
Definition: heavyIonCSV_trainingSettings.py:5
edm::RefToBaseVector::push_back
void push_back(const RefToBase< T > &)
Definition: RefToBaseVector.h:217
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31