Main Page
Namespaces
Classes
Package Documentation
src
CommonTools
CandAlgos
plugins
StatusCandViewSelector.cc
Go to the documentation of this file.
1
/* \class StatusCandViewSelector
2
*
3
* Candidate Selector based on the status.
4
* The input collection is a View<Candidate>
5
* Usage:
6
*
7
* module leptons = StatusCandRefSelector {
8
* InputTag src = myCollection
9
* vint32 status = { 1 }
10
* };
11
*
12
* \author: Luca Lista, INFN
13
*
14
*/
15
#include "
FWCore/Framework/interface/MakerMacros.h
"
16
#include "
CommonTools/UtilAlgos/interface/SingleObjectSelector.h
"
17
#include "
CommonTools/UtilAlgos/interface/StatusSelector.h
"
18
#include "
DataFormats/Candidate/interface/Candidate.h
"
19
20
typedef
SingleObjectSelector
<
21
reco::CandidateView
,
22
StatusSelector
23
>
StatusCandViewSelector
;
24
25
DEFINE_FWK_MODULE
(
StatusCandViewSelector
);
MakerMacros.h
StatusCandViewSelector
SingleObjectSelector< reco::CandidateView, StatusSelector > StatusCandViewSelector
Definition:
StatusCandViewSelector.cc:23
StatusSelector.h
Candidate.h
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:16
StatusSelector
Definition:
StatusSelector.h:12
SingleObjectSelector.h
SingleObjectSelectorBase
Definition:
SingleObjectSelector.h:28
reco::CandidateView
edm::View< Candidate > CandidateView
view of a collection containing candidates
Definition:
CandidateFwd.h:23
Generated for CMSSW Reference Manual by
1.8.11