|
BmnRoot 26.10.0-19-g6979a6c6
Software framework of the BM@N experiment
|
C++ interface to the Tango database of the Slow Control System.
The Slow Control System (SCS) of the BM@N experiment is based on the Tango Controls toolkit, and the hardware parameters of the detectors and the facility (e.g. high voltages, currents, magnetic field) are archived in the Tango database. The TangoData class reads the archived parameters for a time interval or a run range, prints and draws them and calculates their average values to use them in the data processing.
The names of the parameters can be found in the Web viewer of the SCS (bmn-tango.jinr.int). The Grafana interface of the slow control team (bmn-sc.jinr.ru) is also available to view the data, but only in the JINR network.
A Tango parameter is defined as domain/family/member/attribute, e.g. fhcal/hv/hv_1/vch_2_1. TangoData takes:
Every Tango time point is a transition to a new value, i.e. the value is valid up to the next time point. GetTangoData() returns TObjArray of TangoTimeParameter objects; the first point is the value valid at the start time (if the parameter was archived before), the last point is the value valid at the end time. Note that the last archived value is extended up to the end time, even if the archiving was stopped before it.
The canvases are named by the displayed data and the kind of view, e.g. fhcal_hv_1_vch_2_1_to_vch_2_10_p9_r9696_9730_surf1, so drawing the same data in the same view replaces the canvas. In the drawing of a set of parameters, the channels are numbered by their index in the vector.
Built into the TangoData library; the ROOT dictionary is defined in TangoDataLinkDef.h.
Directories | |
| examples | |
| Tango examples | |
Files | |
| tango_db_settings.h | |
| TangoConnection.cxx | |
| TangoConnection.h | |
| TangoData.cxx | |
| TangoData.h | |