Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
<
20
reco::CandidateCollection
,
21
StatusSelector
22
>
StatusCandSelector
;
23
24
DEFINE_FWK_MODULE
(
StatusCandSelector
);
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:17
MakerMacros.h
StatusSelector.h
Candidate.h
StatusSelector
Definition:
StatusSelector.h:12
StatusCandSelector
SingleObjectSelector< reco::CandidateCollection, StatusSelector > StatusCandSelector
Definition:
StatusCandSelector.cc:22
SingleObjectSelector.h
SingleObjectSelectorBase
Definition:
SingleObjectSelector.h:28
reco::CandidateCollection
edm::OwnVector< Candidate > CandidateCollection
collection of Candidate objects
Definition:
CandidateFwd.h:21
Generated for CMSSW Reference Manual by
1.8.5