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"
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  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
64 
65  // access to config
66  edm::ParameterSet config() const { return theConfig; }
67 
68 private:
69  // ----------member data ---------------------------
71 
74 
75  // vtx fitting algorithms
76  struct algo {
81  double minNdof;
82  };
83 
84  std::vector<algo> algorithms;
85 
87  bool fVerbose;
88 
91 
96 
97  bool f4D;
98 };
edm::ParameterSet theConfig
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::EDGetTokenT< reco::BeamSpot > bsToken
const edm::ESGetToken< TransientTrackBuilder, TransientTrackRecord > theTTBToken
std::vector< algo > algorithms
edm::EDGetTokenT< reco::VertexCollection > recoveryVtxToken
edm::EDGetTokenT< reco::TrackCollection > trkToken
TrackClusterizerInZ * theTrackClusterizer
edm::EDGetTokenT< edm::ValueMap< float > > trkTimesToken
edm::ParameterSet config() const
edm::EDGetTokenT< edm::ValueMap< float > > trkTimeResosToken
VertexCompatibleWithBeam * vertexSelector
TrackFilterForPVFindingBase * theTrackFilter
void produce(edm::Event &, const edm::EventSetup &) override
PrimaryVertexProducer(const edm::ParameterSet &)