CommonTools
CandAlgos
plugins
PdgIdCandSelector.cc
Go to the documentation of this file.
1
/* \class PdgIdCandSelector
2
*
3
* Candidate Selector based on a pdgId set
4
* Usage:
5
*
6
* module leptons = PdgIdCandSelector {
7
* InputTag src = myCollection
8
* vint32 pdgId = { 11, 13 }
9
* };
10
*
11
* \author: Luca Lista, INFN
12
*
13
*/
14
#include "
FWCore/Framework/interface/MakerMacros.h
"
15
#include "
CommonTools/UtilAlgos/interface/SingleObjectSelector.h
"
16
#include "
CommonTools/UtilAlgos/interface/PdgIdSelector.h
"
17
#include "
DataFormats/Candidate/interface/Candidate.h
"
18
19
typedef
SingleObjectSelector<reco::CandidateCollection, PdgIdSelector>
PdgIdCandSelector
;
20
21
DEFINE_FWK_MODULE
(
PdgIdCandSelector
);
PdgIdSelector.h
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:16
MakerMacros.h
Candidate.h
SingleObjectSelector.h
SingleObjectSelectorBase
Definition:
SingleObjectSelector.h:31
PdgIdCandSelector
SingleObjectSelector< reco::CandidateCollection, PdgIdSelector > PdgIdCandSelector
Definition:
PdgIdCandSelector.cc:19
Generated for CMSSW Reference Manual by
1.8.14