Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
CommonTools
UtilAlgos
interface
EtaRangeSelector.h
Go to the documentation of this file.
1
#ifndef UtilAlgos_EtaRangeSelector_h
2
#define UtilAlgos_EtaRangeSelector_h
3
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
4
#include "
CommonTools/UtilAlgos/interface/ParameterAdapter.h
"
5
#include "
CommonTools/Utils/interface/EtaRangeSelector.h
"
6
7
namespace
reco
{
8
namespace
modules
{
9
10
template
<>
11
struct
ParameterAdapter
<
EtaRangeSelector
> {
12
static
EtaRangeSelector
make
(
const
edm::ParameterSet
&
cfg
,
edm::ConsumesCollector
& iC ) {
13
return
14
EtaRangeSelector
( cfg.
getParameter
<
double
>(
"etaMin"
),
15
cfg.
getParameter
<
double
>(
"etaMax"
) );
16
}
17
};
18
19
}
20
}
21
22
#endif
23
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
looper.cfg
tuple cfg
Definition:
looper.py:293
EtaRangeSelector
Definition:
EtaRangeSelector.h:10
edmConvertToStreamModule.modules
list modules
Definition:
edmConvertToStreamModule.py:120
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:106
reco::modules::ParameterAdapter
Definition:
ParameterAdapter.h:11
EtaRangeSelector.h
reco::modules::ParameterAdapter< EtaRangeSelector >::make
static EtaRangeSelector make(const edm::ParameterSet &cfg, edm::ConsumesCollector &iC)
Definition:
EtaRangeSelector.h:12
ParameterAdapter.h
edm::ParameterSet
Definition:
ParameterSet.h:36
ConsumesCollector.h
edm::ConsumesCollector
Definition:
ConsumesCollector.h:38
Generated for CMSSW Reference Manual by
1.8.5