npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
EdgeworthSeriesMethod.hh
Go to the documentation of this file.
1 #ifndef NPSTAT_EDGEWORTHSERIESMETHOD_HH_
2 #define NPSTAT_EDGEWORTHSERIESMETHOD_HH_
3 
4 /*!
5 // \file EdgeworthSeriesMethod.hh
6 //
7 // \brief Enumeration of methods used to create Edgeworth series
8 //
9 // Author: I. Volobouev
10 //
11 // June 2019
12 */
13 
14 #include <string>
15 
16 namespace npstat {
17  enum EdgeworthSeriesMethod
18  {
19  EDGEWORTH_SEVERINI = 0, // The series will be w.r.t. normal
20  // distribution with mean 0 and variance 1
21 
22  EDGEWORTH_CLASSICAL // The series will be w.r.t. normal
23  // distribution with mean and variance
24  // defined by the first two cumulants
25  };
26 
27  /** Enums corresponding to method names */
28  EdgeworthSeriesMethod parseEdgeworthSeriesMethod(const char* methodName);
29 
30  /** Method names corresponding to enums */
31  const char* edgeworthSeriesMethodName(EdgeworthSeriesMethod m);
32 
33  /** All valid method names for use in error messages, etc */
35 }
36 
37 #endif // NPSTAT_EDGEWORTHSERIESMETHOD_HH_
Definition: AbsArrayProjector.hh:14
EdgeworthSeriesMethod parseEdgeworthSeriesMethod(const char *methodName)
const char * edgeworthSeriesMethodName(EdgeworthSeriesMethod m)
std::string validEdgeworthSeriesMethodNames()