test
CMS 3D CMS Logo

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