CMS 3D CMS Logo

GenParticleRefSelector.cc
Go to the documentation of this file.
1 /* \class GenParticleRefSelector
2  *
3  * GenParticle Selector based on a configurable cut.
4  * saves a vector of references
5  * Usage:
6  *
7  * module selectedParticles = GenParticleRefSelector {
8  * InputTag src = genParticles
9  * string cut = "pt > 15.0"
10  * };
11  *
12  * \author: Luca Lista, INFN
13  *
14  */
19 
20 typedef SingleObjectSelector<
24 
26 
std::vector< GenParticle > GenParticleCollection
collection of GenParticles
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
SingleObjectSelector< reco::GenParticleCollection, StringCutObjectSelector< reco::GenParticle > > GenParticleRefSelector