5 #ifndef OPTIMIZER_MINUIT2_MINUITRESULT_HPP_ 6 #define OPTIMIZER_MINUIT2_MINUITRESULT_HPP_ 10 #include "boost/serialization/base_object.hpp" 14 class FunctionMinimum;
25 const ROOT::Minuit2::FunctionMinimum &FMin);
26 bool CovPosDef =
false;
27 bool HasValidParameters =
false;
28 bool HasValidCov =
false;
29 bool HasAccCov =
false;
30 bool HasReachedCallLimit =
false;
31 bool EdmAboveMax =
false;
32 bool HesseFailed =
false;
33 double ErrorDef =
false;
34 unsigned int NFcn = 0;
38 void write(std::string filename)
const;
43 friend class boost::serialization::access;
44 template <
class archive>
45 void serialize(archive &ar,
const unsigned int version) {
47 ar &BOOST_SERIALIZATION_BASE_OBJECT_NVP(
FitResult);
48 ar &BOOST_SERIALIZATION_NVP(CovPosDef);
49 ar &BOOST_SERIALIZATION_NVP(HasValidParameters);
50 ar &BOOST_SERIALIZATION_NVP(HasValidCov);
51 ar &BOOST_SERIALIZATION_NVP(HasAccCov);
52 ar &BOOST_SERIALIZATION_NVP(HasReachedCallLimit);
53 ar &BOOST_SERIALIZATION_NVP(EdmAboveMax);
54 ar &BOOST_SERIALIZATION_NVP(HesseFailed);
55 ar &BOOST_SERIALIZATION_NVP(ErrorDef);
56 ar &BOOST_SERIALIZATION_NVP(NFcn);
57 ar &BOOST_SERIALIZATION_NVP(Edm);
58 ar &BOOST_SERIALIZATION_NVP(GlobalCC);
std::ostream & operator<<(std::ostream &os, const Event &ev)
std::vector< double > GlobalCC
Data structure which resembles a general fit result.
FitResult load(std::string filename)
void serialize(archive &ar, const unsigned int version)