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&)>
23  };
24  } // namespace modules
25 } // namespace reco
26 
27 #endif
reco::modules::ParameterAdapter< FreeFunctionSelector< T, f > >::make
static value_type make(const edm::ParameterSet &cfg, edm::ConsumesCollector &iC)
Definition: FreeFunctionSelector.h:22
f
double f[11][100]
Definition: MuScleFitUtils.cc:78
modules
Definition: ZHLTMatchFilter.cc:17
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
OrderedSet.t
t
Definition: OrderedSet.py:90
edm::ParameterSet
Definition: ParameterSet.h:36
reco::JetExtendedAssociation::value_type
Container::value_type value_type
Definition: JetExtendedAssociation.h:30
looper.cfg
cfg
Definition: looper.py:297
T
long double T
Definition: Basic3DVectorLD.h:48
ParameterAdapter.h
ConsumesCollector.h
FreeFunctionSelector::operator()
bool operator()(const T &t)
Definition: FreeFunctionSelector.h:11
reco::modules::ParameterAdapter< FreeFunctionSelector< T, f > >::value_type
FreeFunctionSelector< T, f > value_type
Definition: FreeFunctionSelector.h:21
edm::ConsumesCollector
Definition: ConsumesCollector.h:39
reco::modules::ParameterAdapter
Definition: ParameterAdapter.h:12
FreeFunctionSelector
Definition: FreeFunctionSelector.h:10