Presentation is loading. Please wait.

Presentation is loading. Please wait.

6th Feb 2003SCT DAQ analysis development 1 SCT analysis framework Work by:Alan Barr, Matt Palmer, Dave Robinson Almost all slides originally produced by.

Similar presentations


Presentation on theme: "6th Feb 2003SCT DAQ analysis development 1 SCT analysis framework Work by:Alan Barr, Matt Palmer, Dave Robinson Almost all slides originally produced by."— Presentation transcript:

1 6th Feb 2003SCT DAQ analysis development 1 SCT analysis framework Work by:Alan Barr, Matt Palmer, Dave Robinson Almost all slides originally produced by MP and DR!

2 SCT DAQ analysis development2 6th Feb 2003 User Interface IPC IS Fitting Service SCT API Java GUI scripting histograms (JAS) Information Service Working model for macro-assembly Analysis Service IS RODModule IS? Data Archival (or interactive ROOT) Using OH alone is too restrictive. Instead save/retrieve objects into IS, containing data and histograms etc.

3 SCT DAQ analysis development3 6th Feb 2003 User Interface IS Fitting Service SCT API Java GUI scripting histograms (JAS) Information Service Development at Cambridge Analysis Service IS RODModule Data Archival (or interactive ROOT) SCTDAQ Data IPC Uses SCTDAQ data from module production testing at Cambridge Cambridge Non-Cambridge

4 SCT DAQ analysis development4 6th Feb 2003 Information Service Objects RawRODData... 1 per module per scan 2 x 2D histo (scan data for each link) n x 1D histos (trigger histo, hardware flags etc) Scan type and parameters Module Configuration FittedRODData.... 1 per module per scan RawRODData object name Fit Data RODAnalysis.... 1 per module, and per analysis (eg 3ptGain, Noise etc) FittedRODData object names RawRODData object names Analysis Results and Histograms Easily modifiable in the short term

5 SCT DAQ analysis development5 6th Feb 2003 Dynamic status finding Scan object can search IS (and disk) to find data and dynamically determine its status. Higher level Test object contains links to one or more Scans, as well as analysis procedures. Callback functions alert services of new data.

6 SCT DAQ analysis development6 6th Feb 2003 Subscribes to the Information Service, responding to new raw data. Takes 1D event trigger and 2D ROD output histograms from RawRODData Outputs FittedRODData objects, containing strip, chip and link fits. These are republished to IS. Will soon add summary information histograms. Fitting Service IS

7 SCT DAQ analysis development7 6th Feb 2003 The Fitter Waits for new RawRODData on IS. Finds the ScanType, and hence choses an appropriate FitType (Gauss, Erf, etc.). Creates a new FittedRODData class, and a bunch of FitObjects. Finds the initial parameters in the same manner as SCTDAQ. Perfoms each of the fits, (channel, chip, link as appropriate), and publishes the results (including the FitStatus) to IS.

8 SCT DAQ analysis development8 6th Feb 2003 GUI + Scripting Scripting provided by IBM’s Bean Scripting Framework  Provides general interface to many scripting engines. Scripting engines are robust – two currently tested  BeanShell – Java syntax  JavaScript – same engine as in Mozilla  Many others possible – Python, Perl, etc  No dictionary generation required – direct access to all Java objects  Access can be controlled. Console requires some work to get to same functionality as CINT.  E.g. Tab completion – easy (ish) for Java objects, harder for local vars.  Robust handling of all keyboard input.

9 SCT DAQ analysis development9 6th Feb 2003 GUI Snapshots

10 SCT DAQ analysis development10 6th Feb 2003 Persistency Requirements:  Browsable  Searchable  Analysed by both man and machine.  Robust against changes in data types and structure Options:  ROOT tree or directory (initial system) Object-structured or flat? POOL?  IS-style XML  MySQL (or similar) database Not yet well defined!

11 SCT DAQ analysis development11 6th Feb 2003 Software documentation

12 SCT DAQ analysis development12 6th Feb 2003 The Future Short term  Define persistency mechanism  Integrate analysis work with real API  Initial measurements from analysis tool Medium term (~weeks)  Extend analysis tool to other tests with the aim of doing full characterisation.  Design a smart performance monitor.


Download ppt "6th Feb 2003SCT DAQ analysis development 1 SCT analysis framework Work by:Alan Barr, Matt Palmer, Dave Robinson Almost all slides originally produced by."

Similar presentations


Ads by Google