Calibration Infrastructure Design - PowerPoint PPT Presentation

1 / 7
About This Presentation
Title:

Calibration Infrastructure Design

Description:

... www.slac.stanford.edu/exp/glast/ground/software/calibration/CalibSvcSpec.sh tml ... Adds new entry to metadata database. 6. calibUtil Services (cont'd) ... – PowerPoint PPT presentation

Number of Views:12
Avg rating:3.0/5.0
Slides: 8
Provided by: joanne108
Category:

less

Transcript and Presenter's Notes

Title: Calibration Infrastructure Design


1
Calibration Infrastructure Design
  • J. Bogart
  • 10 May 2002

2
Overview
I T Client
Gaudi Client
Calibrator
Gaudi services
calibUtil Services
Register, write Search Read
reference
uses, accesses
executable
library
Data (persistent)
Metadata (persistent)
MySQL rdbms
bad strips (XML)
CAL calibs (ROOT)
3
Bad Strips (persistent form)
  • Uses XML because it's human-readable convenient
    for variable-length data
  • Includes a "generic" section which will be part
    of all calib. data sets (analog for ROOT)
    conditions, input data description
  • Goal is to indicate which strips are bad in
    unambiguous hardware terms.
  • http//www.slac.stanford.edu/exp/glast/ground/soft
    ware/calibration/test_badStrips_xml.html
    (sample file)
  • http//www.slac.stanford.edu/exp/glast/ground/soft
    ware/calibration/badStrips_dtd.html
    (specification of xml format)

4
What's in the Metadata dbs
  • http//www.slac.stanford.edu/exp/glast/ground/soft
    ware/calibration/CalibSvcSpec.shtmlmetadata
    describes the per-calibration data set
    information we expect to keep in the database.
  • http//www.slac.stanford.edu/exp/glast/ground/soft
    ware/calibration/metadata_columns.html is a dump
    from the actual MySQL database installed on
    centaurusa.

5
calibUtil Services
  • Write a calibration data file
  • Separate services for each calibration data type
    (e.g. TKR bad strips, CAL absolute energy
    calibration, ...)
  • Caller is isolated from details of persistent
    form
  • Register a calibration
  • Identical for all calibration types
  • Adds new entry to metadata database.

6
calibUtil Services (cont'd)
  • Search for a calibration data file
  • Inputs will include calib type, timestamp (during
    which calib must be valid), ...
  • Return is sufficient info so that appl can find
    and use data set.
  • Read
  • Per-calib-type services extract data into
    per-calib-type classes.
  • Classes must support typical use cases.

7
Interface to Gaudi
Gaudi algorithms should be able to access
calibration data transparently. In particular,
the "right" set of constants should be available
as each event is processed. TDS classes (not for
the Event TDS, but for the Transient Detector
Store associated with the Gaudi Detector Data
Service) will be defined for each calibration
type. Some of the metadata associated with the
calibration, such as validity interval, would
also be stored. The converters for these classes
would use validity interval to determine if the
current version of the data was appropriate. If
not, calibUtil search and read services would be
invoked.
Write a Comment
User Comments (0)
About PowerShow.com