30 #ifndef MinMassDiffInvJigsaw_HH
31 #define MinMassDiffInvJigsaw_HH
33 #include "Math/Minimizer.h"
34 #include "Math/Functor.h"
43 const std::string& stitle,
47 virtual std::string GetLabel()
const {
return "Min #Sigma M(vis , inv)_{i}^{2}"; }
49 virtual double GetMinimumMass()
const;
51 virtual bool AnalyzeEvent();
55 mutable std::vector<TLorentzVector> m_Pvis;
56 mutable std::vector<TLorentzVector> m_Pinv;
57 std::vector<double> m_Minv;
64 double GetPScale(
double Minv);
65 void ApplyOptimalRotation();
67 ROOT::Math::Minimizer* m_minimizer;
68 ROOT::Math::Functor* m_functor;
70 double EvaluateMetric(
const double* param);