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 
47 //#include "RecoVertex/VertexTools/interface/VertexDistanceXY.h"
49 #include <algorithm>
53 //
54 // class declaration
55 //
56 
58 public:
60  ~PrimaryVertexProducer() override;
61 
62  void produce(edm::Event&, const edm::EventSetup&) override;
63 
64  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
65 
66  // access to config
67  edm::ParameterSet config() const { return theConfig; }
68 
69 private:
70  // ----------member data ---------------------------
72 
75 
76  // vtx fitting algorithms
77  struct algo {
82  double minNdof;
83  };
84 
85  std::vector<algo> algorithms;
86 
88  bool fVerbose;
89 
92 
97 
98  bool f4D;
99  bool weightFit;
100 };
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 &)