EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <EicRoot/blob/master/parbase/dbIO/FairDetParTSQLIo.h>
Public Member Functions | |
FairDetParTSQLIo () | |
Constructors. | |
FairDetParTSQLIo (FairDbMultConnector const &cons, int const dbNum=-1) | |
virtual | ~FairDetParTSQLIo () |
Destructor. | |
Bool_t | read (FairParSet *pars) |
Int_t | write (FairParSet *pars) |
Int_t | getRunStart (FairParSet *pPar=0) |
virtual void | commit () |
virtual void | rollback () |
void | print () |
_______________ Inline Implementations ________________ | |
Public Member Functions inherited from FairDetParIo | |
FairDetParIo () | |
virtual | ~FairDetParIo () |
void | setInputNumber (Int_t n) |
Int_t | getInputNumber () |
virtual Bool_t | init (FairParSet *) |
Protected Member Functions | |
void | setChanged (FairParSet *pars) |
Protected Attributes | |
int | fDefaultDb |
FairDbMultConnector * | fConnections |
TList * | fcontainerList |
FairDbConnection. | |
FairRtdbRun * | factContVers |
List of parameter containers. | |
int | actRunId |
The actual list of container versions. | |
Protected Attributes inherited from FairDetParIo | |
Int_t | inputNumber |
Private Member Functions | |
FairDetParTSQLIo (FairDetParTSQLIo const &ot) | |
FairDetParTSQLIo & | operator= (FairDetParTSQLIo const &ot) |
Definition at line 22 of file FairDetParTSQLIo.h.
View newest version in sPHENIX GitHub at line 22 of file FairDetParTSQLIo.h
FairDetParTSQLIo::FairDetParTSQLIo | ( | ) |
Constructors.
FairDetParTSQLIo::FairDetParTSQLIo | ( | FairDbMultConnector const & | cons, |
int const | dbNum = -1 |
||
) |
cons | FairDbMultConnector which holds a number of initialized db connections. |
dbNum | The db which is selected to act as the master for the current operations. Note: A new FairDbMultConnector object is created (to keep the ownership). |
cons | FairDbMultConnector which holds a number of initialized db connections. |
dbNum | The number of the db which is selected to act as the master for the current operations. Note: A new FairDbMultConnector object is created (to keep the ownership). |
Definition at line 34 of file FairDetParTSQLIo.cxx.
View newest version in sPHENIX GitHub at line 34 of file FairDetParTSQLIo.cxx
|
virtual |
Destructor.
Definition at line 44 of file FairDetParTSQLIo.cxx.
View newest version in sPHENIX GitHub at line 44 of file FairDetParTSQLIo.cxx
References factContVers, fConnections, and fcontainerList.
|
private |
|
virtual |
Definition at line 104 of file FairDetParTSQLIo.cxx.
View newest version in sPHENIX GitHub at line 104 of file FairDetParTSQLIo.cxx
int FairDetParTSQLIo::getRunStart | ( | FairParSet * | pPar = 0 | ) |
Definition at line 61 of file FairDetParTSQLIo.cxx.
View newest version in sPHENIX GitHub at line 61 of file FairDetParTSQLIo.cxx
References actRunId, factContVers, FairRuntimeDb::getCurrentRun(), FairRtdbRun::getRefRun(), FairRtdbRun::getRunId(), and FairRuntimeDb::instance().
|
private |
|
inline |
_______________ Inline Implementations ________________
Definition at line 87 of file FairDetParTSQLIo.h.
View newest version in sPHENIX GitHub at line 87 of file FairDetParTSQLIo.h
Bool_t FairDetParTSQLIo::read | ( | FairParSet * | pars | ) |
Read the parameter set from the DB.
Definition at line 119 of file FairDetParTSQLIo.cxx.
View newest version in sPHENIX GitHub at line 119 of file FairDetParTSQLIo.cxx
|
virtual |
Definition at line 111 of file FairDetParTSQLIo.cxx.
View newest version in sPHENIX GitHub at line 111 of file FairDetParTSQLIo.cxx
|
protected |
Definition at line 91 of file FairDetParTSQLIo.cxx.
View newest version in sPHENIX GitHub at line 91 of file FairDetParTSQLIo.cxx
References Acts::UnitConstants::s, FairParSet::setChanged(), and FairParSet::setDescription().
|
virtual |
Reimplemented from FairDetParIo.
Reimplemented in FairGenericParTSQLIo.
Definition at line 128 of file FairDetParTSQLIo.cxx.
View newest version in sPHENIX GitHub at line 128 of file FairDetParTSQLIo.cxx
References FairParSet::getAuthor(), FairParSet::getDescription(), FairParSet::getDetectorName(), and FairParSet::getParamContext().
|
protected |
The actual list of container versions.
Definition at line 72 of file FairDetParTSQLIo.h.
View newest version in sPHENIX GitHub at line 72 of file FairDetParTSQLIo.h
Referenced by getRunStart().
|
protected |
List of parameter containers.
Definition at line 71 of file FairDetParTSQLIo.h.
View newest version in sPHENIX GitHub at line 71 of file FairDetParTSQLIo.h
Referenced by getRunStart(), and ~FairDetParTSQLIo().
|
protected |
Definition at line 69 of file FairDetParTSQLIo.h.
View newest version in sPHENIX GitHub at line 69 of file FairDetParTSQLIo.h
Referenced by ~FairDetParTSQLIo().
|
protected |
Definition at line 70 of file FairDetParTSQLIo.h.
View newest version in sPHENIX GitHub at line 70 of file FairDetParTSQLIo.h
Referenced by ~FairDetParTSQLIo().
|
protected |
The default Database connection.
Definition at line 68 of file FairDetParTSQLIo.h.
View newest version in sPHENIX GitHub at line 68 of file FairDetParTSQLIo.h