src
CommonTools
UtilAlgos
interface
PdgIdExcluder.h
Go to the documentation of this file.
1
#ifndef CommonTools_UtilAlgos_PdgIdSelector_h
2
#define CommonTools_UtilAlgos_PdgIdSelector_h
3
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
4
#include "
CommonTools/UtilAlgos/interface/ParameterAdapter.h
"
5
#include "
CommonTools/Utils/interface/PdgIdExcluder.h
"
6
7
namespace
reco
{
8
namespace
modules
{
9
10
template
<>
11
struct
ParameterAdapter
<
PdgIdExcluder
> {
12
static
PdgIdExcluder
make
(
const
edm::ParameterSet
&
cfg
,
edm::ConsumesCollector
& iC) {
13
return
PdgIdExcluder
(
cfg
.getParameter<std::vector<int> >(
"pdgId"
));
14
}
15
};
16
17
}
// namespace modules
18
}
// namespace reco
19
20
#endif
PdgIdExcluder.h
looper.cfg
cfg
Definition:
looper.py:296
reco::modules::ParameterAdapter
Definition:
ParameterAdapter.h:12
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:46
ParameterAdapter.h
edm::ParameterSet
Definition:
ParameterSet.h:48
PdgIdExcluder
Definition:
PdgIdExcluder.h:12
ConsumesCollector.h
reco::modules::ParameterAdapter< PdgIdExcluder >::make
static PdgIdExcluder make(const edm::ParameterSet &cfg, edm::ConsumesCollector &iC)
Definition:
PdgIdExcluder.h:12
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
modules
Definition:
MuonCleanerBySegments.cc:35
Generated for CMSSW Reference Manual by
1.8.14