Main Page
Namespaces
Classes
Package Documentation
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
<
23
edm::View<reco::Candidate>
,
24
PtMinSelector
,
25
reco::CandidateCollection
26
>
PtMinCandViewCloneSelector
;
27
28
DEFINE_FWK_MODULE
(
PtMinCandViewCloneSelector
);
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:17
MakerMacros.h
PtMinSelector.h
Candidate.h
edm::OwnVector< Candidate >
edm::View< reco::Candidate >
PtMinCandViewCloneSelector
SingleObjectSelector< edm::View< reco::Candidate >, PtMinSelector, reco::CandidateCollection > PtMinCandViewCloneSelector
Definition:
PtMinCandViewCloneSelector.cc:26
SingleObjectSelector.h
SingleObjectSelectorBase
Definition:
SingleObjectSelector.h:28
PtMinSelector
Definition:
PtMinSelector.h:10
Generated for CMSSW Reference Manual by
1.8.11