CMS 3D CMS Logo

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 
45 //#include "RecoVertex/VertexTools/interface/VertexDistanceXY.h"
47 #include <algorithm>
51 //
52 // class declaration
53 //
54 
56 public:
59 
60  virtual void produce(edm::Event&, const edm::EventSetup&);
61 
62  // access to config
63  edm::ParameterSet config() const { return theConfig; }
64 
65 private:
66  // ----------member data ---------------------------
69 
70  // vtx fitting algorithms
71  struct algo {
76  double minNdof;
77  };
78 
79  std::vector< algo > algorithms;
80 
82  bool fVerbose;
83 
88 
89  bool f4D;
90 };
edm::ParameterSet theConfig
edm::EDGetTokenT< reco::BeamSpot > bsToken
edm::EDGetTokenT< reco::TrackCollection > trkToken
TrackClusterizerInZ * theTrackClusterizer
edm::ParameterSet config() const
edm::EDGetTokenT< edm::ValueMap< float > > trkTimesToken
edm::EDGetTokenT< edm::ValueMap< float > > trkTimeResosToken
VertexCompatibleWithBeam * vertexSelector
TrackFilterForPVFindingBase * theTrackFilter
virtual void produce(edm::Event &, const edm::EventSetup &)
std::vector< algo > algorithms
PrimaryVertexProducer(const edm::ParameterSet &)