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
modules
Definition:
MuonCleanerBySegments.cc:35
reco::modules::ParameterAdapter< EtMinSuperClusterSelector >::fillPSetDescription
static void fillPSetDescription(edm::ParameterSetDescription &desc)
Definition:
EtMinSuperClusterSelector.h:20
FunctionMinSelector
Definition:
FunctionMinSelector.h:11
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:52
reco::modules::ParameterAdapter< EtMinSuperClusterSelector >::make
static EtMinSuperClusterSelector make(const edm::ParameterSet &cfg, edm::ConsumesCollector &iC)
Definition:
EtMinSuperClusterSelector.h:16
reco::modules::EtMinSuperClusterSelector
FunctionMinSelector< SuperClusterEt > EtMinSuperClusterSelector
Definition:
EtMinSuperClusterSelector.h:12
FunctionMinSelector.h
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:45
ParameterSetDescription.h
edm::ParameterSet
Definition:
ParameterSet.h:47
looper.cfg
cfg
Definition:
looper.py:297
submitPVResolutionJobs.desc
string desc
Definition:
submitPVResolutionJobs.py:251
ParameterAdapter.h
ConsumesCollector.h
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
SuperClusterEt.h
reco::modules::ParameterAdapter
Definition:
ParameterAdapter.h:12
Generated for CMSSW Reference Manual by
1.8.16