CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PrimaryVertexProducerAlgorithm.h
Go to the documentation of this file.
1 #ifndef PrimaryVertexProducerAlgorithm_H
3 #define PrimaryVertexProducerAlgorithm_H
4 // -*- C++ -*-
5 //
6 // Package: PrimaryVertexProducerAlgorithm
7 // Class: PrimaryVertexProducerAlgorithm
8 //
16 //
17 // Original Author: Pascal Vanlaer
18 // Created: Tue Feb 28 11:06:34 CET 2006
19 // $Id: PrimaryVertexProducerAlgorithm.h,v 1.17 2012/04/27 16:12:39 werdmann Exp $
20 //
21 //
22 
23 
24 // system include files
25 #include <memory>
26 
27 // user include files
30 
33 
36 
42 
49 //#include "RecoVertex/VertexTools/interface/VertexDistanceXY.h"
51 #include <algorithm>
54 
55 //
56 // class declaration
57 //
58 
60 public:
61 
64 
65  // obsolete method
66  virtual std::vector<TransientVertex>
67  vertices(const std::vector<reco::TransientTrack> & tracks) const;
68 
69  virtual std::vector<TransientVertex>
70  vertices(const std::vector<reco::TransientTrack> & tracks,
71  const reco::BeamSpot & beamSpot,
72  const std::string& label=""
73  ) const;
77  return new PrimaryVertexProducerAlgorithm(*this);
78  }
79 
80 
81  // access to config
82  edm::ParameterSet config() const { return theConfig; }
85 private:
86  // ----------member data ---------------------------
89 
90  // vtx fitting algorithms
91  struct algo {
96  double minNdof;
97  };
98 
99  std::vector< algo > algorithms;
100 
102  bool fVerbose;
103 
104 };
105 #endif
106 
virtual std::vector< TransientVertex > vertices(const std::vector< reco::TransientTrack > &tracks) const
PrimaryVertexProducerAlgorithm(const edm::ParameterSet &)
virtual PrimaryVertexProducerAlgorithm * clone() const
TrackFilterForPVFindingBase * theTrackFilter
tuple tracks
Definition: testEve_cfg.py:39