CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions
reco::SelectIndecesInCollection< Object > Struct Template Referenceabstract

#include <ExpressionEvaluatorTemplates.h>

Public Types

using Collection = std::vector< Object const * >
 
using Indices = std::vector< unsigned int >
 

Public Member Functions

virtual void eval (Collection const &, Indices &) const =0
 
template<typename F >
void select (Collection const &cands, Indices &inds, F f) const
 

Detailed Description

template<typename Object>
struct reco::SelectIndecesInCollection< Object >

Definition at line 51 of file ExpressionEvaluatorTemplates.h.

Member Typedef Documentation

template<typename Object >
using reco::SelectIndecesInCollection< Object >::Collection = std::vector<Object const *>

Definition at line 52 of file ExpressionEvaluatorTemplates.h.

template<typename Object >
using reco::SelectIndecesInCollection< Object >::Indices = std::vector<unsigned int>

Definition at line 53 of file ExpressionEvaluatorTemplates.h.

Member Function Documentation

template<typename Object >
virtual void reco::SelectIndecesInCollection< Object >::eval ( Collection const &  ,
Indices  
) const
pure virtual
template<typename Object >
template<typename F >
void reco::SelectIndecesInCollection< Object >::select ( Collection const &  cands,
Indices inds,
F  f 
) const
inline