![]() |
Analysis Software
Documentation for sPHENIX simulation software
|
#include <TError.h>#include <TH1.h>#include <TH2.h>#include <TProfile.h>#include <TRandom.h>#include <TROOT.h>#include <TSQLDriverManager.h>#include <TSQLConnection.h>#include <TSQLResultSet.h>#include <TSQLResultSetMetaData.h>#include <TSQLPreparedStatement.h>
Include dependency graph for RDBCp.C:Go to the source code of this file.
Functions | |
| void | CreateStuff (TSQLConnection *con) |
| void | DropStuff (TSQLConnection *con) |
| void | Fill (TSQLConnection *con) |
| Int_t | oproducer (const Text_t *dsn, const Text_t *usr, const Text_t *pwd) |
| void | Catch (TSQLException *e) |
Variables | |
| const TString | tableName = "object_test" |
| TH1F * | hpx |
| TH2F * | hpxpy |
| TProfile * | hprof |
| void Catch | ( | TSQLException * | e | ) |
| void CreateStuff | ( | TSQLConnection * | con | ) |
Definition at line 54 of file RDBCp.C.
View newest version in sPHENIX GitHub at line 54 of file RDBCp.C
References TSQLConnection::Commit(), TSQLConnection::CreateStatement(), TSQLStatement::ExecuteUpdate(), hprof, hpx, hpxpy, TSQLConnection::PrepareStatement(), printf(), TSQLPreparedStatement::SetObject(), TSQLPreparedStatement::SetString(), and tableName.
Referenced by oproducer(), and RDBCscroll().
Here is the call graph for this function:
Here is the caller graph for this function:| void DropStuff | ( | TSQLConnection * | con | ) |
Definition at line 95 of file RDBCp.C.
View newest version in sPHENIX GitHub at line 95 of file RDBCp.C
References TSQLConnection::CreateStatement(), TSQLStatement::ExecuteUpdate(), printf(), and tableName.
Here is the call graph for this function:| void Fill | ( | TSQLConnection * | con | ) |
Definition at line 106 of file RDBCp.C.
View newest version in sPHENIX GitHub at line 106 of file RDBCp.C
References TSQLConnection::Commit(), TSQLConnection::CreateStatement(), TSQLStatement::ExecuteQuery(), TSQLResultSet::GetString(), hprof, hpx, hpxpy, TSQLResultSet::Next(), str, tableName, TSQLResultSet::UpdateObject(), and TSQLResultSet::UpdateRow().
Here is the call graph for this function:| Int_t oproducer | ( | const Text_t * | dsn, |
| const Text_t * | usr, | ||
| const Text_t * | pwd | ||
| ) |
Definition at line 154 of file RDBCp.C.
View newest version in sPHENIX GitHub at line 154 of file RDBCp.C
References TSQLConnection::Close(), TSQLConnection::Commit(), con, CreateStuff(), TSQLDriverManager::GetConnection(), TSQLConnection::GetMetaData(), gSQLDriverManager, printf(), TSQLConnection::SetAutoCommit(), TSQL::SetHandler(), str, TSQLDatabaseMetaData::SupportsTransactions(), and TSQL::UnsetHandler().
Here is the call graph for this function:| TProfile* hprof |
| TH1F* hpx |
| TH2F* hpxpy |