CMS 3D CMS Logo

TrackRefSelector.cc
Go to the documentation of this file.
1 /* \class TrackRefSelector
2  *
3  * Selects track with a configurable string-based cut.
4  * Saves references to the selected tracks
5  *
6  * \author: Luca Lista, INFN
7  *
8  * usage:
9  *
10  * module bestTracks = TrackRefSelector {
11  * src = ctfWithMaterialTracks
12  * string cut = "pt > 20 & abs( eta ) < 2"
13  * }
14  *
15  * for more details about the cut syntax, see the documentation
16  * page below:
17  *
18  * https://twiki.cern.ch/twiki/bin/view/CMS/SWGuidePhysicsCutParser
19  *
20  *
21  */
22 
28 
29  typedef SingleObjectSelector<
34 
std::vector< Track > TrackCollection
collection of Tracks
Definition: TrackFwd.h:15
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
SingleObjectSelector< reco::TrackCollection, StringCutObjectSelector< reco::Track >, reco::TrackRefVector > TrackRefSelector