62 assert (i <
_v.size());
75 const std::vector<int>& list_flags)
96 assert (list_flags.size() ==
_v.size());
98 auto res = std::make_shared<Fit_Result>(chisq,
ev, pullx, pully, umwhad, utmass,
mt,
sigmt);
127 s <<
"List " <<
i <<
"\n" << res.
_v[
i];
Hold the result of one kinematic fit.
CLHEP::HepVector Column_Vector
void push(double chisq, const Lepjets_Event &ev, const Column_Vector &pullx, const Column_Vector &pully, double umwhad, double utmass, double mt, double sigmt, const std::vector< int > &list_flags)
Add a new fit result.
Represent a simple event consisting of lepton(s) and jet(s). An instance of this class holds a list o...
std::vector< Fit_Result_Vec > _v
Holds pointers to a set of Fit_Result objects, resulting from different jet permutation with some con...
friend std::ostream & operator<<(std::ostream &s, const Fit_Results &res)
Output stream operator, print the content of this Fit_Results to an output stream.
Hold set(s) of results from more than one kinematic fits. Each set correspond to some subset of jet p...
const Fit_Result_Vec & operator[](std::vector< Fit_Result_Vec >::size_type i) const
Access the i-th list.
Fit_Results(int max_len, int n_lists)
Constructor, make n_list of lists, each of maximum length max_len.
Holds set(s) of results from more than one kinematic fits.