30 #ifndef MaxProbBreitWignerInvJigsaw_HH
31 #define MaxProbBreitWignerInvJigsaw_HH
33 #include "Math/Minimizer.h"
34 #include "Math/Functor.h"
43 const std::string& stitle,
47 virtual std::string GetLabel()
const {
return "Max Prob Breit-Wigner"; }
49 virtual void SetPoleMass(
double mass,
int i = 0);
50 virtual void SetWidth(
double width,
int i = 0);
52 virtual double GetMinimumMass()
const;
54 virtual bool AnalyzeEvent();
58 mutable std::vector<TLorentzVector> m_Pvis;
59 mutable std::vector<TLorentzVector> m_Pinv;
60 std::vector<double> m_Minv;
62 std::vector<double> m_Mass;
63 std::vector<double> m_Width;
70 double GetPScale(
double Minv);
71 void ApplyOptimalRotation();
73 ROOT::Math::Minimizer* m_minimizer;
74 ROOT::Math::Functor* m_functor;
76 double EvaluateMetric(
const double* param);