Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
CommonTools
CandAlgos
plugins
StatusCandRefSelector.cc
Go to the documentation of this file.
1
/* \class StatusCandRefSelector
2
*
3
* Candidate Selector based on the status.
4
* Save a vector of references to selected candidates.
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::CandidateCollection
,
22
StatusSelector
,
23
reco::CandidateRefVector
24
>
StatusCandRefSelector
;
25
26
DEFINE_FWK_MODULE
(
StatusCandRefSelector
);
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:17
MakerMacros.h
StatusCandRefSelector
SingleObjectSelector< reco::CandidateCollection, StatusSelector, reco::CandidateRefVector > StatusCandRefSelector
Definition:
StatusCandRefSelector.cc:24
StatusSelector.h
Candidate.h
StatusSelector
Definition:
StatusSelector.h:12
SingleObjectSelector.h
SingleObjectSelectorBase
Definition:
SingleObjectSelector.h:28
edm::RefVector
Definition:
EDProductfwd.h:23
reco::CandidateCollection
edm::OwnVector< Candidate > CandidateCollection
collection of Candidate objects
Definition:
CandidateFwd.h:21
Generated for CMSSW Reference Manual by
1.8.5