the kloe & dafne status logging, analysis and database system
TRANSCRIPT
1
The KLOE & DAFNE Status Logging, Analysis and Database System
G. Mazzitelli, F. Murtas, P. Valente
Laboratori Nazionali di Frascati, INFNFrascati, Italy
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)
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
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
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
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.
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
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)
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…
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)
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.
12
Monitoring (Web interface)
Web pages:Fast feedback from the mainexperiment physics parameters
13
Alarms and e-services
GSM short message
Gateway e-mail
request
Common DB
Data, alarms,statistics
request
Supervisor status
14
Online statisticsIntegrated luminosity
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.