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"
38 
39 
46 //#include "RecoVertex/VertexTools/interface/VertexDistanceXY.h"
48 #include <algorithm>
52 //
53 // class declaration
54 //
55 
57 public:
59  ~PrimaryVertexProducer() override;
60 
61  void produce(edm::Event&, const edm::EventSetup&) override;
62 
63  // access to config
64  edm::ParameterSet config() const { return theConfig; }
65 
66 private:
67  // ----------member data ---------------------------
70 
71  // vtx fitting algorithms
72  struct algo {
77  double minNdof;
78  };
79 
80  std::vector< algo > algorithms;
81 
83  bool fVerbose;
84 
89 
90  bool f4D;
91 };
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
std::vector< algo > algorithms
void produce(edm::Event &, const edm::EventSetup &) override
PrimaryVertexProducer(const edm::ParameterSet &)