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
ECCServer
instance and aDataRouter
instance.Fields
name
A unique name for the data source. ecc_server
The ECCServer
that controls this data source.data_router
The DataRouter
that receives the data stream from this source.Methods
get_data_link_xml
()Get an XML representation of the data link for this source.