Main Page
Namespaces
Classes
Package Documentation
CommonTools
CandAlgos
plugins
EtaPtMinCandViewSelector.cc
Go to the documentation of this file.
1
/* \class EtaPtMinViewCandSelector
2
*
3
* Candidate Selector based on a minimum pt cut and an eta range.
4
* The input is a View<Candidate>
5
* Usage:
6
*
7
* module selectedCands = EtaPtMinCandSelector {
8
* InputTag src = myCollection
9
* double ptMin = 15.0
10
* double etaMin = -2
11
* double etaMax = 2
12
* };
13
*
14
* \author: Luca Lista, INFN
15
*
16
*/
17
#include "
FWCore/Framework/interface/MakerMacros.h
"
18
#include "
DataFormats/Common/interface/View.h
"
19
#include "
CommonTools/UtilAlgos/interface/SingleObjectSelector.h
"
20
#include "
CommonTools/UtilAlgos/interface/PtMinSelector.h
"
21
#include "
CommonTools/UtilAlgos/interface/EtaRangeSelector.h
"
22
#include "
CommonTools/UtilAlgos/interface/AndSelector.h
"
23
#include "
DataFormats/Candidate/interface/Candidate.h
"
24
25
typedef
SingleObjectSelector
<
26
edm::View<reco::Candidate>
,
27
AndSelector
<
28
PtMinSelector
,
29
EtaRangeSelector
30
>,
31
reco::CandidateCollection
32
>
EtaPtMinCandViewSelector
;
33
34
DEFINE_FWK_MODULE
(
EtaPtMinCandViewSelector
);
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
edm::OwnVector< Candidate >
edm::View< reco::Candidate >
View.h
SingleObjectSelector.h
SingleObjectSelectorBase
Definition:
SingleObjectSelector.h:28
AndSelector.h
AndSelector
Definition:
AndSelector.h:23
PtMinSelector
Definition:
PtMinSelector.h:10
EtaPtMinCandViewSelector
SingleObjectSelector< edm::View< reco::Candidate >, AndSelector< PtMinSelector, EtaRangeSelector >, reco::CandidateCollection > EtaPtMinCandViewSelector
Definition:
EtaPtMinCandViewSelector.cc:32
Generated for CMSSW Reference Manual by
1.8.11