Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/offline/database/pdbcal/pg/PgPostBankWrapper.h>
Public Member Functions | |
PgPostBankWrapper () | |
PgPostBankWrapper (PdbCalBank *b) | |
virtual | ~PgPostBankWrapper () |
virtual PHObject * | CloneMe () const |
Virtual copy constructor. | |
void | printHeader () const |
void | print () |
void | printEntry (size_t s) |
size_t | getLength () |
PdbCalChan & | getEntry (size_t pos) |
void | setLength (size_t len) |
virtual bool | commit () |
PdbBankID | getBankID () const |
PHTimeStamp | getInsertTime () const |
PHTimeStamp | getStartValTime () const |
PHTimeStamp | getEndValTime () const |
std::string | getDescription () const |
std::string | getUserName () const |
std::string | getTableName () const |
void | setBankID (const PdbBankID &val) |
void | setInsertTime (const PHTimeStamp &val) |
void | setStartValTime (const PHTimeStamp &val) |
void | setEndValTime (const PHTimeStamp &val) |
void | setDescription (const std::string &val) |
void | setUserName (const std::string &val) |
void | setTableName (const std::string &val) |
PdbCalBank * | getBank () |
virtual int | isValid (const PHTimeStamp &) const |
Public Member Functions inherited from PgPostCalBank | |
PgPostCalBank () | |
virtual | ~PgPostCalBank () |
void | printHeader () const override |
PdbBankID | getBankID () const override |
PHTimeStamp | getInsertTime () const override |
PHTimeStamp | getStartValTime () const override |
PHTimeStamp | getEndValTime () const override |
std::string | getDescription () const override |
std::string | getUserName () const override |
void | setBankID (const PdbBankID &) override |
void | setInsertTime (const PHTimeStamp &) override |
void | setStartValTime (const PHTimeStamp &) override |
void | setEndValTime (const PHTimeStamp &) override |
void | setDescription (const std::string &) override |
void | setUserName (const std::string &) override |
int | isValid (const PHTimeStamp &) const override |
ClassDefOverride (PgPostCalBank, 2) | |
Public Member Functions inherited from PdbCalBank | |
PdbCalBank () | |
~PdbCalBank () override | |
ClassDefOverride (PdbCalBank, 1) | |
Public Member Functions inherited from PHObject | |
PHObject () | |
ctor | |
~PHObject () override | |
dtor | |
virtual PHObject * | clone () const final |
PHObject * | Clone (const char *newname="") const final |
void | Copy (TObject &object) const final |
virtual void | identify (std::ostream &os=std::cout) const |
virtual void | Reset () |
Clear Event. | |
virtual int | isValid () const |
isValid returns non zero if object contains vailid data | |
virtual int | Integrate () const |
virtual int | Integrate (PHObject *) |
virtual void | CopyFrom (const PHObject *obj) |
Private Member Functions | |
ClassDefOverride (PgPostBankWrapper, 1) | |
Private Attributes | |
PdbBankID | bankID |
PHTimeStamp | insertTime |
PHTimeStamp | startValTime |
PHTimeStamp | endValTime |
std::string | description |
std::string | userName |
std::string | tableName |
PdbCalBank * | bank |
Definition at line 19 of file PgPostBankWrapper.h.
View newest version in sPHENIX GitHub at line 19 of file PgPostBankWrapper.h
PgPostBankWrapper::PgPostBankWrapper | ( | ) |
Definition at line 22 of file PgPostBankWrapper.cc.
View newest version in sPHENIX GitHub at line 22 of file PgPostBankWrapper.cc
Referenced by CloneMe().
PgPostBankWrapper::PgPostBankWrapper | ( | PdbCalBank * | b | ) |
Definition at line 27 of file PgPostBankWrapper.cc.
View newest version in sPHENIX GitHub at line 27 of file PgPostBankWrapper.cc
References KFPMath::b, bank, PgPostBankWrapperManager::instance(), and PgPostBankWrapperManager::registerWrapper().
|
virtual |
Definition at line 33 of file PgPostBankWrapper.cc.
View newest version in sPHENIX GitHub at line 33 of file PgPostBankWrapper.cc
References bank, PgPostBankWrapperManager::instance(), and PgPostBankWrapperManager::unregisterWrapper().
|
private |
|
inlinevirtual |
Virtual copy constructor.
Reimplemented from PdbCalBank.
Definition at line 25 of file PgPostBankWrapper.h.
View newest version in sPHENIX GitHub at line 25 of file PgPostBankWrapper.h
References PgPostBankWrapper().
|
virtual |
Definition at line 49 of file PgPostBankWrapper.cc.
View newest version in sPHENIX GitHub at line 49 of file PgPostBankWrapper.cc
References bank, TSQLConnection::Commit(), con, TSQLStatement::ExecuteUpdate(), PgPostApplication::getConnection(), PgPostApplication::instance(), PHWHERE, TSQLConnection::PrepareStatement(), TSQLPreparedStatement::SetInt(), TSQLPreparedStatement::SetLong(), TSQLPreparedStatement::SetObject(), TSQLPreparedStatement::SetString(), and tableName.
Referenced by PgPostApplication::commit().
|
inline |
Definition at line 52 of file PgPostBankWrapper.h.
View newest version in sPHENIX GitHub at line 52 of file PgPostBankWrapper.h
References bank.
|
inlinevirtual |
Implements PdbCalBank.
Definition at line 36 of file PgPostBankWrapper.h.
View newest version in sPHENIX GitHub at line 36 of file PgPostBankWrapper.h
References bankID.
Referenced by PgPostBankWrapperManager::print().
|
inlinevirtual |
Implements PdbCalBank.
Definition at line 40 of file PgPostBankWrapper.h.
View newest version in sPHENIX GitHub at line 40 of file PgPostBankWrapper.h
References description.
|
inlinevirtual |
Implements PdbCalBank.
Definition at line 39 of file PgPostBankWrapper.h.
View newest version in sPHENIX GitHub at line 39 of file PgPostBankWrapper.h
References endValTime.
|
inlinevirtual |
Implements PgPostCalBank.
Definition at line 32 of file PgPostBankWrapper.h.
View newest version in sPHENIX GitHub at line 32 of file PgPostBankWrapper.h
References bank, and PdbCalBank::getEntry().
|
inlinevirtual |
Implements PdbCalBank.
Definition at line 37 of file PgPostBankWrapper.h.
View newest version in sPHENIX GitHub at line 37 of file PgPostBankWrapper.h
References insertTime.
|
inlinevirtual |
Implements PgPostCalBank.
Definition at line 31 of file PgPostBankWrapper.h.
View newest version in sPHENIX GitHub at line 31 of file PgPostBankWrapper.h
References bank, and PdbCalBank::getLength().
|
inlinevirtual |
Implements PdbCalBank.
Definition at line 38 of file PgPostBankWrapper.h.
View newest version in sPHENIX GitHub at line 38 of file PgPostBankWrapper.h
References startValTime.
|
inlinevirtual |
Reimplemented from PgPostCalBank.
Definition at line 42 of file PgPostBankWrapper.h.
View newest version in sPHENIX GitHub at line 42 of file PgPostBankWrapper.h
References tableName.
Referenced by PgPostBankWrapperManager::print().
|
inlinevirtual |
Implements PdbCalBank.
Definition at line 41 of file PgPostBankWrapper.h.
View newest version in sPHENIX GitHub at line 41 of file PgPostBankWrapper.h
References userName.
|
inlinevirtual |
Implements PdbCalBank.
Definition at line 53 of file PgPostBankWrapper.h.
View newest version in sPHENIX GitHub at line 53 of file PgPostBankWrapper.h
|
inlinevirtual |
Implements PgPostCalBank.
Definition at line 28 of file PgPostBankWrapper.h.
View newest version in sPHENIX GitHub at line 28 of file PgPostBankWrapper.h
References bank, and PdbCalBank::print().
|
inlinevirtual |
Implements PgPostCalBank.
Definition at line 29 of file PgPostBankWrapper.h.
View newest version in sPHENIX GitHub at line 29 of file PgPostBankWrapper.h
References bank, and PdbCalBank::printEntry().
|
virtual |
Implements PdbCalBank.
Definition at line 39 of file PgPostBankWrapper.cc.
View newest version in sPHENIX GitHub at line 39 of file PgPostBankWrapper.cc
References bankID, description, endValTime, insertTime, PdbBankID::print(), startValTime, and userName.
Referenced by PgPostBankManager::fetchBank().
|
inlinevirtual |
Implements PdbCalBank.
Definition at line 44 of file PgPostBankWrapper.h.
View newest version in sPHENIX GitHub at line 44 of file PgPostBankWrapper.h
References bankID.
Referenced by PgPostBankManager::createBank(), PgPostBankManager::fetchBank(), and PgPostCalBankIterator::next().
|
inlinevirtual |
Implements PdbCalBank.
Definition at line 48 of file PgPostBankWrapper.h.
View newest version in sPHENIX GitHub at line 48 of file PgPostBankWrapper.h
References description.
Referenced by PgPostBankManager::createBank(), PgPostBankManager::fetchBank(), and PgPostCalBankIterator::next().
|
inlinevirtual |
Implements PdbCalBank.
Definition at line 47 of file PgPostBankWrapper.h.
View newest version in sPHENIX GitHub at line 47 of file PgPostBankWrapper.h
References endValTime.
Referenced by PgPostBankManager::createBank(), PgPostBankManager::fetchBank(), and PgPostCalBankIterator::next().
|
inlinevirtual |
Implements PdbCalBank.
Definition at line 45 of file PgPostBankWrapper.h.
View newest version in sPHENIX GitHub at line 45 of file PgPostBankWrapper.h
References insertTime.
Referenced by PgPostBankManager::createBank(), PgPostBankManager::fetchBank(), and PgPostCalBankIterator::next().
|
inlinevirtual |
Implements PgPostCalBank.
Definition at line 33 of file PgPostBankWrapper.h.
View newest version in sPHENIX GitHub at line 33 of file PgPostBankWrapper.h
References bank, and PdbCalBank::setLength().
|
inlinevirtual |
Implements PdbCalBank.
Definition at line 46 of file PgPostBankWrapper.h.
View newest version in sPHENIX GitHub at line 46 of file PgPostBankWrapper.h
References startValTime.
Referenced by PgPostBankManager::createBank(), PgPostBankManager::fetchBank(), and PgPostCalBankIterator::next().
|
inlinevirtual |
Reimplemented from PgPostCalBank.
Definition at line 50 of file PgPostBankWrapper.h.
View newest version in sPHENIX GitHub at line 50 of file PgPostBankWrapper.h
References tableName.
Referenced by PgPostBankManager::createBank(), PgPostBankManager::fetchBank(), and PgPostCalBankIterator::next().
|
inlinevirtual |
Implements PdbCalBank.
Definition at line 49 of file PgPostBankWrapper.h.
View newest version in sPHENIX GitHub at line 49 of file PgPostBankWrapper.h
References userName.
Referenced by PgPostBankManager::createBank(), PgPostBankManager::fetchBank(), and PgPostCalBankIterator::next().
|
private |
Definition at line 64 of file PgPostBankWrapper.h.
View newest version in sPHENIX GitHub at line 64 of file PgPostBankWrapper.h
Referenced by commit(), getBank(), getEntry(), getLength(), PgPostBankWrapper(), print(), printEntry(), setLength(), and ~PgPostBankWrapper().
|
private |
Definition at line 56 of file PgPostBankWrapper.h.
View newest version in sPHENIX GitHub at line 56 of file PgPostBankWrapper.h
Referenced by getBankID(), printHeader(), and setBankID().
|
private |
Definition at line 60 of file PgPostBankWrapper.h.
View newest version in sPHENIX GitHub at line 60 of file PgPostBankWrapper.h
Referenced by getDescription(), printHeader(), and setDescription().
|
private |
Definition at line 59 of file PgPostBankWrapper.h.
View newest version in sPHENIX GitHub at line 59 of file PgPostBankWrapper.h
Referenced by getEndValTime(), printHeader(), and setEndValTime().
|
private |
Definition at line 57 of file PgPostBankWrapper.h.
View newest version in sPHENIX GitHub at line 57 of file PgPostBankWrapper.h
Referenced by getInsertTime(), printHeader(), and setInsertTime().
|
private |
Definition at line 58 of file PgPostBankWrapper.h.
View newest version in sPHENIX GitHub at line 58 of file PgPostBankWrapper.h
Referenced by getStartValTime(), printHeader(), and setStartValTime().
|
private |
Definition at line 62 of file PgPostBankWrapper.h.
View newest version in sPHENIX GitHub at line 62 of file PgPostBankWrapper.h
Referenced by commit(), getTableName(), and setTableName().
|
private |
Definition at line 61 of file PgPostBankWrapper.h.
View newest version in sPHENIX GitHub at line 61 of file PgPostBankWrapper.h
Referenced by getUserName(), printHeader(), and setUserName().