CMS 3D CMS Logo

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  */
24 
25 typedef SingleObjectSelector<
31  >
33 
SingleObjectSelector< reco::CandidateCollection, AndSelector< PtMinSelector, EtaRangeSelector, PdgIdSelector > > EtaPtMinPdgIdCandSelector
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
edm::OwnVector< Candidate > CandidateCollection
collection of Candidate objects
Definition: CandidateFwd.h:21