CMS 3D CMS Logo

helper::SelectionPtrViewAdder< T > Struct Template Reference

#include <PhysicsTools/UtilAlgos/interface/SelectionAdderTrait.h>

List of all members.

Public Member Functions

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


Member Function Documentation

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

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

00075                                                                                                 {
00076       selected.push_back( c->ptrAt( idx ) );
00077     }


The documentation for this struct was generated from the following file:
Generated on Tue Jun 9 18:47:29 2009 for CMSSW by  doxygen 1.5.4