CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
RefSelector< S > Struct Template Reference

#include <RefSelector.h>

Public Member Functions

template<typename Ref >
bool operator() (const Ref &ref) const
 
 RefSelector (const S &sel)
 

Private Attributes

S sel_
 

Detailed Description

template<typename S>
struct RefSelector< S >

Definition at line 5 of file RefSelector.h.

Constructor & Destructor Documentation

◆ RefSelector()

template<typename S >
RefSelector< S >::RefSelector ( const S sel)
inline

Definition at line 6 of file RefSelector.h.

6 : sel_(sel) {}

Member Function Documentation

◆ operator()()

template<typename S >
template<typename Ref >
bool RefSelector< S >::operator() ( const Ref &  ref) const
inline

Definition at line 8 of file RefSelector.h.

8  {
9  return sel_(*ref);
10  }

References RefSelector< S >::sel_.

Member Data Documentation

◆ sel_

template<typename S >
S RefSelector< S >::sel_
private

Definition at line 13 of file RefSelector.h.

Referenced by RefSelector< S >::operator()().

RefSelector::sel_
S sel_
Definition: RefSelector.h:13
EgammaValidation_Wenu_cff.sel
sel
Definition: EgammaValidation_Wenu_cff.py:33