Download
lhcb online interface to the conditions database n.
Skip this Video
Loading SlideShow in 5 Seconds..
Maria del Carmen Barandela Pazos CERN CHEP 2-7 Sep 2007 Victoria PowerPoint Presentation
Download Presentation
Maria del Carmen Barandela Pazos CERN CHEP 2-7 Sep 2007 Victoria

Maria del Carmen Barandela Pazos CERN CHEP 2-7 Sep 2007 Victoria

282 Vues Download Presentation
Télécharger la présentation

Maria del Carmen Barandela Pazos CERN CHEP 2-7 Sep 2007 Victoria

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. LHCb Online Interface to the Conditions Database Maria del Carmen Barandela Pazos CERN CHEP 2-7 Sep 2007 Victoria

  2. OUTLINE ● Conditions , Conditions DB & LHCb Online ● LHCb Online Interface to the CONDB ○ System components ○ Data flow ● Summary - 1- Maria del Carmen Barandela Pazos CHEP 2007, Victoria

  3. CONDITIONS ● Non-event detector data that vary with time ●Condition Object: -Metadata • Data item identifier • Interval of Validity: [since, until] • Version information VERSION -Payload • Actual data variables: temperatures, calibration parameters, etc. TIME DATA ITEM - 2- Maria del Carmen Barandela Pazos CHEP 2007, Victoria

  4. OBJECT DATA CONDITIONS DB FOLDER SETS Hierarchical organization & Versioning FOLDERS Interval of Validity access & Versioning IOVs Data payload <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE DDDB SYSTEM "conddb:/DTD/structure.dtd"> <DDDB> <condition name=""> <param name="" type=""> </param> </condition> </DDDB> - 3- Maria del Carmen Barandela Pazos CHEP 2007, Victoria

  5. PVSS PVSS PVSS ONLINE CONDB -Subset of monitoring data from HW - Online Usage • Publisher: control system • Consumer: trigger processes PVSS Experimental Equipment Online Online Offline Offline CERN LHCb pit 2 - 4- Maria del Carmen Barandela Pazos CHEP 2007, Victoria

  6. INTERFACE TO CONDB ● Store data produced in the LHCb pit ● System components • SCADA(Supervisory Control and Data Acquisition) • Developed by ETM • Software package for control and visualization -PVSS panel -PVSS control scrip -Conditions database server: COOL • API for reading and writing conditions data • Developed by LCG group at CERN • Management condition data in the LHC experiment - Communication layer • DIM (Distributed Information Management) system • Developed at CERN • Machine independent inter-process communications 2 - 5- Maria del Carmen Barandela Pazos CHEP 2007, Victoria

  7. PVSS PANEL ●LHCb framework component ●Define conditions ● Display existing nodes in the CONDB ●Select parameters & update type ●Condition update type • Time • Change value • Value + or – value or % • Opt. Combination ●Visualization XML ●Server status & error msn 2 - 6- Maria del Carmen Barandela Pazos CHEP 2007, Victoria

  8. XML XML XML PVSS CTRL SCRIPT ● Gets the existing definitions stored as dpe. ● Creates 1 thread per condition CTRL SCRIPT ● When is the right moment : • Builds the XML string dpe dpe dpe • Sents the condition to the server ● Independent from the panel • Gets automatically new condition definitions 2 - 7- Maria del Carmen Barandela Pazos CHEP 2007, Victoria

  9. CONDB SERVER ● Publishes the CONDB nodes as DIM service ● Receives the conditions as DIM command ● Generic implementation COOL Different relational backends SQLITE & Oracle 2 - 8- Maria del Carmen Barandela Pazos CHEP 2007, Victoria

  10. DATA FLOW 3. Request conditions service DNS DIM Name Server PVSS 4. Service info 5. Condition Service info 2. Register services 1. Get conditions info 6. Command: updated condition CONDB SERVER 7. Insert the updated condition Online CONDDB 2 - 9- Maria del Carmen Barandela Pazos CHEP 2007, Victoria

  11. SUMARY ● System fully functional (still being tested by users) ● Simple and flexible way to define conditions ● Generic implementation of the server 2 - 10- Maria del Carmen Barandela Pazos CHEP 2007, Victoria

  12. Questions