File indexing completed on 2024-04-06 12:29:10
0001 #ifndef MultiTrackPointingKinematicConstraint_H
0002 #define MultiTrackPointingKinematicConstraint_H
0003
0004 #include "RecoVertex/KinematicFitPrimitives/interface/MultiTrackKinematicConstraint.h"
0005 #include "RecoVertex/KinematicFitPrimitives/interface/KinematicState.h"
0006 #include "DataFormats/CLHEP/interface/AlgebraicObjects.h"
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021 class MultiTrackPointingKinematicConstraint : public MultiTrackKinematicConstraint {
0022 public:
0023 MultiTrackPointingKinematicConstraint(GlobalPoint& ref) : refPoint(ref) {}
0024
0025
0026
0027
0028
0029
0030 AlgebraicVector value(const std::vector<KinematicState>& states, const GlobalPoint& point) const override;
0031
0032
0033
0034
0035
0036
0037 AlgebraicMatrix parametersDerivative(const std::vector<KinematicState>& states,
0038 const GlobalPoint& point) const override;
0039
0040
0041
0042
0043
0044
0045 AlgebraicMatrix positionDerivative(const std::vector<KinematicState>& states,
0046 const GlobalPoint& point) const override;
0047
0048
0049
0050
0051 int numberOfEquations() const override;
0052
0053 MultiTrackPointingKinematicConstraint* clone() const override {
0054 return new MultiTrackPointingKinematicConstraint(*this);
0055 }
0056
0057 private:
0058 GlobalPoint refPoint;
0059 };
0060 #endif