CMS 3D CMS Logo

FreeFunctionSelector.h
Go to the documentation of this file.
1 #ifndef CommonTools_UtilAlgos_FreeFunctionSelector_h
2 #define CommonTools_UtilAlgos_FreeFunctionSelector_h
3 /* \class FreeFunctionSelector
4  *
5  * \author Luca Lista, INFN
6  *
7  * \version $Id: FreeFunctionSelector.h,v 1.1 2008/01/22 11:17:58 llista Exp $
8  */
9 template <typename T, bool (*f)(const T&)>
11  bool operator()(const T& t) { return f(t); }
12 };
13 
16 
17 namespace reco {
18  namespace modules {
19  template <typename T, bool (*f)(const T&)>
22  static value_type make(const edm::ParameterSet& cfg, edm::ConsumesCollector& iC) { return value_type(); }
23  };
24  } // namespace modules
25 } // namespace reco
26 
27 #endif
double f[11][100]
fixed size matrix
long double T
static value_type make(const edm::ParameterSet &cfg, edm::ConsumesCollector &iC)
bool operator()(const T &t)