Analysis Software
Documentation for sPHENIX simulation software
|
#include <OnlMon/blob/main/onlmonclient/OnlMonHtml.h>
Public Member Functions | |
OnlMonHtml (const std::string &topdir) | |
OnlMonHtml (const OnlMonHtml &)=delete | |
delete copy ctor and assignment opertor (cppcheck) | |
OnlMonHtml & | operator= (const OnlMonHtml &)=delete |
virtual | ~OnlMonHtml () |
void | addMenu (const std::string &header, const std::string &path, const std::string &relfilename) |
void | namer (const std::string &header, const std::string &basefilename, const std::string &ext, std::string &fullfilename, std::string &filename) |
std::string | registerPage (const std::string &header, const std::string &path, const std::string &basefilename, const std::string &ext) |
void | runNumber (const int runnumber) |
int | runNumber () const |
void | verbosity (const int v) |
int | verbosity () const |
Protected Member Functions | |
void | plainHtmlMenu (const std::set< std::string > &) |
void | runInit () |
std::string | runRange () |
Protected Attributes | |
RunDBodbc * | rundb = nullptr |
int | fVerbosity = 0 |
int | fRunNumber = 0 |
std::string | fHtmlDir |
std::string | fHtmlRunDir |
Definition at line 12 of file OnlMonHtml.h.
View newest version in sPHENIX GitHub at line 12 of file OnlMonHtml.h
|
explicit |
Definition at line 74 of file OnlMonHtml.cc.
View newest version in sPHENIX GitHub at line 74 of file OnlMonHtml.cc
|
explicitdelete |
delete copy ctor and assignment opertor (cppcheck)
|
virtual |
Definition at line 84 of file OnlMonHtml.cc.
View newest version in sPHENIX GitHub at line 84 of file OnlMonHtml.cc
References rundb.
void OnlMonHtml::addMenu | ( | const std::string & | header, |
const std::string & | path, | ||
const std::string & | relfilename | ||
) |
Generate a bit of the navigation menu for a given file (link).
path | the path as it will appear in the menu |
relfilename | the filename that will be served when using path in the menu (must not be a fullpathname, but a plain filename). |
Definition at line 93 of file OnlMonHtml.cc.
View newest version in sPHENIX GitHub at line 93 of file OnlMonHtml.cc
References fHtmlRunDir, in, test_fpe::lines, out, plainHtmlMenu(), Acts::Experimental::detail::BlueprintHelper::sort(), and verbosity().
Referenced by OnlMonClient::htmlAddMenu(), and registerPage().
void OnlMonHtml::namer | ( | const std::string & | header, |
const std::string & | basefilename, | ||
const std::string & | ext, | ||
std::string & | fullfilename, | ||
std::string & | filename | ||
) |
Generate filenames, to be used to produce e.g. gif or html files.
drawer | the OnlMonDraw child class for which filename must be built |
basefilename | the beginning of the filename (will be completed e.g. with the run number by this method) |
ext | the extension of the file (e.g. gif or html) |
Definition at line 241 of file OnlMonHtml.cc.
View newest version in sPHENIX GitHub at line 241 of file OnlMonHtml.cc
References fHtmlRunDir, runNumber(), and verbosity().
Referenced by OnlMonClient::htmlNamer(), and registerPage().
|
delete |
|
protected |
Definition at line 158 of file OnlMonHtml.cc.
View newest version in sPHENIX GitHub at line 158 of file OnlMonHtml.cc
References test_fpe::count, fHtmlRunDir, i, it, join(), line, perf_headwind::name, out, and Acts::Test::pos.
Referenced by addMenu().
std::string OnlMonHtml::registerPage | ( | const std::string & | header, |
const std::string & | path, | ||
const std::string & | basefilename, | ||
const std::string & | ext | ||
) |
Generate a full filename from specified pieces, and register the file to the navigation menu
drawer | the OnlMonDraw child class for which filename must be built |
path | the path that will be used in the navigation menu |
basefilename | the beginning of the filename (will be completed e.g. with the run number by this method) |
ext | the extension of the file (e.g. gif or html) |
Definition at line 276 of file OnlMonHtml.cc.
View newest version in sPHENIX GitHub at line 276 of file OnlMonHtml.cc
References addMenu(), filename, and namer().
Referenced by OnlMonClient::htmlRegisterPage().
|
protected |
Definition at line 290 of file OnlMonHtml.cc.
View newest version in sPHENIX GitHub at line 290 of file OnlMonHtml.cc
References fHtmlDir, fHtmlRunDir, fRunNumber, rundb, runNumber(), runRange(), RunDBodbc::RunType(), and verbosity().
Referenced by runNumber().
void OnlMonHtml::runNumber | ( | const int | runnumber | ) |
Definition at line 401 of file OnlMonHtml.cc.
View newest version in sPHENIX GitHub at line 401 of file OnlMonHtml.cc
References fRunNumber, runInit(), and runnumber.
Referenced by OnlMonClient::MakeHtml().
|
inline |
Definition at line 58 of file OnlMonHtml.h.
View newest version in sPHENIX GitHub at line 58 of file OnlMonHtml.h
References fRunNumber.
Referenced by namer(), runInit(), and runRange().
|
protected |
Definition at line 409 of file OnlMonHtml.cc.
View newest version in sPHENIX GitHub at line 409 of file OnlMonHtml.cc
References runNumber(), physmon_simulation::s, and start.
Referenced by runInit().
|
inline |
Definition at line 60 of file OnlMonHtml.h.
View newest version in sPHENIX GitHub at line 60 of file OnlMonHtml.h
References fVerbosity, and testSigmaEff::v.
Referenced by OnlMonClient::Verbosity().
|
inline |
Definition at line 61 of file OnlMonHtml.h.
View newest version in sPHENIX GitHub at line 61 of file OnlMonHtml.h
References fVerbosity.
Referenced by addMenu(), namer(), and runInit().
|
protected |
Definition at line 73 of file OnlMonHtml.h.
View newest version in sPHENIX GitHub at line 73 of file OnlMonHtml.h
Referenced by OnlMonHtml(), and runInit().
|
protected |
Definition at line 74 of file OnlMonHtml.h.
View newest version in sPHENIX GitHub at line 74 of file OnlMonHtml.h
Referenced by addMenu(), namer(), plainHtmlMenu(), and runInit().
|
protected |
Definition at line 71 of file OnlMonHtml.h.
View newest version in sPHENIX GitHub at line 71 of file OnlMonHtml.h
Referenced by runInit(), and runNumber().
|
protected |
Definition at line 70 of file OnlMonHtml.h.
View newest version in sPHENIX GitHub at line 70 of file OnlMonHtml.h
Referenced by verbosity().
|
protected |
Definition at line 68 of file OnlMonHtml.h.
View newest version in sPHENIX GitHub at line 68 of file OnlMonHtml.h
Referenced by OnlMonHtml(), runInit(), and ~OnlMonHtml().