CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PrimaryVertexProducer.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: PrimaryVertexProducer
4 // Class: PrimaryVertexProducer
5 //
13 //
14 // Original Author: Pascal Vanlaer
15 // Created: Tue Feb 28 11:06:34 CET 2006
16 // $Id: PrimaryVertexProducer.h,v 1.12 2011/11/09 17:23:36 dpiparo Exp $
17 //
18 //
19 
20 
21 // system include files
22 #include <memory>
23 
24 // user include files
27 
30 
33 
34 //#include "RecoVertex/PrimaryVertexProducer/interface/PrimaryVertexProducerAlgorithm.h"
39 
46 //#include "RecoVertex/VertexTools/interface/VertexDistanceXY.h"
48 #include <algorithm>
51 
52 //
53 // class declaration
54 //
55 
57 public:
60 
61  virtual void produce(edm::Event&, const edm::EventSetup&);
62 
63  // access to config
64  edm::ParameterSet config() const { return theConfig; }
67 
68 private:
69  // ----------member data ---------------------------
72 
73  // vtx fitting algorithms
74  struct algo {
77  std::string label;
79  double minNdof;
80  };
81 
82  std::vector< algo > algorithms;
83 
85  bool fVerbose;
86 };
edm::ParameterSet theConfig
TrackClusterizerInZ * theTrackClusterizer
edm::ParameterSet config() const
VertexCompatibleWithBeam * vertexSelector
TrackFilterForPVFindingBase * theTrackFilter
virtual void produce(edm::Event &, const edm::EventSetup &)
std::vector< algo > algorithms
PrimaryVertexProducer(const edm::ParameterSet &)