![]() |
Analysis Software
Documentation for sPHENIX simulation software
|
#include <OnlMon/blob/main/onlmondatabase/RunDBodbc.h>
Collaboration diagram for RunDBodbc:Public Member Functions | |
| RunDBodbc () | |
| virtual | ~RunDBodbc () |
| void | identify () const |
| std::string | RunType (const int runno=0) const |
| void | Verbosity (const int i) |
| int | GetRunNumbers (std::set< int > &result, const std::string &type, const int nruns, const int lastrunexclusive) const |
Private Attributes | |
| int | verbosity = 0 |
| std::string | dbname = "daq" |
| std::string | dbowner = "phnxrc" |
| std::string | dbpasswd = "" |
Definition at line 7 of file RunDBodbc.h.
View newest version in sPHENIX GitHub at line 7 of file RunDBodbc.h
|
inline |
Definition at line 10 of file RunDBodbc.h.
View newest version in sPHENIX GitHub at line 10 of file RunDBodbc.h
|
inlinevirtual |
Definition at line 11 of file RunDBodbc.h.
View newest version in sPHENIX GitHub at line 11 of file RunDBodbc.h
| int RunDBodbc::GetRunNumbers | ( | std::set< int > & | result, |
| const std::string & | type, | ||
| const int | nruns, | ||
| const int | lastrunexclusive | ||
| ) | const |
Definition at line 145 of file RunDBodbc.cc.
View newest version in sPHENIX GitHub at line 145 of file RunDBodbc.cc
References runCondor_beamspot::cmd, con, odbc::Connection::createStatement(), dbname, dbowner, dbpasswd, Acts::UnitConstants::e, odbc::Statement::executeQuery(), odbc::DriverManager::getConnection(), odbc::ResultSet::getInt(), odbc::SQLException::getMessage(), odbc::ResultSet::next(), runnumber, and verbosity.
Referenced by PktSizeMonDraw::loadpreviousruns().
Here is the call graph for this function:
Here is the caller graph for this function:| void RunDBodbc::identify | ( | ) | const |
Definition at line 21 of file RunDBodbc.cc.
View newest version in sPHENIX GitHub at line 21 of file RunDBodbc.cc
| std::string RunDBodbc::RunType | ( | const int | runno = 0 | ) | const |
Definition at line 30 of file RunDBodbc.cc.
View newest version in sPHENIX GitHub at line 30 of file RunDBodbc.cc
References runCondor_beamspot::cmd, con, odbc::Connection::createStatement(), dbname, dbowner, dbpasswd, Acts::UnitConstants::e, odbc::Statement::executeQuery(), odbc::DriverManager::getConnection(), odbc::ResultSet::getInt(), odbc::ResultSet::getLong(), odbc::SQLException::getMessage(), odbc::ResultSet::getString(), odbc::ResultSet::next(), and verbosity.
Referenced by PktSizeMonDraw::DrawHistory(), and OnlMonHtml::runInit().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 15 of file RunDBodbc.h.
View newest version in sPHENIX GitHub at line 15 of file RunDBodbc.h
|
private |
Definition at line 20 of file RunDBodbc.h.
View newest version in sPHENIX GitHub at line 20 of file RunDBodbc.h
Referenced by GetRunNumbers(), identify(), and RunType().
|
private |
Definition at line 21 of file RunDBodbc.h.
View newest version in sPHENIX GitHub at line 21 of file RunDBodbc.h
Referenced by GetRunNumbers(), identify(), and RunType().
|
private |
Definition at line 22 of file RunDBodbc.h.
View newest version in sPHENIX GitHub at line 22 of file RunDBodbc.h
Referenced by GetRunNumbers(), identify(), and RunType().
|
private |
Definition at line 19 of file RunDBodbc.h.
View newest version in sPHENIX GitHub at line 19 of file RunDBodbc.h
Referenced by GetRunNumbers(), RunType(), and Verbosity().