Main Page
Namespaces
Classes
Package Documentation
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
}
18
}
19
20
#endif
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
PdgIdExcluder.h
looper.cfg
cfg
Definition:
looper.py:297
reco::modules::ParameterAdapter
Definition:
ParameterAdapter.h:12
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:44
ParameterAdapter.h
edm::ParameterSet
Definition:
ParameterSet.h:36
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:39
modules
Definition:
ZHLTMatchFilter.cc:17
Generated for CMSSW Reference Manual by
1.8.11