CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
LargestPtCandSelector.cc
Go to the documentation of this file.
1 /* \class LargestPtCandSelector
2  *
3  * Keep the maxNumber biggest (in respect to Pt) Candidates from myCollection
4  * Usage:
5  *
6  *
7  * module McPartonSele = LargestPtCandSelector {
8  * InputTag src = myCollection
9  * uint32 maxNumber = 3
10  * }
11  *
12  * \author: Loic Quertenmont, UCL
13  *
14  */
15 
21 
22 typedef ObjectSelector<
26  >
28 
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:17
ObjectSelector< SortCollectionSelector< reco::CandidateCollection, GreaterByPt< reco::Candidate > > > LargestPtCandSelector
edm::OwnVector< Candidate > CandidateCollection
collection of Candidate objects
Definition: CandidateFwd.h:21