File indexing completed on 2024-04-06 12:29:10
0001 #ifndef KinematicParticleVertexFitter_H
0002 #define KinematicParticleVertexFitter_H
0003
0004 #include "RecoVertex/KinematicFitPrimitives/interface/RefCountedKinematicTree.h"
0005 #include "RecoVertex/VertexTools/interface/LinearizationPointFinder.h"
0006 #include "RecoVertex/VertexTools/interface/VertexTrackFactory.h"
0007 #include "RecoVertex/KinematicFit/interface/InputSort.h"
0008 #include "RecoVertex/VertexPrimitives/interface/VertexFitter.h"
0009 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025 class KinematicParticleVertexFitter {
0026 public:
0027
0028
0029
0030
0031 KinematicParticleVertexFitter();
0032
0033 KinematicParticleVertexFitter(const edm::ParameterSet &pSet);
0034
0035
0036
0037
0038
0039
0040
0041
0042
0043 ~KinematicParticleVertexFitter();
0044
0045
0046
0047
0048
0049
0050
0051
0052 RefCountedKinematicTree fit(const std::vector<RefCountedKinematicParticle> &particles) const;
0053
0054 private:
0055 edm::ParameterSet defaultParameters() const;
0056 void setup(const edm::ParameterSet &pSet);
0057
0058 VertexFitter<6> *fitter;
0059 LinearizationPointFinder *pointFinder;
0060 VertexTrackFactory<6> *vFactory;
0061 };
0062 #endif