Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 CMS Software Physics Analysis in a Brave New Woorld Vincenzo Innocente.

Slides:



Advertisements
Similar presentations
Use of G EANT 4 in CMS AIHENP’99 Crete, April 1999 Véronique Lefébure CERN EP/CMC.
Advertisements

Vincenzo Innocente, BluePrint RTAGNuts & Bolts1 Architecture Nuts & Bolts Vincenzo Innocente CMS.
Types of Data SimTracks: generated particles SimHits: energy depositions in a detector volume Digis: Single-channel pieces of the detector’s raw binary.
Core Application Software Activities Ian Fisk US-CMS Physics Meeting April 20, 2001.
Stephan Wynhoff, Princeton: FAMOS – fast simulation and reconstruction for CMS CHEP 2003 Stephan Wynhoff – Princeton University FAMOS A dynamically configurable.
ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT) 1 Simulation Framework and XML Detector Description for the CMS Experiment ARCE Pedro.
ACAT Lassi A. Tuura, Northeastern University CMS Data Analysis Current Status and Future Strategy On behalf of CMS.
Lucia Silvestris, INFN Bari and CERN/CMC Status Report on CPT Project 23 March 2001, CERN Meeting del Consorzio INFN Status Reports on CPT Project, on.
CHEP `03 March 24, 2003 Vincenzo Innocente CERN/EP CMS Data Analysis: Present Status, Future Strategies Vincenzo.
Large scale data flow in local and GRID environment V.Kolosov, I.Korolko, S.Makarychev ITEP Moscow.
FULL CHAIN SIMULATION of CMS DETECTOR Ijaz Ahmed National centre for Physics, Islamabad.
SCRAM Software Configuration, Release And Management Background SCRAM has been developed to enable large, geographically dispersed and autonomous groups.
Framework for Automated Builds Natalia Ratnikova CHEP’03.
Dave Newbold, University of Bristol24/6/2003 CMS MC production tools A lot of work in this area recently! Context: PCP03 (100TB+) just started Short-term.
Introduzione al Software di CMS N. Amapane. Nicola AmapaneTorino, Aprile Outline CMS Software projects The framework: overview Finding more.
Outline What is IGUANA IGUANA and Other Projects Architecture Framework ORCA Visualisation IGUANA at D0 GEANT4 Visualisation OSCAR Visualisation DDD Visualisation.
Alignment Strategy for ATLAS: Detector Description and Database Issues
Offline Coordinators  CMSSW_7_1_0 release: 17 June 2014  Usage:  Generation and Simulation samples for run 2 startup  Limited digitization and reconstruction.
Computing in CMS May 24, 2002 NorduGrid Helsinki workshop Veikko Karimäki/HIP.
Finnish DataGrid meeting, CSC, Otaniemi, V. Karimäki (HIP) DataGrid meeting, CSC V. Karimäki (HIP) V. Karimäki (HIP) Otaniemi, 28 August, 2000.
David N. Brown Lawrence Berkeley National Lab Representing the BaBar Collaboration The BaBar Mini  BaBar  BaBar’s Data Formats  Design of the Mini 
ATLAS and GridPP GridPP Collaboration Meeting, Edinburgh, 5 th November 2001 RWL Jones, Lancaster University.
5 May 98 1 Jürgen Knobloch Computing Planning for ATLAS ATLAS Software Week 5 May 1998 Jürgen Knobloch Slides also on:
Fabiola Gianotti, 31/8/’99 PHYSICS and SOFTWARE ATLAS Software Week 31/8/’99 Fabiola Gianotti Software requirements of physics groups What should Detector.
CMS pixel data quality monitoring Petra Merkel, Purdue University For the CMS Pixel DQM Group Vertex 2008, Sweden.
ATLAS Data Challenges US ATLAS Physics & Computing ANL October 30th 2001 Gilbert Poulard CERN EP-ATC.
CMS Computing and Core-Software USCMS CB Riverside, May 19, 2001 David Stickland, Princeton University CMS Computing and Core-Software Deputy PM.
Introduction CMS database workshop 23 rd to 25 th of February 2004 Frank Glege.
Introduction to CMSSW Framework Concepts Simulation & Reconstruction Liz Sexton-Kennedy January 10, 2008.
GDB Meeting - 10 June 2003 ATLAS Offline Software David R. Quarrie Lawrence Berkeley National Laboratory
The CMS Simulation Software Julia Yarba, Fermilab on behalf of CMS Collaboration 22 m long, 15 m in diameter Over a million geometrical volumes Many complex.
June 29, 2000DOE/NSF USCMS Computing and Software Report. HLT Studies D. Acosta1 High-Level Trigger Studies Darin Acosta University of Florida DOE/NSF.
0 Fermilab SW&C Internal Review Oct 24, 2000 David Stickland, Princeton University CMS Software and Computing Status The Functional Prototypes.
Introduction What is detector simulation? A detector simulation program must provide the possibility of describing accurately an experimental setup (both.
Integration of the ATLAS Tag Database with Data Management and Analysis Components Caitriana Nicholson University of Glasgow 3 rd September 2007 CHEP,
Computing R&D and Milestones LHCb Plenary June 18th, 1998 These slides are on WWW at:
23/2/2000Status of GAUDI 1 P. Mato / CERN Computing meeting, LHCb Week 23 February 2000.
Claudio Grandi INFN-Bologna CHEP 2000Abstract B 029 Object Oriented simulation of the Level 1 Trigger system of a CMS muon chamber Claudio Grandi INFN-Bologna.
5 Novembre 2001 Vincenzo Innocente AFT Agenda 1 AFT Tasks l Architecture l Framework l Framework specializations l Utility Toolkit l Graphics tools l Data.
Large scale data flow in local and GRID environment Viktor Kolosov (ITEP Moscow) Ivan Korolko (ITEP Moscow)
USCMS Physics, May 2001Darin Acosta1 Status Report of PRS/  D.Acosta University of Florida Current U.S. activities PRS/  Activities New PRS organization.
INFSO-RI Enabling Grids for E-sciencE Using of GANGA interface for Athena applications A. Zalite / PNPI.
Vincenzo Innocente, CERN/EPUser Collections1 Grid Scenarios in CMS Vincenzo Innocente CERN/EP Simulation, Reconstruction and Analysis scenarios.
The MEG Offline Project General Architecture Offline Organization Responsibilities Milestones PSI 2/7/2004Corrado Gatto INFN.
Overview of PHENIX Muon Tracker Data Analysis PHENIX Muon Tracker Muon Tracker Software Muon Tracker Database Muon Event Display Performance Muon Reconstruction.
7 Feb 2000CHEP '00. CMS/ORCA. Abstract A108. D.Stickland1 Object Reconstruction for CMS Analysis The Design Implementation and Deployment of a Functional.
Geant4 User Workshop 15, 2002 Lassi A. Tuura, Northeastern University IGUANA Overview Lassi A. Tuura Northeastern University,
CPT Week, November , 2002 Lassi A. Tuura, Northeastern University Core Framework Infrastructure Lassi A. Tuura Northeastern.
UK LVL1 Meeting, RAL, 31/01/00Alan Watson 1 ATLAS Trigger Simulations Present & Future? What tools exist? What are they good for? What are the limitations?
USCMS May 2002Jim Branson 1 Physics in US CMS US CMS Annual Collaboration Meeting May 2002 FSU Jin Branson.
Hans Wenzel CDF CAF meeting October 18 th -19 th CMS Computing at FNAL Hans Wenzel Fermilab  Introduction  CMS: What's on the floor, How we got.
Vincenzo Innocente, CERN/PH Core Application Software 30 November 2004, Minsk CMS RDMS Conference CMS Core Software for Physics Applications Vincenzo Innocente.
CMS TRACKER VISUALISATION TOOLS M.S. MENNEA, a G. ZITO, a A. REGANO a AND I. OSBORNE b a Dipartimento Interateneo di fisica di Bari & INFN sezione di Bari,
Introduction to FCC Software FCC Istanbul 11 March, 2016 Alice Robson (CERN/UNIGE) on behalf of / with thanks to the FCC software group.
Simulation Production System Science Advisory Committee Meeting UW-Madison March 1 st -2 nd 2007 Juan Carlos Díaz Vélez.
VI/ CERN Dec 4 CMS Software Architecture vs Hybrid Store Vincenzo Innocente CMS Week CERN, Dec
Analysis Model Zhengyun You University of California Irvine Mu2e Computing Review March 5-6, 2015 Mu2e-doc-5227.
1 GlueX Software Oct. 21, 2004 D. Lawrence, JLab.
Monthly video-conference, 18/12/2003 P.Hristov1 Preparation for physics data challenge'04 P.Hristov Alice monthly off-line video-conference December 18,
Migration of reconstruction and analysis software to C++
The ZEUS Event Store An object-oriented tag database for physics analysis Adrian Fox-Murphy, DESY CHEP2000, Padova.
US ATLAS Physics & Computing
(CMS GEANT4 simulation)
Vincenzo Innocente CERN/EP/CMC
Pedro Arce (CERN/CIEMAT)
DQM for the RPC subdetector
Simulation and Physics
Mantis a framework and toolkit for Geant4 simulation in CMS
Use of GEANT4 in CMS The OSCAR Project
CMS Software Architecture
Presentation transcript:

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 CMS Software Physics Analysis in a Brave New Woorld Vincenzo Innocente (original form Stephan Wynhoff) Introduction for Summer Students, 13 th July 2004

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 Overview Not a talk to describe why things are the way they are 1. The main projects and tools 2. The role of the central framework, the persistent store 3. A glance on how to use it COBRA IGUANA ORCAFAMOS LCG/AA OSCAROVALSCRAM IGUANACMS IGNOMINY

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 Challenges: Geographical Spread 1700 Physicists 150 Institutes 32 Countries (and growing!) CERN state 55 % NMS 45 % Major challenges associated with: Communication and collaboration at a distance Distributed computing resources Remote software development and physics analysis

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 Tier 1 Tier2 Center Online System Offline Farm, CERN Computer Ctr > 20 TIPS FNAL Center IN2P3 Center INFN Center RAL Center Institute Institute ~0.25TIPS Workstations ~100 MBytes/sec ~2.5 Gbits/sec Mbits/sec Physics data cache ~Pbyte/sec ~2.5 Gbits/sec Tier2 Center ~622 Mbits/sec Tier 0 +1 Tier 3 Tier 4 Tier2 Center Tier 2 Experiment Software to ● keep the systems running ● distribute data & jobs ● simulation, reconstruction, analysis CMS Computing Model

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 (Some of the) Major Challenges for LHC SW ● Events are big (raw event is 1MB, with Monte-Carlo 2MB) ● Detector digitization has to take into account multiple crossings ● 34 = 17 minimum bias events/crossing ● Calorimetry needs -5 to +3 crossings ● Muon DT ought to have crossings ● Tracker loopers can persist for many crossings ● Typically need info from ~ 200 mb events per signal event ● Study at different luminosities infers different pileup ● include pileup in digitization (front end of reconstruction) ● Track finding in very complex environment ● High magnetic field and ~ 1 rad length of tracker material: ● Lots of bremsstrahlung for the electrons, ● TK-ECAL matching non-trivial

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 H  ZZ   ee event with M H = 300 GeV cm -2 s cm -2 s cm -2 s cm -2 s -1

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 Pileup ● For 1 million Signal events need 200 million min bias events ● Impossible with current CPU, storage etc ● Solution is to sample a finite number pseudo-randomly ● Problems can come when one single mb event by itself would trigger the detector ● You would get this trigger many many times ● Filter the minimum bias events, but remember to take into account the removed events ● must sample from full range of mb events to ensure patterns do not repeat too often ● 200mb events = 70MB ● massive data movement problem ● Pileup is CPU intensive

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 Simulation, Reconstruction, Analysis Monte-Carlo generator Ntuple Zebra FZ CMSIM CMSjet User Analysis Monte-Carlo generator OODB OSCAR ORCA User Analysis FAMOS

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 OSCAR HEPEVT Ntuple ORCA OODB minbias OODB signal OODB Digis SimReaderRecReader MC generator CMKIN Production User The Analysis Chain Generation Simulation Digitization Reconstruction OODB SimHits Analysis OODB RecObs (DST) Histo

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 Simulation ● Understand detector response ● optimise geometry ● set-up, test alignment ● understand signal and background topologies ● feasibility studies of analyses ● optimise trigger ● optimise physics selections ● Mainly FORTRAN (some non-standard) ● use GEANT3, Zebra ● (almost) out of use ● OO design ● use GEANT4 ● integrated with CMS software (COBRA) Tasks CMSIM OSCAR

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 OSCAR in 2004 Official Simulation Production Program ● Create and write to OO database and read with ORCA ● User Interface (.orcarc) compatible with ORCA ● Performance: ● Cuts per volume with same values as in CMSIM ● Magnetic field tracking tuned  Two times slower than CMSIM (133) Released version Capabale of simulating several million events.

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 OSCAR Information ● Albert De Roeck et al. ● ● ● Meetings: SPROM = Simulation PROject Management every 2 weeks Monday 16:30h in 40-2A-01

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 Detector Description DataBase

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 DDD Information ● Michael Case ● ●

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 Geometry ● Collects XML description of the CMS detector ● Materials ● Positions ● (cuts for OSCAR) ● Contact: Pedro Arce ● CMSIM 133 Geometry 182

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 Reconstruction ● Combination of Signal & Pile-up events ● Detector digitisation ● (this is the stuff that comes out of the detector) ● Reconstruction of detector and simple objects ● Tracks, Clusters, Vertices ● Reconstruction of physics objects ● Jets, Electrons, Photons, Muons ● Simulation of L1 Trigger decisions ● The Higher Level Trigger algorithms

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 Digitisation and Pileup ● High luminosity -> 17 minimum bias events in one bunch crossing ● Overlay crossings -5 to +3 ● 200 min.bias for 1 signal event ● "recycle" min.bias events

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 Stages of Reconstruction SimHits Produced by Geant, stored in DB Digis Include Pileup, some stored in DB (Tk) RecHits Pre-processed digits, some stored in DB (Calo) RecObj Tracks,Clusters etc, some stored in DB 4vectors Produced by MC stored in Ntuple

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 ORCA ● the flagship OO software project ● started in Sept ● currently in eighth major release (8.2.0) ● widely used by physicists ● HLT studies ● DAQ TDR ● Physics TDR ● DC04 ● not everything can be stored in the database ● Storing with POOL root-streaming ● a prototype is not a final product

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 ORCA Applications Fully embedded in COBRA framework, currently: 1. G3Reader (Also called ooHits) 1. Read cmsim fz files 1. Write cmsim hits to Db 2. SimReader (also called ooDigi) 1. Pileup arbitrary numbers of crossings pseudo-randomly 2. Full digitization 1. persistent storage of results 3. RecReader _ Read and write Digis and RecObj (DST) 1. Calorimetric clustering 2. Jet finding (with any types of objects) 3. Muon Segment and track finding 4. Track finding 5. Primary vertices

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 ORCA Project Structure

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 ORCA Information ● Stephan Wynhoff et al. ● ● ● Meetings: RPROM = Reconstruction PROject Management every 2 weeks Monday 16:30h in 40-2A-01

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 COBRA CMS Analysis and Reconstruction Framework ● Glue it all together ● Insulate user code from services ● Manage persistent data transparently ● user code does not see any ROOT/IO related code ● Manage Collections, Runs etc ● Manage the order of reconstruction ● Ensure a uniform interface to all CMS code

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 Federation wizards Detector/Event Display Data Browser Analysis job wizards Generic analysis Tools ORCA FAMOS LCG tools GRID OSCAR COBRA Distributed Data Store & Computing Infrastructure CMStools Architecture Overview Consistent User Interface Coherent set of basic tools and mechanisms Software development and installation

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 COBRA Components ODBMS (POOL) Geant3/4 SEAL CLHEP ROOT C++ standard library Extension toolkit Reconstruction Algorithms Data Monitoring Event Filter Physics Analysis Calibration Objects Event Objects Generic Application Framework Physics modules Utility Toolkit Specific Framework CMS adapters and extensions Configuration Objects Geometry Objects GRID tools

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 Persistent Store ● CMS data taking, Simulation, Selection, Calibration, Analysis etc modules need to communicate with each other via a shared event store ● The persistent store – use POOL (from LCG) ● We try to use a single store for everything ● In the past, very few people actually made persistent objects ● zebra banks for example ● We hope to give that ability to “everyone” ● It is a bit complicated :-) ● Most people used existing persistent objects, analyzed them and then worked via an Ntuple to do their final analysis ● But how many times have you been in the middle of doing that when your Ntuple became invalidated by a new calibration? ● How much nicer would it be to have full access to the event from your Ntuple so you could quickly apply a new calibration?

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 COBRA Information ● Vincenzo Innocente et al. ● ●

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 IGUANA ● browse federations ● display stored histograms ● event display

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 OSCAR Visualization Interactive Geant4 3D CMS detector geometry: physical volume tree; Interactive overlap detection: find overlaps and show result details in list.

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 ORCA Visualization Interactive 3D CMS detector geometry (Geant3) for sensitive volumes with levels of details; Interactive 3D reps of reconstructed and simulated events including visualisation of physics quantities such as tangent of a simhit; Access event by event or automatically fetching events (no batch mode); Event and run number displayed. Interactive 3D CMS detector geometry (Geant3) for sensitive volumes with levels of details; Interactive 3D reps of reconstructed and simulated events including visualisation of physics quantities such as tangent of a simhit; Access event by event or automatically fetching events (no batch mode); Event and run number displayed. Multiple (cloned) views; Slices and cuts; Printout for selected object; Zoom and search; Context help; Viewpoints.

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 IGUANA Information ● Lucas Taylor, Ianna Osborne, Lassi Tuura ● ●

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 Fast MonteCarlo Simulation ● FAMOS for OSCAR ● less geometry volumes ● less detailed GEANT4 options ● FAMOS for ORCA ● faster algorithms ● FAMOS for ORCA ● simple parametrisation of resolutions & efficiencies ● tuned to full simulation/reconstruction Working for all sub-detectors, soon also for HTL MC 4-vector SimHit RecHit / Digi Analysis obj sec 1-10 sec sec

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 FAMOS Information ● Patrick Janot ● ●

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 Project Relations ● All Projects listed on COBRA IGUANA ORCA FAMOS LCG/AA OSCAR IGUANACMS IGNOMINY 1.9.0

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 External Projects

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 SCRAM ● manage our code building and configuration (more reproducable than make and autoconf ) ● typical commands are ● scram list This gets the list of all the current code releases known to scram ● scram project ORCA ORCA_8_2_0 This gets scram to create a local area for you that contains all the directories and configuration files you will need in order to work with this release of ORCA ● eval `scram runtime -csh` set required environment variables ● scram b This gets scram to compile and/or link the code ● Information ● Shaun Ashby ● ●

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 Varia ● CVS ● that is where the code is stored ● maintains many versions of one file ● full history, parallel development ● OVAL ● tool to automatize validation ● Ecole Polytechnique ● ● Savannah ● Feature (bug) reporting system ●

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 Pure C++ ● We work entirely in C++ ● You can use any standard tools of C++ ● COBRA pins DB objects in memory for duration of event ● You access C++ objects ● The fact that they may have be transient or in the DB is invisible to you ● This is true for most “developer” code and all “user” code ● Direct ROOT usage only for very private code ● Avoid it if you think your code will ever become official ● You can change local copies of the data, but you can’t unconsciously change persistent data even as viewed by another module in this reconstruction job.

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 Generic WWW ● Main CMS page ● Public relations ● OO software ● Finding MC events (very little for ORCA-7) ● PRS groups ● meetings every 2 nd Tuesday/Wednesday

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 CMS Software ● There is much that will be very new ● But you should be able to quickly do the things you were used to do ● And the future possibilities are exciting and can offer you and CMS a significant advantage to get at the Physics first. ● C++/OO code can be hard to understand ● Not everything works as intended! ● Be a little patient also, sometimes the thing that seems to you the highest requirement may have not yet reached the top of the stack. ● All meetings RPROM, SPROM, PRS are open to all and video-conferenced at times that, while not always convenient, are not impossible for most time-zones ● Everyone has a steep learning curve to follow ● Use the documentation tools ● Ask people, they want to help

Vincenzo Innocente: CMS Software Introduction for Summer Students, 13 th July 2004 Summary ● LHC is extremly demanding on software ● Object Oriented techniques will help in answering that challenge ● CMS is well advanced deploying Tools for Simulation, Reconstruction and Analysis ● Physicists can work successfully with the Software ● Summer Students can contribute! New Woorld for the Brave Brave New Woorld