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