Go to the documentation of this file.
44 #ifndef HITFIT_FIT_RESULT_VEC_H
45 #define HITFIT_FIT_RESULT_VEC_H
122 void push(std::shared_ptr<Fit_Result>
res);
133 std::vector<std::shared_ptr<Fit_Result>>
_v;
143 #endif // not HITFIT_FIT_RESULT_H
Hold the result of one kinematic fit.
~Fit_Result_Vec()
Destructor.
Holds pointers to a set of Fit_Result objects, resulting from different jet permutation with some con...
const Fit_Result & operator[](std::vector< std::shared_ptr< Fit_Result >>::size_type i) const
Return the i-th element of the Fit_Result objects in the vector.
Fit_Result_Vec(std::vector< std::shared_ptr< Fit_Result >>::size_type max_len)
Constructor.
void push(std::shared_ptr< Fit_Result > res)
Add a new Fit_Result to the list.
std::vector< std::shared_ptr< Fit_Result > > _v
std::vector< std::shared_ptr< Fit_Result > >::size_type size() const
Return the number of Fit_Result objects in the list.
Fit_Result_Vec & operator=(const Fit_Result_Vec &vec)
Assignment operator.
std::vector< std::shared_ptr< Fit_Result > >::size_type _max_len
friend std::ostream & operator<<(std::ostream &s, const Fit_Result_Vec &resvec)
Output stream operator, print the content of this Fit_Result_Vec to an output stream.