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