Skip to content

gcrone/readoutdal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Readoutdal

This package extends the schema from the coredal package to describe readout applications.

schema

ReadoutMap

The ReadoutMap included here is currently a direct translation from the jsonnet schema in the daqconf package with the addition of a grouping class ReadoutGroup.

The DROStreamConf class inherits from ResourceBase allowing individual streams to be disabled. DROStreamConfs are grouped into ReadoutGroups which inherit from ResourceSetAND so if all streams in a group are disabled the group itselg is disabled.

The EthStreamParameters and the FlxStreamParameters classes both contain host addresses. It is not clear how these relate to the VirtualHost/PhysicalHost classes from the core schema.

SmartDaqApplication

SmartDaqApplication is an abstract class that has no direct relationships with DaqModules. The DaqModules themselves must be generated on the fly by an implementation of the generate_modules() method. The SmartDaqApplication has relationships to QueueConnectionRules and NetworkConnectionRules to alow the generate_modules() method to know how to connect the modules internally and to network endpoints.

NB: The declaration of the generate_modules() method must be repeated in each subclass and an implementation provided. The declaration in SmartDaqApplication is not pur virtual but its implemetation just throws a 'not implemented' exception.

ReadoutApplication

ReadoutApplication schema class diagram not including classes whose objects are generated on the fly

The ReadoutApplication inherits from both SmartDaqApplication and ResourceSetAND. This means it has a contains relationship that can contain any class inheriting from RsourceBase but should only contain ReadoutGroups. The generate_modules() method will generate a DataReader and set of DataLinkHandlers for each ReadoutGroup plus a single TPHandler. The modules are created accoriding to the configuration given by the data_reader, link_handler and tp_handler relationships respectively. Connections between pairs of modules are configured according to the queue_rules relationship inherited from SmartDaqApplication.

NICReader

The NICReader, which is generated on the fly by the ReadoutApplication's generate_modules(), has a relationship to a NICReceiverConf which will be the same for all NICReceivers of the ReadoutApplication and maybe for all the ReadoutApplications in the Session. Its only distinguishing configuration item is the relationship it has to a DROStreamConf.

DataFlow applications

DFApplication

The Datflow applications, which are also SmartDaqApplication which generate DaqModules on the fly, are also included here.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published