Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
CommonTools
CandAlgos
plugins
EtaPtMinCandSelector.cc
Go to the documentation of this file.
1
/* \class EtaPtMinCandSelector
2
*
3
* Candidate Selector based on a minimum pt cut and an eta range.
4
* Usage:
5
*
6
* module selectedCands = EtaPtMinCandSelector {
7
* InputTag src = myCollection
8
* double ptMin = 15.0
9
* double etaMin = -2
10
* double etaMax = 2
11
* };
12
*
13
* \author: Luca Lista, INFN
14
*
15
*/
16
#include "
FWCore/Framework/interface/MakerMacros.h
"
17
#include "
DataFormats/Common/interface/View.h
"
18
#include "
CommonTools/UtilAlgos/interface/SingleObjectSelector.h
"
19
#include "
CommonTools/UtilAlgos/interface/PtMinSelector.h
"
20
#include "
CommonTools/UtilAlgos/interface/EtaRangeSelector.h
"
21
#include "
CommonTools/UtilAlgos/interface/AndSelector.h
"
22
#include "
DataFormats/Candidate/interface/Candidate.h
"
23
24
typedef
SingleObjectSelector
<
25
reco::CandidateCollection
,
26
AndSelector
<
27
PtMinSelector
,
28
EtaRangeSelector
29
>
30
>
EtaPtMinCandSelector
;
31
32
DEFINE_FWK_MODULE
(
EtaPtMinCandSelector
);
EtaRangeSelector.h
EtaRangeSelector
Definition:
EtaRangeSelector.h:10
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:17
MakerMacros.h
PtMinSelector.h
Candidate.h
SingleObjectSelector
Definition:
SingleObjectSelector.h:19
View.h
SingleObjectSelector.h
AndSelector.h
EtaPtMinCandSelector
SingleObjectSelector< reco::CandidateCollection, AndSelector< PtMinSelector, EtaRangeSelector > > EtaPtMinCandSelector
Definition:
EtaPtMinCandSelector.cc:30
AndSelector
Definition:
AndSelector.h:23
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