CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
VertexRefSelector.cc
Go to the documentation of this file.
1 /* \class VertexRefSelector
2  *
3  * Selects vertices with a configurable string-based cut.
4  * Saves references to the selected vertices
5  *
6  * \author: Luca Lista, INFN
7  *
8  * usage:
9  *
10  * module bestVertices = VertexRefSelector {
11  * src = ctfWithMaterialTracks
12  * string cut = "chiSquared < 5"
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 
SingleObjectSelector< reco::VertexCollection, StringCutObjectSelector< reco::Vertex >, reco::VertexRefVector > VertexRefSelector
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:17
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9