CommonTools
CandAlgos
plugins
StatusCandSelector.cc
Go to the documentation of this file.
1
/* \class StatusCandSelector
2
*
3
* Candidate Selector based on the status
4
* Usage:
5
*
6
* module leptons = StatusCandSelector {
7
* InputTag src = myCollection
8
* vint32 status = { 1 }
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/StatusSelector.h
"
17
#include "
DataFormats/Candidate/interface/Candidate.h
"
18
19
typedef
SingleObjectSelector<reco::CandidateCollection, StatusSelector>
StatusCandSelector
;
20
21
DEFINE_FWK_MODULE
(
StatusCandSelector
);
SingleObjectSelector.h
MakerMacros.h
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:16
StatusCandSelector
SingleObjectSelector< reco::CandidateCollection, StatusSelector > StatusCandSelector
Definition:
StatusCandSelector.cc:19
StatusSelector.h
SingleObjectSelectorBase
Definition:
SingleObjectSelector.h:26
Candidate.h
Generated for CMSSW Reference Manual by
1.8.16