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 };
TrackFilterForPVFinding.h
PrimaryVertexProducer::algo::fitter
VertexFitter< 5 > * fitter
Definition: PrimaryVertexProducer.h:77
PrimaryVertexProducer::config
edm::ParameterSet config() const
Definition: PrimaryVertexProducer.h:66
DAClusterizerInZ_vect.h
KalmanVertexFitter.h
edm::EDGetTokenT< reco::VertexCollection >
PrimaryVertexProducer::trkTimeResosToken
edm::EDGetTokenT< edm::ValueMap< float > > trkTimeResosToken
Definition: PrimaryVertexProducer.h:95
EDProducer.h
PrimaryVertexProducer::recoveryVtxToken
edm::EDGetTokenT< reco::VertexCollection > recoveryVtxToken
Definition: PrimaryVertexProducer.h:90
VertexCompatibleWithBeam.h
PrimaryVertexProducer
Definition: PrimaryVertexProducer.h:56
PrimaryVertexProducer::trkTimesToken
edm::EDGetTokenT< edm::ValueMap< float > > trkTimesToken
Definition: PrimaryVertexProducer.h:94
TrackFilterForPVFindingBase.h
TransientTrack.h
TrackClusterizerInZ
Definition: TrackClusterizerInZ.h:14
PrimaryVertexProducer::theTrackClusterizer
TrackClusterizerInZ * theTrackClusterizer
Definition: PrimaryVertexProducer.h:73
PrimaryVertexProducer::algo
Definition: PrimaryVertexProducer.h:76
VertexFitter< 5 >
PrimaryVertexProducer::algo::vertexSelector
VertexCompatibleWithBeam * vertexSelector
Definition: PrimaryVertexProducer.h:78
DAClusterizerInZ.h
PrimaryVertexProducer::fRecoveryIteration
bool fRecoveryIteration
Definition: PrimaryVertexProducer.h:89
PrimaryVertexProducer::theTTBToken
const edm::ESGetToken< TransientTrackBuilder, TransientTrackRecord > theTTBToken
Definition: PrimaryVertexProducer.h:70
PrimaryVertexProducer::theConfig
edm::ParameterSet theConfig
Definition: PrimaryVertexProducer.h:86
PrimaryVertexProducer::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: PrimaryVertexProducer.cc:343
PrimaryVertexProducer::theTrackFilter
TrackFilterForPVFindingBase * theTrackFilter
Definition: PrimaryVertexProducer.h:72
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
TransientTrackBuilder.h
PrimaryVertexProducer::f4D
bool f4D
Definition: PrimaryVertexProducer.h:97
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
VertexCompatibleWithBeam
Definition: VertexCompatibleWithBeam.h:15
DAClusterizerInZT_vect.h
edm::stream::EDProducer
Definition: EDProducer.h:36
edm::EventSetup
Definition: EventSetup.h:58
TransientTrackRecord.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ESGetToken< TransientTrackBuilder, TransientTrackRecord >
PrimaryVertexProducer::trkToken
edm::EDGetTokenT< reco::TrackCollection > trkToken
Definition: PrimaryVertexProducer.h:93
ValueMap.h
PrimaryVertexProducer::algo::useBeamConstraint
bool useBeamConstraint
Definition: PrimaryVertexProducer.h:80
PrimaryVertexProducer::fVerbose
bool fVerbose
Definition: PrimaryVertexProducer.h:87
PrimaryVertexProducer::~PrimaryVertexProducer
~PrimaryVertexProducer() override
Definition: PrimaryVertexProducer.cc:131
Frameworkfwd.h
PrimaryVertexProducer::PrimaryVertexProducer
PrimaryVertexProducer(const edm::ParameterSet &)
Definition: PrimaryVertexProducer.cc:18
PrimaryVertexProducer::bsToken
edm::EDGetTokenT< reco::BeamSpot > bsToken
Definition: PrimaryVertexProducer.h:92
EventSetup.h
VertexException.h
TrackFilterForPVFindingBase
Definition: TrackFilterForPVFindingBase.h:14
PrimaryVertexProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition: PrimaryVertexProducer.cc:144
PrimaryVertexProducer::algorithms
std::vector< algo > algorithms
Definition: PrimaryVertexProducer.h:84
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:81
PrimaryVertexProducer::algo::label
std::string label
Definition: PrimaryVertexProducer.h:79