CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/PhysicsTools/Utilities/interface/RootMinuitFuncEvaluator.h

Go to the documentation of this file.
00001 #ifndef PhysicsTools_Utilities_RootMinuitFuncEvaluator_h
00002 #define PhysicsTools_Utilities_RootMinuitFuncEvaluator_h
00003 
00004 namespace fit {
00005   template<typename Function>
00006   struct RootMinuitFuncEvaluator {
00007     static double evaluate(const Function f) {
00008       return f();
00009     }
00010   };
00011 }
00012 
00013 #endif