ComparisonOptions.h
Go to the documentation of this file.
1 #ifndef OM_COMPARISONOPTIONS_H
2 #define OM_COMPARISONOPTIONS_H
3 #include <string>
4 
5 namespace om {
7  public:
8  enum _compare_to {
13  };
22  };
27  // To return the following line, see also ComparisonOptions.cxx and
28  // both the TH1F and TH2F sections of the UpdateCompare() function in
29  // PlotViewer.cxx.
30  //
31  // kIntegral,
33  };
34 
35  public:
37 
38  static const char* CompareTo(unsigned int i);
39  static const char* CompareMethod(unsigned int i);
40  static const char* CompareNormalize(unsigned int i);
41 
42  public:
43  unsigned int fWhich; ///< Which histo. to compare to?
44  unsigned int fMethod; ///< How to show the comparison?
45  unsigned int fNormalize; ///< How to normalize the histos?
46  unsigned int fLookBack; ///< Which "look back" histogram to compare to?
47  double fX1; ///< Range to normalize
48  double fX2; ///< Range to normalize
49  double fY1; ///< Range to normalize
50  double fY2; ///< Range to normalize
51  std::string fReferenceFile; ///< Reference file for comparison histograms
52  };
53 }
54 #endif
double fY1
Range to normalize.
unsigned int fWhich
Which histo. to compare to?
unsigned int fLookBack
Which "look back" histogram to compare to?
static const char * CompareTo(unsigned int i)
unsigned int fMethod
How to show the comparison?
double fX1
Range to normalize.
static const char * CompareMethod(unsigned int i)
static const char * CompareNormalize(unsigned int i)
double fX2
Range to normalize.
double fY2
Range to normalize.
unsigned int fNormalize
How to normalize the histos?
std::string fReferenceFile
Reference file for comparison histograms.
Online Monitoring package header.
enum BeamMode string