Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-08-17 23:10:24

0001 #ifndef Parser_Function_h
0002 #define Parser_Function_h
0003 /* \class reco::parser::Function
0004  *
0005  * Function enumerator
0006  *
0007  * \author Luca Lista, INFN
0008  *
0009  * \version $Revision: 1.3 $
0010  *
0011  */
0012 #ifdef BOOST_SPIRIT_DEBUG
0013 #include <string>
0014 #endif
0015 
0016 namespace reco {
0017   namespace parser {
0018     enum Function {
0019       kAbs,
0020       kAcos,
0021       kAsin,
0022       kAtan,
0023       kAtan2,
0024       kChi2Prob,
0025       kCos,
0026       kCosh,
0027       kExp,
0028       kHypot,
0029       kLog,
0030       kLog10,
0031       kMax,
0032       kMin,
0033       kPow,
0034       kSin,
0035       kSinh,
0036       kSqrt,
0037       kTan,
0038       kTanh,
0039       kDeltaR,
0040       kDeltaPhi,
0041       kTestBit
0042     };
0043 
0044 #ifdef BOOST_SPIRIT_DEBUG
0045     static const std::string functionNames[] = {
0046         "abs", "acos", "asin", "atan", "atan2", "chi2prob", "cos", "cosh", "exp",    "hypot",    "log",     "log10",
0047         "max", "min",  "pow",  "sin",  "sinh",  "sqrt",     "tan", "tanh", "deltaR", "deltaPhi", "test_bit"};
0048 #endif
0049   }  // namespace parser
0050 }  // namespace reco
0051 
0052 #endif