Introduction
LATC as a system doesn't provide an interface for manipulating the LATC xml as a system. Also, due to some features of the LATC compiler (LATC_parser), there are subtleties in attempting to simply "chain" different sets of XML together to create a correct description of the detector
Interface
The <foo> package contains a simple interface to an in-memory model of the LATC register space. A top level object, LATC_LAT, is provided which constitutes the top level interface to the LATC register hierarchy. This package contains several base classes: LATCComponent, LATCComponentDict, LATCRegister
LATCComponent
The base class of all LATC component objects (such as LATC_LAT, LATC_TEM, LATC_AFE). LATCComponent objects have sets of LATCComponents and sets of LATCRegisters. These sets may be empty. All LATCComponent objects define the following methods:
name() Returns the component's name (a string)
components() Returns a dict of LATCComponent objects (may be empty)
nComponents() Returns the length of the components() dict
registers() Returns
LATCComponentDict
LATCRegister