Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OnlMonHtml.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file OnlMonHtml.h
1 #ifndef ONLMONHTML_H
2 #define ONLMONHTML_H
3 
4 #include <set>
5 #include <string>
6 
7 class RunDBodbc;
8 
13 {
14  public:
15  explicit OnlMonHtml(const std::string& topdir);
17  explicit OnlMonHtml(const OnlMonHtml&) = delete;
18  OnlMonHtml& operator=(const OnlMonHtml&) = delete;
19 
20  virtual ~OnlMonHtml();
21 
27  void addMenu(const std::string& header, const std::string& path,
28  const std::string& relfilename);
29 
38  void namer(const std::string& header, const std::string& basefilename,
39  const std::string& ext,
40  std::string& fullfilename,
42 
52  std::string registerPage(const std::string& header,
53  const std::string& path,
54  const std::string& basefilename,
55  const std::string& ext);
56 
57  void runNumber(const int runnumber);
58  int runNumber() const { return fRunNumber; }
59 
60  void verbosity(const int v) { fVerbosity = v; }
61  int verbosity() const { return fVerbosity; }
62 
63  protected:
64  void plainHtmlMenu(const std::set<std::string>&);
65  void runInit();
67 
68  RunDBodbc* rundb = nullptr;
69 
70  int fVerbosity = 0;
71  int fRunNumber = 0;
72 
75 };
76 
77 #endif