Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
PhysicsTools
IsolationAlgos
interface
TrkCalIsolationAlgo.h
Go to the documentation of this file.
1
#ifndef IsolationAlgos_TrkCalIsolationAlgo_h
2
#define IsolationAlgos_TrkCalIsolationAlgo_h
3
/* Partial spacialization of parameter set adapeter helper
4
*
5
*/
6
#include "
PhysicsTools/IsolationUtils/interface/TrkCalIsolationAlgo.h
"
7
#include "
CommonTools/UtilAlgos/interface/ParameterAdapter.h
"
8
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
9
10
namespace
reco
{
11
namespace
modules {
12
13
template
<
typename
T,
typename
C>
14
struct
ParameterAdapter
<
TrkCalIsolationAlgo
<T,
C
> > {
15
static
TrkCalIsolationAlgo<T, C>
make
(
const
edm::ParameterSet
& cfg ) {
16
return
TrkCalIsolationAlgo<T, C>
( cfg.template getParameter<double>(
"dRMin"
),
17
cfg.template getParameter<double>(
"dRMax"
) );
18
}
19
};
20
}
21
}
22
23
#endif
TrkCalIsolationAlgo.h
funct::C
C
Definition:
Factorize.h:141
ParameterSet.h
reco::modules::ParameterAdapter< TrkCalIsolationAlgo< T, C > >::make
static TrkCalIsolationAlgo< T, C > make(const edm::ParameterSet &cfg)
Definition:
TrkCalIsolationAlgo.h:15
dt_offlineAnalysis_common_cff.reco
tuple reco
Definition:
dt_offlineAnalysis_common_cff.py:54
reco::modules::ParameterAdapter
Definition:
ParameterAdapter.h:10
TrkCalIsolationAlgo
Definition:
TrkCalIsolationAlgo.h:10
ParameterAdapter.h
edm::ParameterSet
Definition:
ParameterSet.h:31
Generated for CMSSW Reference Manual by
1.8.5