CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DivisiveVertexFinder.h
Go to the documentation of this file.
1 #ifndef RecoPixelVertexing_DivisiveVertexFinder_h
2 #define RecoPixelVertexing_DivisiveVertexFinder_h
3 
26 #include <vector>
31 //#include "CommonTools/Clustering1D/interface/DivisiveClusterizer1D.h"
33 
35  public:
36  DivisiveVertexFinder(double zOffset=5.0, int ntrkMin=5, bool useError=true,
37  double zSeparation=0.05, bool wtAverage=true, int verbosity=0);
39 
41  bool findVertexes(const reco::TrackRefVector &trks, // input
42  reco::VertexCollection &vertexes); // output
43  bool findVertexesAlt(const reco::TrackRefVector &trks, // input
44  reco::VertexCollection &vertexes, const math::XYZPoint & bs); // output
45  private:
48  int ntrkMin_;
50 
53  // DivisiveClusterizer1D< reco::Track > divmeth_;
54 
55  // How loud should I be?
56  int verbose_;
57 
58 };
59 #endif
pixeltemp::DivisiveClusterizer1D< reco::Track > divmeth_
We use Wolfgang&#39;s templated class that implements the actual divisive method.
DivisiveVertexFinder(double zOffset=5.0, int ntrkMin=5, bool useError=true, double zSeparation=0.05, bool wtAverage=true, int verbosity=0)
bool findVertexesAlt(const reco::TrackRefVector &trks, reco::VertexCollection &vertexes, const math::XYZPoint &bs)
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
bool findVertexes(const reco::TrackRefVector &trks, reco::VertexCollection &vertexes)
Run the divisive algorithm and return a vector of vertexes for the input track collection.
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:13
double zOffset_
Cuts on vertex formation and other options.