CMS 3D CMS Logo

Function.h

Go to the documentation of this file.
00001 #ifndef Parser_Function_h
00002 #define Parser_Function_h
00003 /* \class reco::parser::Function
00004  *
00005  * Function enumerator
00006  *
00007  * \author Luca Lista, INFN
00008  *
00009  * \version $Revision: 1.3 $
00010  *
00011  */
00012 #ifdef BOOST_SPIRIT_DEBUG 
00013 #include <string>
00014 #endif
00015 
00016 namespace reco {
00017   namespace parser {    
00018     enum Function { 
00019       kAbs, kAcos, kAsin, kAtan, kAtan2, kChi2Prob, kCos, kCosh, kExp, 
00020       kLog, kLog10, kMax, kMin, kPow, kSin, kSinh, kSqrt, kTan, kTanh 
00021     };
00022 
00023 #ifdef BOOST_SPIRIT_DEBUG 
00024   static const std::string functionNames[] = 
00025     { "abs", "acos", "asin", "atan", "atan2", "chi2prob", "cos", "cosh", "exp", 
00026       "log", "log10", "max", "min", "pow", "sin", "sinh", "sqrt", "tan", "tanh" };
00027 
00028 #endif
00029   }
00030 }
00031 
00032 #endif

Generated on Tue Jun 9 17:42:42 2009 for CMSSW by  doxygen 1.5.4