Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
);
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:17
MakerMacros.h
Candidate.h
SingleObjectSelector
Definition:
SingleObjectSelector.h:19
SingleObjectSelector.h
PdgIdCandExcluder
SingleObjectSelector< reco::CandidateCollection, PdgIdExcluder > PdgIdCandExcluder
Definition:
PdgIdCandExcluder.cc:22
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.5