CMS 3D CMS Logo

Public Member Functions

helper::SelectionRefViewAdder< T > Struct Template Reference

#include <SelectionAdderTrait.h>

List of all members.

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 67 of file SelectionAdderTrait.h.


Member Function Documentation

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 68 of file SelectionAdderTrait.h.

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

                                                                                                      {
      selected.push_back( c->refAt( idx ) );
    }
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 68 of file SelectionAdderTrait.h.

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

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