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