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 //
17 //
18 
19 
20 // system include files
21 #include <memory>
22 
23 // user include files
26 
29 
31 
32 //#include "RecoVertex/PrimaryVertexProducer/interface/PrimaryVertexProducerAlgorithm.h"
37 
44 //#include "RecoVertex/VertexTools/interface/VertexDistanceXY.h"
46 #include <algorithm>
49 
50 //
51 // class declaration
52 //
53 
55 public:
58 
59  virtual void produce(edm::Event&, const edm::EventSetup&);
60 
61  // access to config
62  edm::ParameterSet config() const { return theConfig; }
63 
64 private:
65  // ----------member data ---------------------------
68 
69  // vtx fitting algorithms
70  struct algo {
75  double minNdof;
76  };
77 
78  std::vector< algo > algorithms;
79 
81  bool fVerbose;
84 
85 };
edm::ParameterSet theConfig
edm::EDGetTokenT< reco::BeamSpot > bsToken
edm::EDGetTokenT< reco::TrackCollection > trkToken
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 &)