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 
38 
48 
50 #include <algorithm>
54 // vertex timing
58 
59 //
60 // class declaration
61 //
62 
64 public:
66  ~PrimaryVertexProducer() override;
67 
68  void produce(edm::Event&, const edm::EventSetup&) override;
69 
70  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
71 
72  // access to config
73  edm::ParameterSet config() const { return theConfig; }
74 
75 private:
76  // ----------member data ---------------------------
78 
81 
82  // vtx fitting algorithms
83  struct algo {
88  double minNdof;
90  };
91 
92  std::vector<algo> algorithms;
93 
95  bool fVerbose;
96 
99 
105 
111 };
edm::EDGetTokenT< edm::ValueMap< float > > trackMTDTimeQualityToken
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
VertexTimeAlgorithmBase * pv_time_estimator
TrackClusterizerInZ * theTrackClusterizer
edm::ValueMap< float > trackTimes_
edm::EDGetTokenT< edm::ValueMap< float > > trkTimesToken
edm::ParameterSet config() const
edm::ValueMap< float > trackMTDTimeQualities_
edm::EDGetTokenT< edm::ValueMap< float > > trkTimeResosToken
VertexCompatibleWithBeam * vertexSelector
TrackFilterForPVFindingBase * theTrackFilter
void produce(edm::Event &, const edm::EventSetup &) override
PrimaryVertexProducer(const edm::ParameterSet &)
PrimaryVertexFitterBase * pv_fitter