the kloe & dafne status logging, analysis and database system

15
1 The KLOE & DAFNE Status Logging, Analysis and Database System G. Mazzitelli , F. Murtas, P. Valente Laboratori Nazionali di Frascati, INFN Frascati, Italy

Upload: vodang

Post on 14-Feb-2017

226 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: The KLOE & DAFNE Status Logging, Analysis and Database System

1

The KLOE & DAFNE Status Logging, Analysis and Database System

G. Mazzitelli, F. Murtas, P. Valente

Laboratori Nazionali di Frascati, INFNFrascati, Italy

Page 2: The KLOE & DAFNE Status Logging, Analysis and Database System

2

DA�NE accelerator complex

• KLOE experiment running since Fall 1999[F. Bossi et al. Lepton Photon 2001, Rome]

• e+ e- collider at � resonance, design luminosity 5·1032 cm-2 s-1

• KLOE: CP violation, Kaon physics, hadronic cross section• DEAR: kaonic atoms/ FINUDA: hypernuclei physics• DA����NE-L: synchrotron radiation laboratory (VUV & IR)

Page 3: The KLOE & DAFNE Status Logging, Analysis and Database System

3

DA�NE controls[G. Di Pirro et al. ICALEPCS 2001]

Low level VME

VME CPU RAMReal-time database

high level CPUOptical links

User interface task

DMA Service taskWrite to DB, see next…

Low level VME

GUIequipments

Page 4: The KLOE & DAFNE Status Logging, Analysis and Database System

4

Monitoring and alarms:Supervisor and pre-analysis

DA�NE DB: general scheme

• all machine elements data stored to RAM database by low level processes (on VME CPU)• not-homogenous DB (different data types for each device)• Dumper process: align different data types in homogenous format• Storer: synchronize and write data to mass storage

homogenous DB

VME RAM

VME tasks

(not-homogenous DB)

Dumper Storer Console Web server

Page 5: The KLOE & DAFNE Status Logging, Analysis and Database System

5

DA�NE DB: online tools

Console

Online status of each element, alarm handling, online data correlations (from different devices),Latches (magnet ripple), and time charts

Page 6: The KLOE & DAFNE Status Logging, Analysis and Database System

6

Web interface: main DA�NE site

Monitoring status and statistics

•All data can be accessed from Web: control status, statistics, history, and log files.

Page 7: The KLOE & DAFNE Status Logging, Analysis and Database System

7

KLOE slow control

VME CPU

Power supplies

Serial lines

Low level process

TCP/IP

Low voltages

High voltages

Slow Control machine

High level process

User interface:Commands and monitoring

Web server

Storage

Page 8: The KLOE & DAFNE Status Logging, Analysis and Database System

8

Web interface: main KLOE slow site

Low level processes statusHV, LV, power supplies status

High level processes statusMonitoring and communication tasks

Submenus, one for subdetector

Watchdog processes(one on high level machineOne on low level VME CPU)

Page 9: The KLOE & DAFNE Status Logging, Analysis and Database System

9

KLOE DB

detector

Slow control parameters

Front endEventson tape KLOE DAQ

tasks

Monitoring tasks

Web servers,Presenter

Slow control

KLOE Run control

Physics quantities

Merge & synch task

User interface

DAQ farm

DA�NE DB

Common DBsee next…

Page 10: The KLOE & DAFNE Status Logging, Analysis and Database System

10

Communication and common DBSummarizing…

• Complete integration between the two systems• All data are accessible from both ends• Complementary user interfaces (experiment oriented and machine oriented)

Page 11: The KLOE & DAFNE Status Logging, Analysis and Database System

11

Monitoring (histogram presenter)

Online presenter:all quantities in the commondatabase can be histogrammedby the user (in the last hours oron historical data)Based on histogram ROOTlibraries from CERN.

Page 12: The KLOE & DAFNE Status Logging, Analysis and Database System

12

Monitoring (Web interface)

Web pages:Fast feedback from the mainexperiment physics parameters

Page 13: The KLOE & DAFNE Status Logging, Analysis and Database System

13

Alarms and e-services

GSM short message

Gateway e-mail

request

Common DB

Data, alarms,statistics

request

Supervisor status

Page 14: The KLOE & DAFNE Status Logging, Analysis and Database System

14

Online statisticsIntegrated luminosity

Page 15: The KLOE & DAFNE Status Logging, Analysis and Database System

15

Conclusions

• DAFNE has started physics runs for KLOE experiment in 1999• The DAFNE and KLOE control systems allowed to keep under control both the detector condition and machine performances• Feedback from quasi-online reconstructed data allowed to:

• control data quality• improve the luminosity (e.g. allowing topping-up operation without switching off the detector HV)• decrease machine background effectively

• MANY USEFUL tools developed during the luminosity optimization phase!

• Complete inter-dependance between KLOE and DAFNE control systems.