Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
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
}
18
}
19
20
#endif
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
looper.cfg
tuple cfg
Definition:
looper.py:259
edmConvertToStreamModule.modules
list modules
Definition:
edmConvertToStreamModule.py:120
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:106
PdgIdExcluder.h
reco::modules::ParameterAdapter
Definition:
ParameterAdapter.h:11
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:38
Generated for CMSSW Reference Manual by
1.8.5