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  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
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 };
TrackFilterForPVFinding.h
PrimaryVertexProducer::algo::fitter
VertexFitter< 5 > * fitter
Definition: PrimaryVertexProducer.h:73
PrimaryVertexProducer::config
edm::ParameterSet config() const
Definition: PrimaryVertexProducer.h:64
DAClusterizerInZ_vect.h
KalmanVertexFitter.h
edm::EDGetTokenT< reco::BeamSpot >
PrimaryVertexProducer::trkTimeResosToken
edm::EDGetTokenT< edm::ValueMap< float > > trkTimeResosToken
Definition: PrimaryVertexProducer.h:88
EDProducer.h
VertexCompatibleWithBeam.h
PrimaryVertexProducer
Definition: PrimaryVertexProducer.h:54
PrimaryVertexProducer::trkTimesToken
edm::EDGetTokenT< edm::ValueMap< float > > trkTimesToken
Definition: PrimaryVertexProducer.h:87
TrackFilterForPVFindingBase.h
TransientTrack.h
TrackClusterizerInZ
Definition: TrackClusterizerInZ.h:14
PrimaryVertexProducer::theTrackClusterizer
TrackClusterizerInZ * theTrackClusterizer
Definition: PrimaryVertexProducer.h:69
PrimaryVertexProducer::algo
Definition: PrimaryVertexProducer.h:72
VertexFitter< 5 >
PrimaryVertexProducer::algo::vertexSelector
VertexCompatibleWithBeam * vertexSelector
Definition: PrimaryVertexProducer.h:74
DAClusterizerInZ.h
PrimaryVertexProducer::theConfig
edm::ParameterSet theConfig
Definition: PrimaryVertexProducer.h:82
PrimaryVertexProducer::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: PrimaryVertexProducer.cc:326
PrimaryVertexProducer::theTrackFilter
TrackFilterForPVFindingBase * theTrackFilter
Definition: PrimaryVertexProducer.h:68
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
PrimaryVertexProducer::f4D
bool f4D
Definition: PrimaryVertexProducer.h:90
edm::ParameterSet
Definition: ParameterSet.h:36
Event.h
VertexCompatibleWithBeam
Definition: VertexCompatibleWithBeam.h:15
DAClusterizerInZT_vect.h
edm::stream::EDProducer
Definition: EDProducer.h:38
edm::EventSetup
Definition: EventSetup.h:57
PrimaryVertexProducer::trkToken
edm::EDGetTokenT< reco::TrackCollection > trkToken
Definition: PrimaryVertexProducer.h:86
ValueMap.h
PrimaryVertexProducer::algo::useBeamConstraint
bool useBeamConstraint
Definition: PrimaryVertexProducer.h:76
PrimaryVertexProducer::fVerbose
bool fVerbose
Definition: PrimaryVertexProducer.h:83
PrimaryVertexProducer::~PrimaryVertexProducer
~PrimaryVertexProducer() override
Definition: PrimaryVertexProducer.cc:120
Frameworkfwd.h
PrimaryVertexProducer::PrimaryVertexProducer
PrimaryVertexProducer(const edm::ParameterSet &)
Definition: PrimaryVertexProducer.cc:20
PrimaryVertexProducer::bsToken
edm::EDGetTokenT< reco::BeamSpot > bsToken
Definition: PrimaryVertexProducer.h:85
EventSetup.h
VertexException.h
TrackFilterForPVFindingBase
Definition: TrackFilterForPVFindingBase.h:14
PrimaryVertexProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition: PrimaryVertexProducer.cc:133
PrimaryVertexProducer::algorithms
std::vector< algo > algorithms
Definition: PrimaryVertexProducer.h:80
ParameterSet.h
GapClusterizerInZ.h
edm::Event
Definition: Event.h:73
AdaptiveVertexFitter.h
VertexHigherPtSquared.h
TrackClusterizerInZ.h
HITrackFilterForPVFinding.h
PrimaryVertexProducer::algo::minNdof
double minNdof
Definition: PrimaryVertexProducer.h:77
PrimaryVertexProducer::algo::label
std::string label
Definition: PrimaryVertexProducer.h:75