Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OnCalDBodbc Class Reference

#include <OnlMon/blob/main/onlmondatabase/OnCalDBodbc.h>

+ Collaboration diagram for OnCalDBodbc:

Public Member Functions

 OnCalDBodbc ()
 
virtual ~OnCalDBodbc ()
 
void identify () const
 
int GetLastCalibratedRun (const int runno) const
 
void Verbosity (const int i)
 

Private Attributes

int verbosity = 0
 
std::string dbname = "Phenix"
 
std::string dbowner = "phnxrc"
 
std::string dbpasswd = ""
 

Detailed Description

Definition at line 6 of file OnCalDBodbc.h.

View newest version in sPHENIX GitHub at line 6 of file OnCalDBodbc.h

Constructor & Destructor Documentation

OnCalDBodbc::OnCalDBodbc ( )
inline

Definition at line 9 of file OnCalDBodbc.h.

View newest version in sPHENIX GitHub at line 9 of file OnCalDBodbc.h

virtual OnCalDBodbc::~OnCalDBodbc ( )
inlinevirtual

Definition at line 10 of file OnCalDBodbc.h.

View newest version in sPHENIX GitHub at line 10 of file OnCalDBodbc.h

Member Function Documentation

int OnCalDBodbc::GetLastCalibratedRun ( const int  runno) const

Definition at line 26 of file OnCalDBodbc.cc.

View newest version in sPHENIX GitHub at line 26 of file OnCalDBodbc.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(), and verbosity.

+ Here is the call graph for this function:

void OnCalDBodbc::identify ( ) const

Definition at line 18 of file OnCalDBodbc.cc.

View newest version in sPHENIX GitHub at line 18 of file OnCalDBodbc.cc

References dbname, dbowner, and dbpasswd.

void OnCalDBodbc::Verbosity ( const int  i)
inline

Definition at line 14 of file OnCalDBodbc.h.

View newest version in sPHENIX GitHub at line 14 of file OnCalDBodbc.h

References i, and verbosity.

Member Data Documentation

std::string OnCalDBodbc::dbname = "Phenix"
private

Definition at line 18 of file OnCalDBodbc.h.

View newest version in sPHENIX GitHub at line 18 of file OnCalDBodbc.h

Referenced by GetLastCalibratedRun(), and identify().

std::string OnCalDBodbc::dbowner = "phnxrc"
private

Definition at line 19 of file OnCalDBodbc.h.

View newest version in sPHENIX GitHub at line 19 of file OnCalDBodbc.h

Referenced by GetLastCalibratedRun(), and identify().

std::string OnCalDBodbc::dbpasswd = ""
private

Definition at line 20 of file OnCalDBodbc.h.

View newest version in sPHENIX GitHub at line 20 of file OnCalDBodbc.h

Referenced by GetLastCalibratedRun(), and identify().

int OnCalDBodbc::verbosity = 0
private

Definition at line 17 of file OnCalDBodbc.h.

View newest version in sPHENIX GitHub at line 17 of file OnCalDBodbc.h

Referenced by GetLastCalibratedRun(), and Verbosity().


The documentation for this class was generated from the following files: