CMS 3D CMS Logo

RefSelector< S > Struct Template Reference

#include <PhysicsTools/Utilities/interface/RefSelector.h>

List of all members.

Public Member Functions

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

Private Attributes

sel_


Detailed Description

template<typename S>
struct RefSelector< S >

Definition at line 5 of file RefSelector.h.


Constructor & Destructor Documentation

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

Definition at line 6 of file RefSelector.h.

00006 : sel_( sel ) { }


Member Function Documentation

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

Definition at line 8 of file RefSelector.h.

References RefSelector< S >::sel_.

00008                                            {
00009     return sel_( * ref );
00010   }


Member Data Documentation

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

Definition at line 12 of file RefSelector.h.

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


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