|
CbmRoot
|
#include <CbmRunDatabaseContainer.h>
Public Member Functions | |
| RunDatabaseContainer (const RunDatabaseContainer &)=delete | |
| Disable copy and move. | |
| RunDatabaseContainer (RunDatabaseContainer &&)=delete | |
| RunDatabaseContainer & | operator= (const RunDatabaseContainer &)=delete |
| RunDatabaseContainer & | operator= (RunDatabaseContainer &&)=delete |
| const std::string & | GetBmonCalibrationTag () const |
| Returns tag of BMON calibration for a provided run ID. | |
| const std::string & | GetGeoSetupTag () const |
| Returns tag of the geometry setup for a provided run ID. | |
| const std::string & | GetTofCalibrationTag () const |
| Returns tag of TOF calibration for a provided run ID. | |
| const std::string & | GetAlignmentTag () const |
| Returns tag of alignment matrices (geoSetup + ref. run ID) | |
| const std::string & | GetRecoParTag () const |
| Returns tag of reconstruction parameter. | |
| std::string | GetRecoParDir () const |
| Returns a path to the reconstruction parameter directory. | |
| uint64_t | GetRunStartTime () const |
| Returns the run start time in UTC seconds for the selected run ID. | |
| const uint64_t & | GetRunStartTimeNs () const |
| Returns the run start time in UTC nanoseconds for the selected run ID. | |
| std::string | GetAlgoMainConfigPath () const |
| Returns a path to the main configuration file of the online reconstruction. | |
| uint32_t | GetRunId () const |
| Returns the loaded run ID. | |
| bool | LoadRun (uint32_t runId) |
| Loads the information for the run from the file. | |
| void | SetPathCommonDb (const std::string &pathCommonDb) |
| Sets an alternative path to the common DB file. | |
| void | SetPathRunStartTimeDb (const std::string &pathRunStartTimeDb) |
| Sets an alternative path to run starttime DB file. | |
| std::string | ToString () const |
| String representation of the class contents. | |
Static Public Member Functions | |
| static RunDatabaseContainer & | Instance () |
| Instance access. | |
Private Member Functions | |
| RunDatabaseContainer () | |
| Default constructor. | |
| ~RunDatabaseContainer ()=default | |
| Destructor. | |
Private Attributes | |
| std::string | fPathCommonDb |
| Path to the common data-base. | |
| std::string | fPathRunStartTimeDb |
| Path to the runtime data-base. | |
| std::string | fBmonCalibrationTag |
| BMON calibration tag for a given run ID. | |
| std::string | fTofCalibrationTag |
| TOF calibration tag for a given run ID. | |
| std::string | fGeoSetupTag |
| Geometry setup tag for a given run ID. | |
| std::string | fAlignmentTag |
| Tag for alignment matrices. | |
| std::string | fRecoParTag |
| Tag for reconstruction parameters for a given run ID. | |
| uint64_t | fRunStartTimeNs |
| Run start time since the epoch [ns]. | |
| uint32_t | fRunId {0} |
| Current run ID. | |
Definition at line 19 of file CbmRunDatabaseContainer.h.
|
delete |
Disable copy and move.
|
delete |
|
private |
Default constructor.
Definition at line 20 of file CbmRunDatabaseContainer.cxx.
|
privatedefault |
Destructor.
|
inlineinherited |
Returns a path to the main configuration file of the online reconstruction.
Definition at line 104 of file CbmRunDatabase.h.
References GetRecoParDir().
|
inlineinherited |
Returns tag of alignment matrices (geoSetup + ref. run ID)
Definition at line 87 of file CbmRunDatabase.h.
References fAlignmentTag.
Referenced by CbmOnlineParWrite::Run().
|
inlineinherited |
Returns tag of BMON calibration for a provided run ID.
Definition at line 78 of file CbmRunDatabase.h.
References fBmonCalibrationTag.
|
inlineinherited |
Returns tag of the geometry setup for a provided run ID.
Definition at line 81 of file CbmRunDatabase.h.
References fGeoSetupTag.
Referenced by CbmOnlineParWrite::Run().
|
inlineinherited |
Returns a path to the reconstruction parameter directory.
Definition at line 94 of file CbmRunDatabase.h.
References fRecoParTag.
Referenced by GetAlgoMainConfigPath().
|
inlineinherited |
Returns tag of reconstruction parameter.
Definition at line 90 of file CbmRunDatabase.h.
References fRecoParTag.
|
inlineinherited |
|
inlineinherited |
Returns the run start time in UTC seconds for the selected run ID.
Definition at line 97 of file CbmRunDatabase.h.
References fRunStartTimeNs.
|
inlineinherited |
Returns the run start time in UTC nanoseconds for the selected run ID.
Definition at line 100 of file CbmRunDatabase.h.
References fRunStartTimeNs.
|
inlineinherited |
Returns tag of TOF calibration for a provided run ID.
Definition at line 84 of file CbmRunDatabase.h.
References fTofCalibrationTag.
Referenced by CbmOnlineParWrite::AddTof().
|
static |
Instance access.
Definition at line 34 of file CbmRunDatabaseContainer.cxx.
|
inherited |
Loads the information for the run from the file.
| runId | Run identifier |
Definition at line 20 of file CbmRunDatabase.cxx.
References fAlignmentTag, fBmonCalibrationTag, fGeoSetupTag, fPathCommonDb, fPathRunStartTimeDb, fRecoParTag, fRunId, fRunStartTimeNs, fTofCalibrationTag, and cbm::util::yaml::ReadFromFile().
|
delete |
|
delete |
|
inlineinherited |
Sets an alternative path to the common DB file.
| pathCommonDb | the path |
Definition at line 117 of file CbmRunDatabase.h.
References fPathCommonDb.
Referenced by cbm::RunDatabaseContainer::RunDatabaseContainer().
|
inlineinherited |
Sets an alternative path to run starttime DB file.
| pathRunStartTimeDb | the path |
Definition at line 121 of file CbmRunDatabase.h.
References fPathRunStartTimeDb.
Referenced by cbm::RunDatabaseContainer::RunDatabaseContainer().
|
inherited |
String representation of the class contents.
Definition at line 81 of file CbmRunDatabase.cxx.
References fBmonCalibrationTag, fGeoSetupTag, fRecoParTag, fRunId, fRunStartTimeNs, and fTofCalibrationTag.
|
privateinherited |
Tag for alignment matrices.
Definition at line 135 of file CbmRunDatabase.h.
Referenced by GetAlignmentTag(), and LoadRun().
|
privateinherited |
BMON calibration tag for a given run ID.
Definition at line 132 of file CbmRunDatabase.h.
Referenced by GetBmonCalibrationTag(), LoadRun(), and ToString().
|
privateinherited |
Geometry setup tag for a given run ID.
Definition at line 134 of file CbmRunDatabase.h.
Referenced by GetGeoSetupTag(), LoadRun(), and ToString().
|
privateinherited |
Path to the common data-base.
Definition at line 128 of file CbmRunDatabase.h.
Referenced by LoadRun(), and SetPathCommonDb().
|
privateinherited |
Path to the runtime data-base.
Definition at line 129 of file CbmRunDatabase.h.
Referenced by LoadRun(), and SetPathRunStartTimeDb().
|
privateinherited |
Tag for reconstruction parameters for a given run ID.
Definition at line 136 of file CbmRunDatabase.h.
Referenced by GetRecoParDir(), GetRecoParTag(), LoadRun(), and ToString().
|
privateinherited |
Current run ID.
Definition at line 138 of file CbmRunDatabase.h.
Referenced by GetRunId(), LoadRun(), and ToString().
|
privateinherited |
Run start time since the epoch [ns].
Definition at line 137 of file CbmRunDatabase.h.
Referenced by GetRunStartTime(), GetRunStartTimeNs(), LoadRun(), and ToString().
|
privateinherited |
TOF calibration tag for a given run ID.
Definition at line 133 of file CbmRunDatabase.h.
Referenced by GetTofCalibrationTag(), LoadRun(), and ToString().