Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
<
20
reco::CandidateCollection
,
21
PtMinSelector
22
>
PtMinCandSelector
;
23
24
DEFINE_FWK_MODULE
(
PtMinCandSelector
);
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:17
MakerMacros.h
PtMinSelector.h
PtMinCandSelector
SingleObjectSelector< reco::CandidateCollection, PtMinSelector > PtMinCandSelector
Definition:
PtMinCandSelector.cc:22
Candidate.h
SingleObjectSelector.h
SingleObjectSelectorBase
Definition:
SingleObjectSelector.h:28
PtMinSelector
Definition:
PtMinSelector.h:10
reco::CandidateCollection
edm::OwnVector< Candidate > CandidateCollection
collection of Candidate objects
Definition:
CandidateFwd.h:21
Generated for CMSSW Reference Manual by
1.8.5