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