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