|
BmnRoot 26.10.0-233-gb9bbe585
Software framework of the BM@N experiment
|
C++ interface to the database of the Electronic Logbook (e-Log) of the BM@N experiment: the records written by the shift crews for the runs with their type, trigger, beam, target, energy and DAQ status. The classes connect directly to the PostgreSQL database through the ROOT TSQLServer interface; the connection settings are set in elog_db_settings.h.
The table classes are generated from the database scheme (see scheme): each class has static functions to create, get, delete, search and print the records of its table, and getters and setters of the table columns.
| Class | Description |
|---|---|
| ElogConnection | Connection to the e-Log database |
| ElogRecord | Table record_: logbook records, e.g. all records of a run (ElogRecord::GetRecords) |
| ElogAttachment | Table attachment_: files attached to the records |
| ElogPerson | Table person_: persons (authors, shift leaders) |
| ElogType | Table type_: types of the records |
| ElogTrigger | Table trigger_: triggers of the runs |
| ElogBeam | Table beam_: beam particles |
| ElogTarget | Table target_: targets |
| ElogStatus | Table status_: status values (not built yet: absent in CMakeLists.txt and ElogDbLinkDef.h) |
| ElogContact | Table contact_: contacts (not built yet: absent in CMakeLists.txt and ElogDbLinkDef.h) |
| ElogSearchCondition | Condition (column, comparison, value) for the Search functions |
| Directory | Description |
|---|---|
| examples | Examples of selecting the e-Log records |
| macros | Test of the connection to the e-Log database |
| scheme | SQL scheme and diagram of the e-Log database |
ElogDb.
The interface is a git submodule developed in the nica_db/elog repository at git.jinr.ru.
Distributed under the terms of the GNU General Public License version 3 (GPL-3.0-only), see COPYING. The copyright holders and the files taken from other projects with their licenses are listed in COPYRIGHT.
Directories | |
| examples | |
| Electronic Logbook examples | |
| macros | |
| Electronic Logbook service macros | |
| scheme | |
| Electronic Logbook database scheme | |