Status of Database and Calibration Project In BES-3 Offline Software System Status of Database and Calibration Project In BES-3 Offline Software System.

Slides:



Advertisements
Similar presentations
Software Summary Database Data Flow G4MICE Status & Plans Detector Reconstruction 1M.Ellis - CM24 - 3rd June 2009.
Advertisements

1 Databases in ALICE L.Betev LCG Database Deployment and Persistency Workshop Geneva, October 17, 2005.
EventStore Managing Event Versioning and Data Partitioning using Legacy Data Formats Chris Jones Valentin Kuznetsov Dan Riley Greg Sharp CLEO Collaboration.
SAS Calibration Infrastructure J. Bogart 7 June 2004 What it is, what it does.
Calibration Infrastructure & Gaudi Design and Status.
BESIII Offline Software Overview Weidong Li & Yajun Mao BESIII Collaboration Meeting, Beijing 12 January 2006.
X.Dong, USTC/LBNL Feb. 20th, 04, STAR Collaboration Meeting 1 TOF Software Progress Xin Dong, for TOF Group  TOF detectors in Run IV  Online software.
May 29 - Jun 4 , 2005BESIII Annual Meeting , Beijing 1 The BESIII Detector Description With XML Jun 1, 2005 Zhengyun You , Yajun Mao (School of Physics,
Data Quality Monitoring of the CMS Tracker
Status of MC Simulation Huaimin Liu BESIII Collaboration meeting IHEP, Beijing, Jan. 12, 2006.
BES III core/reconstruction software planning for Release 3.0 BES III core/reconstruction software planning for Release 3.0 Li Weidong
Experience with analysis of TPC data Marian Ivanov.
MdcPatRec Tracking Status Zhang Yao, Zhang Xueyao Shandong University.
Jiawen Zhang, IHEP, 2008, April 10, frascati Status of BEPCII/BESIII and Physics preparation Jiawen Zhang 2008/4/7—10 , PHIPSI08, Frascati.
BES Ⅲ Detector Description and Event Display Zhengyun YOU, Yajun Mao School of Physics, Peking University Jan.10th, 2006.
Nick Brook Current status Future Collaboration Plans Future UK plans.
DC12 Commissioning Status GOALS: establish operating conditions, determine initial calibration parameters and measure operating characteristics for the.
Databases E. Leonardi, P. Valente. Conditions DB Conditions=Dynamic parameters non-event time-varying Conditions database (CondDB) General definition:
The BESIII Offline Software Weidong Li Institute of High Energy Physics, Beijing Workshop on the cooperation of PRC-US in HEP 16 June 2006.
BESIII MC Release notes & planned development Dengzy, Hem, Liuhm, Youzy, Yuany Nov. 23, 2005.
Event Data History David Adams BNL Atlas Software Week December 2001.
ALICE, ATLAS, CMS & LHCb joint workshop on
Framework of Job Managing for MDC Reconstruction and Data Production Li Teng Zhang Yao Huang Xingtao SDU
Introduction CMS database workshop 23 rd to 25 th of February 2004 Frank Glege.
1 Energy loss correction for a crystal calorimeter He Miao Institute of High Energy Physics Beijing, P.R.China.
MDC Simulation Yuan Ye BESIII Collaboration Meeting.
BESIII Simulation Status Z.Y. Deng M. He H.M. Liu Y.J. Mao Z.Y. You Y.Yuan BES Annual Meeting June 1, 2005.
Status of BESIII Event Reconstruction System Zepu Mao IHEP BESIII Col. Meeting 2006/01/12.
Status of BESIII Event Reconstruction System Zepu Mao IHEP BESIII Annual Meeting 2005/05/29.
David Adams ATLAS DIAL: Distributed Interactive Analysis of Large datasets David Adams BNL August 5, 2002 BNL OMEGA talk.
GLAST LAT Offline SoftwareCore review, Jan. 17, 2001 Review of the “Core” software: Introduction Environment: THB, Thomas, Ian, Heather Geometry: Joanne.
Status of BESIII Weidong Li IHEP, CAS, Beijing Nanchang 17th April, 2010.
A New Tool For Measuring Detector Performance in ATLAS ● Arno Straessner – TU Dresden Matthias Schott – CERN on behalf of the ATLAS Collaboration Computing.
Particle Identification at BESIII Kanglin He April 23, 2007, Amsterdam.
Linda R. Coney – 5 November 2009 Online Reconstruction Linda R. Coney 5 November 2009.
BES III reconstruction software planning for Summer 2004 BES III reconstruction software planning for Summer 2004 Li Weidong
Weidong Li January 7, 2004 BES III Software Meeting Status Report: BESF software development environment Weidong Li.
Offline Status Report A. Antonelli Summary presentation for KLOE General Meeting Outline: Reprocessing status DST production Data Quality MC production.
1 Checks on SDD Data Piergiorgio Cerello, Francesco Prino, Melinda Siciliano.
BES III Software: Overview, Status and Plan Weidong Li Representing BES III Software Group BES Annual Meeting, Beijing 1 st June 2005.
Event Start Time Determination Ma Xiang
BESIII Track Extrapolation & Matching Wang Liangliang EPC IHEP.
刻度框架概况及进展 黄彬 内容 刻度框架的设计功能 刻度框架的结构与流程 刻度框架的应用 目前的进展和下一步的工作.
BESIII Offline Software Development Environment Ma qiumei * Development environment * Configuration & management tool * Software development.
INFSO-RI Enabling Grids for E-sciencE Using of GANGA interface for Athena applications A. Zalite / PNPI.
Summary of User Requirements for Calibration and Alignment Database Magali Gruwé CERN PH/AIP ALICE Offline Week Alignment and Calibration Workshop February.
The MEG Offline Project General Architecture Offline Organization Responsibilities Milestones PSI 2/7/2004Corrado Gatto INFN.
Status of Analysis Software Kanglin He For Analysis Software Group.
Current Status of MDC Track Reconstruction MdcPatRec Zhang Yao, Zhang Xueyao
TOF Reconstruction, Calibration & Test-beam Simulation Jiang Linli 2005/6/1 (13th BES Annual Meeting )
Energy Calibration of BESIII EMC  ‘Digi’-calibration Bhabha calibration  0 calibration Radiative Bhabha calibration  ‘Cluster’-calibration.
David Adams ATLAS ATLAS Distributed Analysis and proposal for ATLAS-LHCb system David Adams BNL March 22, 2004 ATLAS-LHCb-GANGA Meeting.
BESF Framework Development Weidong Li
ATLAS The ConditionDB is accessed by the offline reconstruction framework (ATHENA). COOLCOnditions Objects for LHC The interface is provided by COOL (COnditions.
BESIII offline software group Status of BESIII Event Reconstruction System.
BES III Software: Beta Release Plan Weidong Li 19 th October 2005.
Tracking software of the BESIII drift chamber Linghui WU For the BESIII MDC software group.
1 SLAC simulation workshop, May 2003 Ties Behnke Mokka and LCDG4 Ties Behnke, DESY and SLAC MOKKA: european (france) developed GEANT4 based simulation.
MAUS Status A. Dobbs CM43 29 th October Contents MAUS Overview Infrastructure Geometry and CDB Detector Updates CKOV EMR KL TOF Tracker Global Tracking.
BESIII data processing
Migration of reconstruction and analysis software to C++
The status of Track Extrapolation module
TriggerDB copy in TriggerTool
Tag based analysis Ziyan DENG.
Performance of MDC during New Data Taking
Raw Event Conversion Service in BOSS framework
Geant4 in HARP V.Ivanchenko For the HARP Collaboration
Use Of GAUDI framework in Online Environment
BES III Software: Short-term Plan ( )
Calibration Infrastructure Design
Presentation transcript:

Status of Database and Calibration Project In BES-3 Offline Software System Status of Database and Calibration Project In BES-3 Offline Software System Bin Huang, Chunxiu Liu, Dayong Wang, Jianming Bian, Jinfa Qiu, Linli Jiang, Linghui Wu, Qiumei Ma, Yuguang Xie Jan. 12, 2006 Abstract The work of this group is one of the important parts in our BES-3 offline software project. And it includes the following jobs: Framework(Calib), DB, Sub-Detector calibration algorithms, Auto-Job-Sub-Script and Monitor programs. In this report, I would like to talk about the Status of Database and Calibration for BES-3 in the following way:

Introduction The offline calibration framework Database (MYSQL) Auto-Job-Sub-Script Sub-detector calibration algorithms Summary Status of Database and Calibration Project In BES-3 Offline Software System

一 Introduction The experimental data analysis flow The significance of offline calibration The basic process of offline calibration Status of Database and Calibration Project In BES-3 Offline Software System

e+e- Detector physics Data(Raw, MC) Reconstruction Physics Results MC Calibration Status of Database and Calibration Project In BES-3 Offline Software System

The significance of offline calibration To guarantee the physics data correction Raw data Correcting and Scaling Groups of Coefficient Rec. and Physics Result To track the qualification of the data acquisition Detector performance Monitor program Hardware persons

The flow of BES2 offline calibration Status of Database and Calibration Project In BES-3 Offline Software System

The relative parameters after offline calibration Status of Database and Calibration Project In BES-3 Offline Software System

二 The offline calibration framework The philosophy of designing the program ( Gaudi, C++, ROOT… )GLASTGLAST The structure of the framework and the packages The calibration data : the metadata, stored in the database(MySQL), and the bulk data (ROOT file) Calibration data will be made available for read access according to usual Gaudi practice for TDS data.

Status of Database and Calibration Project In BES-3 Offline Software System The offline calibration framework

The Packages of the Calibration Framework CalibSvc: CalibDataSvc the DataSvc responsible for providing access to data in a TDS. CalibMySqlCnvSvc the conversionSvc for metadata “conversion” CalibRootCnvSvc CalibXmlCnvSvc calibUtil: provide the interface between the client of calibration fremwork and the MySQL DataBase facilities : supply tools that are commonly used in the framework rdbGui : a GUI that can register and write the metadata dbms rdbModel: contain the classes and interfaces that describe and access a rdb xmlBase: used for interpret and produce xml files 。 CalibData: define the Data Model and corresponding ClassID of each subdetector in the TCDS, including the runfrom and runto numbers in each dataset the ConversionSvc for bulk data conversion Status of Database and Calibration Project In BES-3 Offline Software System

TCDS Structure Transient (Calibration) Data Store Calib MdcCal TofCalDedxCal vanilla /Calib/MdcCal/vanilla /Calib/TofCal/vanilla /Calib/DedxCal/vanilla (More) digi /Calib/MdcCal/digi Status of Database and Calibration Project In BES-3 Offline Software System

The Data Model design: MDC, TOF and dE/dx The test of the framework: MDC, TOF and dE/dx The file written from TCDS Works to be continued on EMC and MUC

The selection(Oracle 、 MySQL 、 Postegre) / installation The construction of Metadata list Test of the system (Mdc Tof dE/dx) Browsing the Database from Website Status of Database and Calibration Project In BES-3 Offline Software System 三 Database (MYSQL)

Field nameWho fillsExplanation, typical contents Ser_noMysql (rdbms)Unique serial # for this record Calib_typeCalibrator Mdc Emc Tof Muc Dedx … Data_fmtCalibrator XML or ROOT Run_fromCalibratorStart run to which calibration applies Run_toCalibratorEnd run to which calibration applies Sft_verCalibrator Cal_verCalibrator Cal_parCalibrator Rec_algCalibrator Rec_parCalibrator StatusCalibrator ‘ OK ’, ‘ TEST ’, ‘ ABORT ’ Creatorprog (e.g.rdbGui)Name of program or script creating entry Uidprog (e.g.rdbGui)login id Enter_timeMysql (rdbms)Time entry was made in database Data_identCalibratorTypically file spec. Input_descCalibratorDescription of input data. NotesCalibratorAnything else about calibration or conditions under which it was performed that might be of interest. Status of Database and Calibration Project In BES-3 Offline Software System

Data (persistent)Metadata (persistent) Calibs (XML) Calibs (ROOT) MySQL rdbms calibUtil Search db reference uses executable library Conversion Services (CalibSvc) reads Status of Database and Calibration Project In BES-3 Offline Software System

A very simple script finished # !/bin/bash TIMES=5 iter=0 while [ "$iter" -lt "$TIMES" ] do echo -n "$iter" boss.exe jobMdcCalib.txt iter=`expr $iter + 1` cp MdcCalConst.root "MdcCalConst$iter.root" echo "MdcCalConst$iter.root created" mv histogram.root "T0histogram_$iter.root" Done exit Status of Database and Calibration Project In BES-3 Offline Software System 四 Auto-Job-Sub-Script Manpower saved

The calibration algorithm for MDC The calibration algorithm for dE/dx The calibration algorithm for TOF The calibration algorithm for EMC The calibration algorithm for MuC Status of Database and Calibration Project In BES-3 Offline Software System 五 Sub-detector calibration algorithms

2. The basic calibration method we used Survival analysis mathod ( 残差分析 ) Δd = d drift – doca where d drift : drift distance doca: the distance between the track and the hit wire 1. What have we considered ? X-T calibration, T 0 calibration, Wire survey calibration, Q-T calibration, and Space resolution calibration. ΔT0 分布 Status of Database and Calibration Project In BES-3 Offline Software System

Start Initailize ( histo , calib const … ) Execute ( Rec, Fill the histo…) Survaval analyse Correction and Renew the const ( XT/T0/ … ) Finish Main classes designed : MdcCalibAlg MdcCalib MdcCalHistMgr MdcCalConstMgr MdcCalEvent MdcCalGeo finailize( ) Status of Database and Calibration Project In BES-3 Offline Software System 3. The flow of the program (MdcCalibAlg) N

Status of Database and Calibration Project In BES-3 Offline Software System 3. The flow of the program (MdcCalibAlg)

残差分布 ΔT0 分布 Status of Database and Calibration Project In BES-3 Offline Software System 4. Some results tested by MC data Results after T 0 calibration

丝位偏移量分布 丝位修正量 (mm) Results after survey calibration 每根丝的位置修正结果 Root 格式的直方图文件 (Wire.root) 4. Some results tested by MC data Status of Database and Calibration Project In BES-3 Offline Software System

MdcCalibFunSvc TimeToDistFun DistToTimeFun … Mdc Calibration Constants TCDS Reconstruction Simulation Others MdcCalibFunSvc :完成漂移室刻度常数到相关物理量的转换过 程,既方便各模块调用,也有利于刻度人员的更新和维护。 Calibration 5.Mdc Calibration Function Service Status of Database and Calibration Project In BES-3 Offline Software System

dE/dx Calibration Software Flow Status of Database and Calibration Project In BES-3 Offline Software System

(For the detail, please see the report given by Dayong Wang in this meeting ) The resolution after calibration

TOF Calibration Software Flow Tof Calibration Algorithm calibration constants Tof Reconstruction Algorithm Calibration framework converter Initialize() execute() finalize() TimeCalib() SpeedCalib() AttenCalib() Calibration data ( Bhabha events ) Calibration constant Data base Calibration data ( Bhabha events ) Status of Database and Calibration Project In BES-3 Offline Software System

Time after calibration dt vs zHitTime resolution Status of Database and Calibration Project In BES-3 Offline Software System (For the detail, please see the report given by Linli Jiang in this meeting )

Energy Calibration of BESIII EMC  ‘ Digi’-calibration Bhabha calibration  0 calibration Radiative Bhabha calibration  ‘Cluster’-calibration Status of Database and Calibration Project In BES-3 Offline Software System The R&D of calibration method / finished The Algorithms design / working on

Gamma-Gamma Calibration gi Intermediate Data (matrix, vector) Bhabha calibration const. Bhabha calibration flow chart Status of Database and Calibration Project In BES-3 Offline Software System

Muc Calibration Software The alignment of Muc / finished The R&D of calibration method / working on The Algorithms design / working on

Status of Database and Calibration Project In BES-3 Offline Software System TOF Calibration Software Flow

The database and calibration software was made a big progress in the last year. Calibration framework were released at the end of 2005 Sub-detector algorithm softwares are carrying out smoothly: MDC, dE/dx and TOF  released soon EMC and MUC  worked on Auto-job-submit-script: a very simple one-- finished Status of Database and Calibration Project In BES-3 Offline Software System Summary

In this year, we will have much works on the aboves (Algorithms modification, check with MC data … ) and the other Algorithms ( monitor programs, MDC D/H check …) should be considered soon. So we hope that more persons would join us! ---- Welcome! Status of Database and Calibration Project In BES-3 Offline Software System Summary

Thank you all !