Main Page
Namespaces
Classes
Package Documentation
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
<
20
reco::CandidateCollection
,
21
PdgIdExcluder
22
>
PdgIdCandExcluder
;
23
24
DEFINE_FWK_MODULE
(
PdgIdCandExcluder
);
MakerMacros.h
Candidate.h
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:16
SingleObjectSelector.h
PdgIdCandExcluder
SingleObjectSelector< reco::CandidateCollection, PdgIdExcluder > PdgIdCandExcluder
Definition:
PdgIdCandExcluder.cc:22
SingleObjectSelectorBase
Definition:
SingleObjectSelector.h:28
PdgIdExcluder
Definition:
PdgIdExcluder.h:12
PdgIdExcluder.h
reco::CandidateCollection
edm::OwnVector< Candidate > CandidateCollection
collection of Candidate objects
Definition:
CandidateFwd.h:21
Generated for CMSSW Reference Manual by
1.8.11