CMS 3D CMS Logo

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

#include <SelectionAdderTrait.h>

Public Member Functions

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

Detailed Description

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

Definition at line 73 of file SelectionAdderTrait.h.

Member Function Documentation

◆ operator()() [1/2]

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

Definition at line 74 of file SelectionAdderTrait.h.

74  {
75  selected.push_back(c->ptrAt(idx));
76  }

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

◆ operator()() [2/2]

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

Definition at line 74 of file SelectionAdderTrait.h.

74  {
75  selected.push_back( c->ptrAt( idx ) );
76  }

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

heavyIonCSV_trainingSettings.idx
idx
Definition: heavyIonCSV_trainingSettings.py:5
edm::PtrVector::push_back
void push_back(Ptr< T > const &iPtr)
Definition: PtrVector.h:149
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:56