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)
 

Detailed Description

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

Definition at line 66 of file SelectionAdderTrait.h.

Member Function Documentation

◆ operator()()

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.

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

67  {
68  selected.push_back(c->refAt(idx));
69  }
void push_back(const RefToBase< T > &)