attpcdaq.daq.models.DataSource¶
-
class
attpcdaq.daq.models.DataSource(*args, **kwargs)[source]¶ A source of data, probably a CoBo or a MuTAnT.
This model represents a source of data in the system, like a CoBo or a MuTAnT. A data source is controlled by an ECC server, and it sends its data to a data router. Therefore, this is simply a link between an
ECCServerinstance and aDataRouterinstance.Fields
nameA unique name for the data source. ecc_serverThe ECCServerthat controls this data source.data_routerThe DataRouterthat receives the data stream from this source.Methods
get_data_link_xml()Get an XML representation of the data link for this source.