1 / 21

The AliRoot framework, status and perspectives

The AliRoot framework, status and perspectives . R.Brun, P.Buncic, F.Carminati, A.Morsch, F.Rademakers, K.Safarik for the ALICE Collaboration CHEP 2003 La Jolla, March 24-28, 2003. Alice collaboration. online system multi-level trigger filter out background reduce data volume.

margo
Download Presentation

The AliRoot framework, status and perspectives

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. The AliRoot framework, status and perspectives R.Brun, P.Buncic, F.Carminati, A.Morsch, F.Rademakers, K.Safarik for the ALICE Collaboration CHEP 2003 La Jolla, March 24-28, 2003

  2. Alice collaboration online system multi-level trigger filter out background reduce data volume Total weight 10,000t Overall diameter 16.00m Overall length 25m Magnetic Field 0.4Tesla 8 kHz (160 GB/sec) level 0 - special hardware 200 Hz (4 GB/sec) level 1 - embedded processors 30 Hz (2.5 GB/sec) level 2 - PCs 30 Hz (1.25 GB/sec) data recording & offline analysis CHEP 2003, La Jolla

  3. ROOT Framework • 129k binaries download • 1M clicks per month • 30k docs in 12 months • 2.2k users in roottalk kinematics in C++ Geant3 Alice Geometry in C++ Hits Digits ROOT Trees Strategic decision in 1998 Geant3, PAW FORTRAN Hits Zebra/RZ/FZ CHEP 2003, La Jolla

  4. Physics results C++ macro C++ macro C++ macro Root tracks Root digit structures Root hits structures ROOT data visualisation AliRoot evolution schema Alice Offline Framework Root output file CHEP 2003, La Jolla

  5. Framework • AliRoot framework • C++: 400kLOC + 225kLOC (generated) + macros: 77kLOC • FORTRAN: 13kLOC (ALICE) + 914kLOC (external packages) • Maintained on Linux (any version!), HP-UX, DEC Unix, Solaris • Works also with Intel icc compiler • Two packages to install (ROOT+AliRoot) + MC’s • Less that 1 second to link (thanks to 37 shared libs) • 1-click-away install: download and make (non-recursive makefile) • AliEn • 25kLOC of PERL5 (ALICE) • ~2MLOC mostly PERL5 (opens source components) • Installed on almost 50 sites by physicists • >50 users develop AliRoot from detector groups • 70% of code developed outside, 30% by the core Offline team CHEP 2003, La Jolla

  6. AliRoot layout G4 G3 FLUKA ISAJET HIJING AliRoot AliEn Virtual MC EVGEN MEVSIM HBTAN STEER PYTHIA6 PDF PMD EMCAL TRD ITS PHOS TOF ZDC RICH HBTP STRUCT CRT START FMD MUON TPC RALICE ROOT CHEP 2003, La Jolla

  7. Class 1 Class 2 Class 8 Class 3 Class 7 Class 4 Class 6 Class 5 Whiteboard Data Communication CHEP 2003, La Jolla

  8. Geant3.tar.gz includes an upgraded Geant3 with a C++ interface Geant4_mc.tar.gz includes the TVirtualMC <--> Geant4 interface classes G3 G3 transport User Code VMC G4 G4 transport FLUKA transport FLUKA Reconstruction Geometrical Modeller Visualisation Generators The Virtual MC • OPERA • Neutrino oscillations, international collaboration • CBM • Future nucleus-nucleus collision program GSI, Darmstadt • Considering of building simulation based on VMC • Indicated as a technology of choice by the LHC Simulation Project CHEP 2003, La Jolla

  9. 3 million volumes ALICE CHEP 2003, La Jolla

  10. Performance & Checks Detected Not detected CHEP 2003, La Jolla

  11. FLUKAM TVirtualMCApplication CASCADE TVirtualMCStack TFluka SOURCE MAGFLD AliMagF ENDRAW MGDRAW COMMON /TRACKR/ CHEP 2003, La Jolla

  12. CHEP 2003, La Jolla

  13. Period (milestone) Fraction of final capacity (%) Physic objectives 06/01-12/01 1% Pp studies, TPC and ITS reconstruction 06/02-12/02 5% First test of the complete chain from simulation to analysis for the PPR. Simple analysis tools. Digits in ROOT format. 01/04-06/04 10% Compledte chain used for trigger studies. Prototype of analysis tools. Comparisons with parametrised MC. Simulated raw data. 01/06-06/06 20% Test of the final system for reconstruction and analysis. ALICE Physics Data Challenges • Verify model and computing framework • Reduce the “technological risk” • Understand physics potentialities of the detector • Prepare code for simulation, reconstruction and analysis CHEP 2003, La Jolla

  14. OSU/OSC LBL/NERSC Dubna Birmingham NIKHEF Saclay GSI Nantes CERN Padova Merida IRB Bologna Lyon Torino Bari Cagliari Yerevan Catania Kolkata, India Capetown, ZA AliEn progress 32 (was 28) sites configured 5 (was 4) sites providing mass storage 12 production rounds 22773 jobs validated, 2428 failed (10%) Up to 450 concurrent jobs 0.5 operators CHEP 2003, La Jolla

  15. AliEn stack iVDGL stack EDG stack S.Bagnasco DataTAG AliEn as a meta-GRID AliEn User Interface CHEP 2003, La Jolla

  16. Kernel Space Linux File System Kernel /alien/ User Space ******************************************* * * * W E L C O M E to R O O T * * * * Version 3.03/09 3 December 2002 * * * * You are welcome to visit our Web site * * http://root.cern.ch * * * ******************************************* Compiled for linux with thread support. CINT/ROOT C/C++ Interpreter version 5.15.61, Oct 6 2002 Type ? for help. Commands must be C++ statements. Enclose multiple statements between { }. root [0]newanalysis->Submit(); VFS alice/ atlas/ AliEn API ? AliEnFS Query for Input Data LUFS prod/ data/ mc/ a/ b/ Analysis Macro soap:// root:// MSS MSS MSS MSS castor:// CE root:// CE root:// MSS https:// CE MSS MSS MSS MSS MSS CE CE merged Trees +Histograms AliEnFS & Distributed Analysis CHEP 2003, La Jolla

  17. stdout/obj 32 Itanium II 2x1GHz, 2 GB RAM, 2x75GB 15K SCSI, Fast/GB Eth proof ana.C proof TFile TFile TFile proof TNetFile proof proof proof = master server proof = slave server Parallel Analysis of Event Data #proof.conf slave node1 slave node2 slave node3 slave node4 Local PC Remote PROOF Cluster root *.root node1 ana.C *.root $ root root [0] tree->Process(“ana.C”) root [1] gROOT->Proof(“remote”) root [2] dset->Process(“ana.C”) $ root root [0] tree.Process(“ana.C”) $ root $ root root [0] tree.Process(“ana.C”) root [1] gROOT->Proof(“remote”) node2 *.root node3 *.root CHEP 2003, La Jolla node4

  18. Software Development Process • ALICE opted for a light core CERN offline team… • Concentrate on framework, software distribution and maintenance • …plus 10-15 people from the collaboration • GRID coordination (Torino), World Computing Model (Nantes), Detector Database (Warsaw) • A development cycle adapted to ALICE has been elaborated • Developers work on the most important feature at any moment • A stable production version exists • Collective ownership of the code • Flexible release cycle and simple packaging and installation • Micro-cycles happen continuously • 2-3 macro-cycles per year • Discussed & implemented at Off-line meetings and Code Reviews • Corresponding to major code releases • We have high-level milestones for technology and physics • Computing Data Challenges test technology and integration DAQ – Off-line • Physics Data Challenges test the Off-line from the user viewpoint CHEP 2003, La Jolla

  19. AliRoot maintenance • Regular release schedule • One major release every six months • One minor release (tag) every month • Continuous maintenance and support • Very few bugs in the production release because the development version is always available • Emphasis on delivering production code • Corrections, protections, code cleaning, geometry • Nightly produced UML diagrams, code listing, coding rule violations, build and tests • One single repository with production and development code CHEP 2003, La Jolla

  20. ROOT, ALICE & LCG • LCG is the LHC Computing Project • The objective is to build the computing environment for LHC • ALICE has lobbied strongly to base the LCG project on ROOT and AliEn • The choice of the other experiments is to establish a client-provider relationship with ROOT • While developing alternatives for some of existing ROOT elements or hiding them behind abstract interfaces • And to use the result of GRID MiddleWare projects • ALICE has expressed its worries • Little time to develop and deploy a new system • Duplication and dispersion of efforts • Divergence with the rest of the HEP community • ALICE will continue to develop its system • And to provide basic technology, i.e. VMC and geometrical modeller • … and it will try to collaborate with LCG wherever possible CHEP 2003, La Jolla

  21. Conclusions • ALICE has solutions that are evolving into a solid computing infrastructure • Major decisions have been taken and users have adopted them • Collaboration between physicists and computer scientists is excellent • The tight integration with ROOT allows a fast prototyping and development cycle • AliEn provides a complete GRID solution adapted to HEP needs and it allowed us large productions with very few people “in charge” • Many ALICE-developed solutions have a high potential to be adopted by other experiments and become “common solutions” CHEP 2003, La Jolla

More Related