Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:33:30

0001 #ifndef PhysicsTools_Utilities_RootMinuitResultPrinter_h
0002 #define PhysicsTools_Utilities_RootMinuitResultPrinter_h
0003 #include <iostream>
0004 
0005 namespace fit {
0006 
0007   template <typename Function>
0008   struct RootMinuitResultPrinter {
0009     static void print(double amin, unsigned int numberOfFreeParameters, const Function& f) {
0010       std::cout << "minimum function = " << amin << ", free parameters = " << numberOfFreeParameters << std::endl;
0011     }
0012   };
0013 
0014 }  // namespace fit
0015 
0016 #endif