31 #include "RestFrames/MinMassesSqCombJigsaw.hh"
35 MinMassesSqCombJigsaw::MinMassesSqCombJigsaw(
const std::string& sname,
36 const std::string& stitle,
37 int N_comb,
int N_mass)
38 : CombinatoricJigsaw(sname, stitle, N_comb, N_mass),
39 m_Ncomb(N_comb), m_Nmass(N_mass) {}
41 MinMassesSqCombJigsaw::~MinMassesSqCombJigsaw() {}
43 bool MinMassesSqCombJigsaw::EvaluateMetric(
double& metric)
const {
46 for(
int i = 0; i < m_Nmass; i++)
47 sum += GetDependancyStates(i).GetFourVector().M2();