1 / 20

BES III Software: Overview, Status and Plan

BES III Software: Overview, Status and Plan. Weidong Li Representing BES III Software Group BES Annual Meeting, Beijing 1 st June 2005. Software Overview. Underlying framework GAUDI (originally developed by LHCb) Simulation GEANT4 Other external LIBs:

idalia
Download Presentation

BES III Software: Overview, Status and Plan

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


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

  2. 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 … Weidong LI

  3. BES III Data Flow Weidong LI

  4. Event Data Conversion Services Real data flow T1 Apparent data flow Algorithm A Data T1 Data T2, T3 T2 T3 Data T2 Algorithm B Data T4 T4 Data T3, T4 Algorithm C Data T5 T5 Weidong LI

  5. 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. Weidong LI

  6. REC & DST Data TObject • 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. TRawData TRecEvent TMdcDigi TMdcTrack TTofDigi TTofTrack TEmcTrack TEmcDigi TMucDigi TMucTrack TDedx Weidong LI

  7. 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 Weidong LI

  8. Event Display • 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. Weidong LI

  9. 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. Weidong LI

  10. 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 Weidong LI

  11. Algorithm Developments Weidong LI

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

  13. Event Selection ADO Builder 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 DST objects Analysis Data objects Weidong LI

  14. Data Flow EFPT Steering Controller(SC) Event Selection Software Event Selection Core 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 • 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 Weidong LI

  15. Feature Extraction Algorithms • 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. • 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 Pt = 1.5 GeV single μ σPt = 0.08 GeV Weidong LI

  16. 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 Weidong LI

  17. 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. Weidong LI

  18. Management Issue • WBS has been prepared • Break down into 250 tasks • Offline Software QA document He Kanglin Weidong LI

  19. 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. Weidong LI

  20. Thank you ! Weidong LI

More Related