Design & Organization of the database The new database structure is split across three distinct database types. The first of these types is the Configuration Database; it stores information about the location, type, and number of Mainframes and Modules and does not change or grow once it is created (unless a module or mainframe is added/removed/replaced). The second Database type is the Time Tag database; it stores a number of time tag objects, which are linked to Configuration and Readback Databases. These Time Tags allow for quick look up of readback data by stored at a particular time. The final Database type is the Readback Database; this is where the actual HV data is stored.
The following classes have been implemented in Objectivity:
- CFHVMainframe : corresponds to the 1458 mainframe with a relation to many modules -- exists only in the Configuration database
- CFHVModule : corresponding to the HVmodules sitting in a mainframe with many channels -- exists only in the Configuration database
- CFHVModuleContainer : a container for modules in the Configuration database; also called a 'Granule Container' because its contents reflect the make up of a particular granule
- CFHVMainframeContainer : A container to hold the CFHVMainframe objects -- only one per Configuration database
- THVTimeTag : a Time Tag object which records the time of a data storage process and links to info in both the Configuration and Readback database
- THVContainer : a container for Time Tag objects; like CFHVModuleContainer, a THVContainer is associated with (and named after) a particular granule
- THVRecentTags : an object which records the most recent tags in each container/granule, as well as the most recently made tag in the entire database. There is only one of these per Time Tag Database
- RBHVModule : an object used to store the actual HV information; exists only in Readback databases
- RBHVModule1471 : an object that is the child of RBHVModule; it stores the extra property of Peak Current that is unique to the LeCroy Module Type
- RBHVContainer : a container for RBHVModules; each RBHVContainer is associated to a particular Time tag and a particular granule.
- This leads us to the following OIM, with Objectivity Associations shown:
. CONFIGURATION DB TIME TAG DB READBACK DB . ----------------------------------------------------------------------------------- . . --CFHVMainframeContainer-- THVRecentTags ----> ---RBHVContainer--- . | | | | | | . | CFHVMainframe | | | | RBHVModule | . | ^ | | | | | | . | | ... | | | ------- | . | | | | | | | | . --|----------------------- | | | | RBHVModule1471 | . | | | | | | | . --|-CFHVModuleContainer--- <-| --|--THVContainer---- | | | | ... | . | | | | | | | | | | | | . | #--> CFHVModule <-- | | | -->THVTimeTag <---------| | | | | . | | | | | | | | | | | | . | | | | |---------| ... | | | | | . | | | | | | | | | | . | |-----> CFHVModule | | | | | | | | . | ^ | | | | | | | | . ----------|-----------|--- --------------------- | ---|--------------- . | | | | . | |----------------------------------------| | . | | . |----------------------------------------------------------| .
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de