Presentation is loading. Please wait.

Presentation is loading. Please wait.

BES III Software: Overview, Status and Plan Weidong Li Representing BES III Software Group BES Annual Meeting, Beijing 1 st June 2005.

Similar presentations


Presentation on theme: "BES III Software: Overview, Status and Plan Weidong Li Representing BES III Software Group BES Annual Meeting, Beijing 1 st June 2005."— Presentation transcript:

1 BES III Software: Overview, Status and Plan Weidong Li Representing BES III Software Group BES Annual Meeting, Beijing 1 st June 2005

2 29 May 2005Weidong LI2 Software Overview  Underlying framework GAUDI (originally developed by LHCb)  Simulation GEANT4  Other external LIBs: CERNLIB, CLHEP, ROOT, AIDA, XercesC, GDML …  Database: PGSQL MySQL  Software configuration management CMT and CVS  Computer language: C++ and Fortran  Reusing lots of code from Belle, Babar, ATLAS,GLAST …

3 29 May 2005Weidong LI3 BES III Data Flow

4 29 May 2005Weidong LI4 Event Data Conversion Services Algorithm A Algorithm B Algorithm C Data T1 Data T2, T3 Data T2 Data T3, T4 Data T4 Data T5 T1 T5 Real data flow Apparent data flow T2 T4 T3

5 29 May 2005Weidong LI5 Ascii Dump & Raw Data  Ascii Dump is a data format currently used as input to reconstruction algorithms and contains: Digits in MDC, TOF, EMC and MUC Hits in MDC, TOF, EMC and MUC MC truth information e.g. particle ID, tracks and vertices etc. Relationships between above three  Raw Data format was defined by DAQ group Byte stream data Mainly consists of detector identifiers, time channels, charge channels and status etc.  Converting Ascii Dump to Raw Data is done by a simple algorithm.

6 29 May 2005Weidong LI6 REC & DST Data TDedx TObject TRawData TRecEvent TMdcDigi TEmcTrack TTofDigi TEmcDigi TMucDigi TMdcTrack TTofTrack TMucTrack  ROOT REC Data contain both Digits and “Track Lists”  ROOT DST Data only have “Track Lists”  The associated RootDstCnvSvc was developed by SDU and Shuoping Wen.

7 29 May 2005Weidong LI7 Detector Description  Goals Single source of generic detector description information Independent of clients: simulation, reconstruction, event display etc. Not limited to geometrical information but also includes description of material Flexible and extensible description  New detector description ( Developed by PKU ) Full detector description instead of description of basic detector dimensions Using GDML syntax

8 29 May 2005Weidong LI8  Technology choice Based on ROOT Take ATLFast’s simple event display as a start point  Relationship with the Boss framework  Status The visualization of sub-detectors has been successfully implemented Both MDC hits and tracks can also be displayed. Event Display

9 29 May 2005Weidong LI9 Use of Legacy Fortran Code  BES has ~30 event generators written in Fortran  Use C++ Hepevt_Wrapper to access the kinematics information generated by the generator   Tester, Howl and Radee have been integrated with the framework   GENBES card is still needed for running simulation.

10 29 May 2005Weidong LI10 G4 Simulation Integration  Based on ATLAS software and major components include: G4SimAlg: takes care of initializing G4 properly and to simulate events G4Svc usually, only thing the user needs to talk to triggers G4SvcRunManager initialization, event processing loop and termination G4SvcRunManager inherits from G4RunManager extends functionality AthenaHepMCtoG4EventAction converts MonteCarlo event in Transient Event Store into a G4Event

11 29 May 2005Weidong LI11 Algorithm Developments Detector(s)Offline Algorithms Event Filter Algorithms MDC MdcPatRec Y. Zhang X. Y. Zhang (SDU) MdcTracking (based on Belle sw) S. L. Zang Y. Yuan MdcDedxAlg and KalFit D. Y. Wang MdcFastTrk X. M. Zhang MdcHough G. W. Yu X. F. Cheng (ZJU) TOF TofRec L. L. Jiang (USTC) Calorimeter EmcRec Z. Wang M. He C. X. Liu Muon Counter MucRec Z. Y. You Y. J. Mao (PKU) Other Algorithms T0 Calculation X. Ma Tack Extrapolation L. L. Wang

12 29 May 2005Weidong LI12 Calibration Status  Reusing GLAST calibration infrastructure   The following work is still in progress Development of calibration algorithms Format of calibration data that is output of calibration algorithms calibUtil interface Data (persistent)Metadata (persistent) Dead chns (XML) CAL calibs (ROOT) MySQL rdbms Write/register Search Read Signifies “uses” or “accesses”

13 29 May 2005Weidong LI13 Physics Analysis Software  Physics analysis tools Kinematics Fitting ( Telesis C++ implemented by SDU ) Vertex finding ( missing ) Particle Identification ( missing )  A possible design Physics Analysis Event Model Analysis Data Object (ADO) builder ADO Builder Event Selection DST objects Analysis Data objects

14 29 May 2005Weidong LI14 Event Selection Core Software  The “core” software is the “framework” part of the online event selection software  Goal Fast rejection and selection based on sequential steps and menus Runs within the Data Flow application - Event Filter Processing Task (EFPT) Makes substantial use of software developed in ‘offline’ project  Status Steering and Steering Controller (SC) prototypes that control the selection of events in sequential steps ( implemented by R. Tang and SDU based on ATLAS HLT’s scheme ) The Steering was tested in the online environment Data Flow EFPT Steering Controller(SC) Event Selection Software   Data Flow components (like EFPT) belong to online DAQ domain.   EFPT controls SC like a state machine   SC returns event decision and error conditions to EFPT

15 29 May 2005Weidong LI15  Tracking algorithms Perform Fast track finding and fitting in the MDC implemented candidates MdcHough MdcFastTrk ( segments -> tracks )  EMC clustering algorithm  Combined builder Track-cluster matching Initial track finding: use a LUT-based Hough Transform. Local maximum finding: select good track candidates. Track splitting: removes hits incorrectly assigned to a track Final selection: selects final track candidates. Feature Extraction Algorithms Pt = 1.5 GeV single μ σ Pt = 0.08 GeV

16 29 May 2005Weidong LI16 Areas where work is needed  Analysis software development Particle identification Vertex finding  Calibration algorithms and detector alignment services  Trigger simulation  Performance studies Efficiency and resolution Algorithms’ benchmarking and profiling Any memory leakage  Cavern backgrounds and realistic detector simulation  Geometry services migrate to new detector description

17 29 May 2005Weidong LI17 Release Status  Boss alpha release integration with BOOST simulation ( done ) Running the reconstruction chain for MDC, TOF, EMC and MUC can be achieved in the Boss Gaudi framework. ( done ) EDM for both Raw Data and reconstructed data developed. Completion of fully functional Event Data I/O. ( done ) Status: published  2005-10-30 Boss beta release Simulation and reconstruction chain functions reasonably well and can successfully process several thousand events. Common physics analysis tools and utilities available. Physics study in Boss can start.

18 29 May 2005Weidong LI18 Management Issue   WBS has been prepared Break down into 250 tasks   Offline Software QA document He Kanglin

19 29 May 2005Weidong LI19 Summary/Outlook  A tremendous amount of progress in the past year: Lots of developments in the framework core software including event I/O, event data model, data management, detector description, event display and software integration etc. Both simulation and reconstruction are in good shape  Performance of reconstruction algorithms is critical to the upcoming beta release  Another major focus is the physics analysis software and calibration algorithms  More and more coordination is required in software testing,validation, integration and release publication.

20 29 May 2005Weidong LI20


Download ppt "BES III Software: Overview, Status and Plan Weidong Li Representing BES III Software Group BES Annual Meeting, Beijing 1 st June 2005."

Similar presentations


Ads by Google