Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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 "
CommonTools/UtilAlgos/interface/ParameterAdapter.h
"
4
#include "
CommonTools/Utils/interface/PdgIdExcluder.h
"
5
6
namespace
reco
{
7
namespace
modules {
8
9
template
<>
10
struct
ParameterAdapter
<
PdgIdExcluder
> {
11
static
PdgIdExcluder
make
(
const
edm::ParameterSet
& cfg ) {
12
return
PdgIdExcluder
( cfg.
getParameter
<std::vector<int> >(
"pdgId"
) );
13
}
14
};
15
16
}
17
}
18
19
#endif
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
PdgIdExcluder.h
reco::modules::ParameterAdapter< PdgIdExcluder >::make
static PdgIdExcluder make(const edm::ParameterSet &cfg)
Definition:
PdgIdExcluder.h:11
L1Trigger_dataformats.reco
dictionary reco
Definition:
L1Trigger_dataformats.py:9
reco::modules::ParameterAdapter
Definition:
ParameterAdapter.h:10
ParameterAdapter.h
edm::ParameterSet
Definition:
ParameterSet.h:35
PdgIdExcluder
Definition:
PdgIdExcluder.h:12
Generated for CMSSW Reference Manual by
1.8.5