File indexing completed on 2024-04-06 12:29:10
0001 #ifndef KinematicParticleFitter_H
0002 #define KinematicParticleFitter_H
0003
0004 #include "RecoVertex/KinematicFitPrimitives/interface/RefCountedKinematicParticle.h"
0005 #include "RecoVertex/KinematicFitPrimitives/interface/RefCountedKinematicVertex.h"
0006 #include "RecoVertex/KinematicFitPrimitives/interface/KinematicConstraint.h"
0007 #include "RecoVertex/KinematicFitPrimitives/interface/RefCountedKinematicTree.h"
0008 #include "RecoVertex/KinematicFit/interface/ParentParticleFitter.h"
0009 #include "RecoVertex/KinematicFit/interface/ChildUpdator.h"
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023 class KinematicParticleFitter {
0024 public:
0025
0026
0027
0028
0029 KinematicParticleFitter();
0030
0031
0032
0033
0034
0035 KinematicParticleFitter(const ParentParticleFitter& fitter, const ChildUpdator& updator);
0036
0037 ~KinematicParticleFitter();
0038
0039
0040
0041
0042
0043
0044
0045
0046
0047
0048
0049
0050 std::vector<RefCountedKinematicTree> fit(KinematicConstraint* cs,
0051 const std::vector<RefCountedKinematicTree>& trees) const;
0052
0053
0054
0055
0056
0057
0058
0059 RefCountedKinematicTree fit(KinematicConstraint* cs, RefCountedKinematicTree tree) const;
0060
0061 private:
0062 ParentParticleFitter* parentFitter;
0063 ChildUpdator* cUpdator;
0064 };
0065
0066 #endif