Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
looper.cfg
tuple cfg
Definition:
looper.py:296
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:111
PdgIdExcluder.h
reco::modules::ParameterAdapter
Definition:
ParameterAdapter.h:12
TrackingSourceConfig_Tier0_Cosmic_cff.modules
list modules
Definition:
TrackingSourceConfig_Tier0_Cosmic_cff.py:88
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition:
ParameterSet.h:303
ParameterAdapter.h
edm::ParameterSet
Definition:
ParameterSet.h:47
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
Generated for CMSSW Reference Manual by
1.8.5