Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
PhysicsTools
IsolationAlgos
interface
PtIsolationAlgo.h
Go to the documentation of this file.
1
#ifndef IsolationAlgos_PtIsolationAlgo_h
2
#define IsolationAlgos_PtIsolationAlgo_h
3
/* Partial spacialization of parameter set adapeter helper
4
*
5
*/
6
#include "
PhysicsTools/IsolationUtils/interface/PtIsolationAlgo.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
<
PtIsolationAlgo
<
T
,
C
> > {
15
static
PtIsolationAlgo<T, C>
make
(
const
edm::ParameterSet
&
cfg
) {
16
return
PtIsolationAlgo<T, C>
(cfg.template getParameter<double>(
"dRMin"
),
17
cfg.template getParameter<double>(
"dRMax"
),
18
cfg.template getParameter<double>(
"dzMax"
),
19
cfg.template getParameter<double>(
"d0Max"
),
20
cfg.template getParameter<double>(
"ptMin"
));
21
}
22
};
23
}
// namespace modules
24
}
// namespace reco
25
26
#endif
looper.cfg
tuple cfg
Definition:
looper.py:296
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:111
PtIsolationAlgo.h
ParameterSet.h
reco::modules::ParameterAdapter
Definition:
ParameterAdapter.h:12
reco::modules::ParameterAdapter< PtIsolationAlgo< T, C > >::make
static PtIsolationAlgo< T, C > make(const edm::ParameterSet &cfg)
Definition:
PtIsolationAlgo.h:15
TrackingSourceConfig_Tier0_Cosmic_cff.modules
list modules
Definition:
TrackingSourceConfig_Tier0_Cosmic_cff.py:88
gen::C
C
Definition:
Factorize.h:133
ParameterAdapter.h
edm::ParameterSet
Definition:
ParameterSet.h:47
T
long double T
Definition:
Basic3DVectorLD.h:48
PtIsolationAlgo
Definition:
PtIsolationAlgo.h:10
Generated for CMSSW Reference Manual by
1.8.5