src
CommonTools
RecoAlgos
plugins
EtMinSuperClusterSelector.h
Go to the documentation of this file.
1
#ifndef UtilAlgos_FunctionMinSelector_h
2
#define UtilAlgos_FunctionMinSelector_h
3
4
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
5
#include "
FWCore/ParameterSet/interface/ParameterSetDescription.h
"
6
#include "
CommonTools/UtilAlgos/interface/ParameterAdapter.h
"
7
#include "
CommonTools/Utils/interface/FunctionMinSelector.h
"
8
#include "
CommonTools/RecoAlgos/plugins/SuperClusterEt.h
"
9
10
namespace
reco
{
11
namespace
modules
{
12
typedef
FunctionMinSelector<SuperClusterEt>
EtMinSuperClusterSelector
;
13
14
template
<>
15
struct
ParameterAdapter
<
EtMinSuperClusterSelector
> {
16
static
EtMinSuperClusterSelector
make
(
const
edm::ParameterSet
&
cfg
,
edm::ConsumesCollector
& iC) {
17
return
EtMinSuperClusterSelector
(
cfg
.getParameter<
double
>(
"etMin"
));
18
}
19
20
static
void
fillPSetDescription
(
edm::ParameterSetDescription
&
desc
) {
desc
.add<
double
>(
"etMin"
, 0); }
21
};
22
23
}
// namespace modules
24
}
// namespace reco
25
26
#endif
reco::modules::ParameterAdapter< EtMinSuperClusterSelector >::make
static EtMinSuperClusterSelector make(const edm::ParameterSet &cfg, edm::ConsumesCollector &iC)
Definition:
EtMinSuperClusterSelector.h:16
reco::modules::ParameterAdapter< EtMinSuperClusterSelector >::fillPSetDescription
static void fillPSetDescription(edm::ParameterSetDescription &desc)
Definition:
EtMinSuperClusterSelector.h:20
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:52
ParameterSetDescription.h
SuperClusterEt.h
submitPVResolutionJobs.desc
string desc
Definition:
submitPVResolutionJobs.py:254
FunctionMinSelector.h
looper.cfg
cfg
Definition:
looper.py:296
FunctionMinSelector
Definition:
FunctionMinSelector.h:11
reco::modules::ParameterAdapter
Definition:
ParameterAdapter.h:12
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:46
ParameterAdapter.h
edm::ParameterSet
Definition:
ParameterSet.h:48
reco::modules::EtMinSuperClusterSelector
FunctionMinSelector< SuperClusterEt > EtMinSuperClusterSelector
Definition:
EtMinSuperClusterSelector.h:12
ConsumesCollector.h
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
modules
Definition:
MuonCleanerBySegments.cc:35
Generated for CMSSW Reference Manual by
1.8.14