src
CommonTools
CandAlgos
plugins
PtMinCandViewSelector.cc
Go to the documentation of this file.
1
/* \class PtMinCandViewSelector
2
*
3
* Candidate Selector based on a minimum pt cut.
4
* Reads a edm::View<Candidate> as input
5
* and saves a vector of references
6
* Usage:
7
*
8
* module selectedCands = PtMinCandViewSelector {
9
* InputTag src = myCollection
10
* double ptMin = 15.0
11
* };
12
*
13
* \author: Luca Lista, INFN
14
*
15
*/
16
#include "
FWCore/Framework/interface/MakerMacros.h
"
17
#include "
CommonTools/UtilAlgos/interface/SingleObjectSelector.h
"
18
#include "
CommonTools/UtilAlgos/interface/PtMinSelector.h
"
19
#include "
DataFormats/Candidate/interface/Candidate.h
"
20
21
typedef
SingleObjectSelector<edm::View<reco::Candidate>
,
PtMinSelector
>
PtMinCandViewSelector
;
22
23
DEFINE_FWK_MODULE
(
PtMinCandViewSelector
);
PtMinSelector.h
PtMinCandViewSelector
SingleObjectSelector< edm::View< reco::Candidate >, PtMinSelector > PtMinCandViewSelector
Definition:
PtMinCandViewSelector.cc:21
Candidate.h
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:16
SingleObjectSelector.h
SingleObjectSelectorBase
Definition:
SingleObjectSelector.h:31
PtMinSelector
Definition:
PtMinSelector.h:10
MakerMacros.h
Generated for CMSSW Reference Manual by
1.8.14