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 // system include files
20 #include <memory>
21 
22 // user include files
25 
28 
30 
31 //#include "RecoVertex/PrimaryVertexProducer/interface/PrimaryVertexProducerAlgorithm.h"
37 
44 //#include "RecoVertex/VertexTools/interface/VertexDistanceXY.h"
46 #include <algorithm>
50 //
51 // class declaration
52 //
53 
55 public:
57  ~PrimaryVertexProducer() override;
58 
59  void produce(edm::Event&, const edm::EventSetup&) override;
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;
82 
87 
88  bool f4D;
89 };
edm::ParameterSet theConfig
edm::EDGetTokenT< reco::BeamSpot > bsToken
std::vector< algo > algorithms
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
void produce(edm::Event &, const edm::EventSetup &) override
PrimaryVertexProducer(const edm::ParameterSet &)