test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PdgIdCandViewSelector.cc
Go to the documentation of this file.
1 /* \class PdgIdCandViewSelector
2  *
3  * Candidate Selector based on a pdgId set. The input collection
4  * is a View<Candidate>.
5  * Saves a collection of references to selected objects
6  * Usage:
7  *
8  * module leptonRefs = PdgIdCandViewSelector {
9  * InputTag src = myCollection
10  * vint32 pdgId = { 11, 13 }
11  * };
12  *
13  * \author: Luca Lista, INFN
14  *
15  */
20 
21 typedef SingleObjectSelector <
25 
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:17
SingleObjectSelector< reco::CandidateView, PdgIdSelector > PdgIdCandViewSelector
edm::View< Candidate > CandidateView
view of a collection containing candidates
Definition: CandidateFwd.h:23