Go to the documentation of this file.00001 #ifndef PhysicsTools_Utilities_RootMinuitResultPrinter_h
00002 #define PhysicsTools_Utilities_RootMinuitResultPrinter_h
00003 #include <iostream>
00004
00005 namespace fit {
00006
00007 template<typename Function>
00008 struct RootMinuitResultPrinter {
00009 static void print(double amin, unsigned int numberOfFreeParameters, const Function & f) {
00010 std::cout << "minimum function = " << amin << ", free parameters = " << numberOfFreeParameters
00011 << std::endl;
00012 }
00013 };
00014
00015 }
00016
00017 #endif