44 #ifndef HITFIT_FIT_RESULT_VEC_H 45 #define HITFIT_FIT_RESULT_VEC_H 126 void push (std::shared_ptr<Fit_Result>
res);
138 std::vector<std::shared_ptr<Fit_Result>>
_v;
150 #endif // not HITFIT_FIT_RESULT_H Hold the result of one kinematic fit.
Fit_Result_Vec & operator=(const Fit_Result_Vec &vec)
Assignment operator.
~Fit_Result_Vec()
Destructor.
void push(std::shared_ptr< Fit_Result > res)
Add a new Fit_Result to the list.
Fit_Result_Vec(std::vector< std::shared_ptr< Fit_Result >>::size_type max_len)
Constructor.
std::vector< std::shared_ptr< Fit_Result > > _v
Holds pointers to a set of Fit_Result objects, resulting from different jet permutation with some con...
std::vector< std::shared_ptr< Fit_Result > >::size_type size() const
Return the number of Fit_Result objects in the list.
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.
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.
std::vector< std::shared_ptr< Fit_Result > >::size_type _max_len