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