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
 
virtual ~SelectIndecesInCollection ()
 

Detailed Description

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

Definition at line 56 of file ExpressionEvaluatorTemplates.h.

Member Typedef Documentation

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

Definition at line 57 of file ExpressionEvaluatorTemplates.h.

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

Definition at line 58 of file ExpressionEvaluatorTemplates.h.

Constructor & Destructor Documentation

template<typename Object >
virtual reco::SelectIndecesInCollection< Object >::~SelectIndecesInCollection ( )
inlinevirtual

Definition at line 65 of file ExpressionEvaluatorTemplates.h.

65 {};

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