Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/offline/database/pdbcal/pg/RunToTimePg.h>
Public Member Functions | |
virtual | ~RunToTimePg () |
PHTimeStamp * | getBeginTime (const int runNumber) |
PHTimeStamp * | getEndTime (const int runNumber) |
int | getRunNumber (const PHTimeStamp &ts) |
int | DisconnectDB () |
Static Public Member Functions | |
static RunToTimePg * | instance () |
static int | Register () |
Static Public Member Functions inherited from RunToTime | |
static RunToTime * | instance () |
Protected Member Functions | |
RunToTimePg () | |
Protected Member Functions inherited from RunToTime | |
RunToTime () | |
virtual | ~RunToTime () |
Private Member Functions | |
PHTimeStamp * | getTime (const int runNumber, const std::string &what) |
int | GetConnection () |
Private Attributes | |
std::map< const int, PHTimeStamp * > | beginruntimes |
std::map< const int, PHTimeStamp * > | endruntimes |
odbc::Connection * | con |
Static Private Attributes | |
static RunToTimePg * | mySpecificCopy = nullptr |
Additional Inherited Members | |
Static Protected Attributes inherited from RunToTime | |
static RunToTime * | __instance = 0 |
Definition at line 18 of file RunToTimePg.h.
View newest version in sPHENIX GitHub at line 18 of file RunToTimePg.h
|
protected |
Definition at line 30 of file RunToTimePg.cc.
View newest version in sPHENIX GitHub at line 30 of file RunToTimePg.cc
References con.
|
virtual |
Definition at line 36 of file RunToTimePg.cc.
View newest version in sPHENIX GitHub at line 36 of file RunToTimePg.cc
|
virtual |
Implements RunToTime.
Definition at line 83 of file RunToTimePg.cc.
View newest version in sPHENIX GitHub at line 83 of file RunToTimePg.cc
References con.
|
virtual |
Implements RunToTime.
Definition at line 196 of file RunToTimePg.cc.
View newest version in sPHENIX GitHub at line 196 of file RunToTimePg.cc
|
private |
Definition at line 64 of file RunToTimePg.cc.
View newest version in sPHENIX GitHub at line 64 of file RunToTimePg.cc
References con, Acts::UnitConstants::e, odbc::DriverManager::getConnection(), odbc::SQLException::getMessage(), and PHWHERE.
|
virtual |
Implements RunToTime.
Definition at line 217 of file RunToTimePg.cc.
View newest version in sPHENIX GitHub at line 217 of file RunToTimePg.cc
|
virtual |
Implements RunToTime.
Definition at line 237 of file RunToTimePg.cc.
View newest version in sPHENIX GitHub at line 237 of file RunToTimePg.cc
References cleanup(), runCondor_beamspot::cmd, con, odbc::Connection::createStatement(), Acts::UnitConstants::e, odbc::Statement::executeQuery(), odbc::ResultSet::getInt(), odbc::SQLException::getMessage(), PHTimeStamp::getTics(), odbc::ResultSet::next(), and runnumber.
|
private |
Definition at line 91 of file RunToTimePg.cc.
View newest version in sPHENIX GitHub at line 91 of file RunToTimePg.cc
References runCondor_beamspot::cmd, con, odbc::Connection::createStatement(), Acts::UnitConstants::e, odbc::Statement::executeQuery(), odbc::ResultSet::getInt(), odbc::SQLException::getMessage(), maxentries, and odbc::ResultSet::next().
|
inlinestatic |
Definition at line 26 of file RunToTimePg.h.
View newest version in sPHENIX GitHub at line 26 of file RunToTimePg.h
References mySpecificCopy.
|
static |
Definition at line 53 of file RunToTimePg.cc.
View newest version in sPHENIX GitHub at line 53 of file RunToTimePg.cc
|
private |
Definition at line 41 of file RunToTimePg.h.
View newest version in sPHENIX GitHub at line 41 of file RunToTimePg.h
|
private |
Definition at line 43 of file RunToTimePg.h.
View newest version in sPHENIX GitHub at line 43 of file RunToTimePg.h
|
private |
Definition at line 42 of file RunToTimePg.h.
View newest version in sPHENIX GitHub at line 42 of file RunToTimePg.h
|
staticprivate |
Definition at line 40 of file RunToTimePg.h.
View newest version in sPHENIX GitHub at line 40 of file RunToTimePg.h
Referenced by instance().