CMS Full Simulation for Run-2 M. Hildrith, V. Ivanchenko, D. Lange CHEP'15 1.

Slides:



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

Simulation Project Major achievements (past 6 months 2007)
Upgrading the CMS simulation and reconstruction David J Lange LLNL April CHEP 2015D. Lange.
Ties Behnke, Vasiliy Morgunov 1SLAC simulation workshop, May 2003 Pflow in SNARK: the next steps Ties Behnke, SLAC and DESY; Vassilly Morgunov, DESY and.
In order to acquire the full physics potential of the LHC, the ATLAS electromagnetic calorimeter must be able to efficiently identify photons and electrons.
Evaluation of G4 Releases in CMS (Sub-detector Studies) Software used Electrons in Tracker Photons in the Electromagnetic Calorimeter Pions in the Calorimeter.
Framework for track reconstruction and it’s implementation for the CMS tracker A.Khanov,T.Todorov,P.Vanlaer.
I have made the second half of the poster, first half which is made by tarak will have neutrino information. A patch between the two, telling why we do.
1 HCAL Upgrade TP simulation studies Jane Nachtman (Iowa) – for the HCAL group Trigger Upgrade meeting April 28, 2010.
ALCPG Simulation Status and Plans ACFA LC Workshop, Taipei Nov. 10, 2004 Norman Graf (SLAC)
Tracking at LHCb Introduction: Tracking Performance at LHCb Kalman Filter Technique Speed Optimization Status & Plans.
Geant4 Acceptance Suite for Key Observables CHEP06, T.I.F.R. Mumbai, February 2006 J. Apostolakis, I. MacLaren, J. Apostolakis, I. MacLaren, P. Mendez.
Readiness of CMS Simulation towards LHC Startup Outline  Introduction  Framework and Interface with GEANT4  Detector specific components  How have.
Irakli Chakaberia Final Examination April 28, 2014.
Offline Coordinators  CMSSW_7_1_0 release: 17 June 2014  Usage:  Generation and Simulation samples for run 2 startup  Limited digitization and reconstruction.
The Forward Liquid Argon Calorimeter of the ATLAS Detector Geant4 Workshop' September. Triumf, Vancouver Patricia Méndez Lorenzo. CERN EP/SFT 1.
2004 Xmas MeetingSarah Allwood WW Scattering at ATLAS.
David N. Brown Lawrence Berkeley National Lab Representing the BaBar Collaboration The BaBar Mini  BaBar  BaBar’s Data Formats  Design of the Mini 
0 Status of Shower Parameterisation code in Athena Andrea Dell’Acqua CERN PH-SFT.
Geant4 Event Biasing Marc Verderi, LLR (Heavily copied from Jane Tinslay, SLAC) June 2007.
Detector Simulation on Modern Processors Vectorization of Physics Models Philippe Canal, Soon Yung Jun (FNAL) John Apostolakis, Mihaly Novak, Sandro Wenzel.
CHEP06, Mumbai-India, Feb 2006V. Daniel Elvira 1 The CMS Simulation Validation Suite V. Daniel Elvira (Fermilab) for the CMS Collaboration.
Event Reconstruction in SiD02 with a Dual Readout Calorimeter Detector Geometry EM Calibration Cerenkov/Scintillator Correction Jet Reconstruction Performance.
1 Status and Plans for Geant4 Physics Linear Collider Simulation Workshop III 2-5 June 2004 Dennis Wright (SLAC)
Kati Lassila-Perini/HIP HIP CMS Software and Physics project evaluation1/ Electron/ physics in CMS Kati Lassila-Perini HIP Activities in the.
SiD performance for the DBD Jan Strube CERN. Overview Software Preparation (CERN, SLAC) Machine Environment (CERN, SLAC) Tracking Performance (C. Grefe)
1 Calorimetry Simulations Norman A. Graf for the SLAC Group January 10, 2003.
Status of ATLAS Liquid Argon Calorimeter Simulations With GEANT4 G. Azuelos , A. Chekhtman , J. Dodd , A. Kiryunin , M. Leltchouk , R. Mazini , G.
Feb. 7, 2007First GLAST symposium1 Measuring the PSF and the energy resolution with the GLAST-LAT Calibration Unit Ph. Bruel on behalf of the beam test.
Detector Monte-Carlo ● Goal: Develop software tools to: – Model detector performance – Study background issues – Calculate event rates – Determine feasibility.
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.
Introduction What is detector simulation? A detector simulation program must provide the possibility of describing accurately an experimental setup (both.
Alex Howard, ETH, Zurich 13 th September 2012, 17 th Collaboration Meeting, Chartres 1 Geometrical Event Biasing Facility Alex Howard ETH, Zurich Geometrical.
Positional and Angular Resolution of the CALICE Pre-Prototype ECAL Hakan Yilmaz.
CBM ECAL simulation status Prokudin Mikhail ITEP.
CMS H4 ECAL testbeam data comparison with simulation F.Cossutti a), B. Heltsey b), P. Meridiani c), C. Rovelli c) a) INFN Trieste b) Cornell University.
05/04/06Predrag Krstonosic - Cambridge True particle flow and performance of recent particle flow algorithms.
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.
ECAL software development Yuri Kharlov IHEP Protvino.
Geant4 CPU performance : an update Geant4 Technical Forum, CERN, 07 November 2007 J.Apostolakis, G.Cooperman, G.Cosmo, V.Ivanchenko, I.Mclaren, T.Nikitina,
Ties Behnke: Event Reconstruction 1Arlington LC workshop, Jan 9-11, 2003 Event Reconstruction Event Reconstruction in the BRAHMS simulation framework:
Calorimeter Simulation Infrastructure Norman Graf Arlington ‘03.
Fast Simulation and the Higgs: Parameterisations of photon reconstruction efficiency in H  events Fast Simulation and the Higgs: Parameterisations of.
Update on G5 prototype Andrei Gheata Computing Upgrade Weekly Meeting 26 June 2012.
Calice Meeting Argonne Muon identification with the hadron calorimeter Nicola D’Ascenzo.
TeV muons: from data handling to new physics phenomena Vladimir Palichik JINR, Dubna NEC’2009 Varna, September 07-14, 2009.
TeV Muon Reconstruction Vladimir Palichik JINR, Dubna NEC’2007 Varna, September 10-17, 2007.
Feb. 3, 2007IFC meeting1 Beam test report Ph. Bruel on behalf of the beam test working group Gamma-ray Large Area Space Telescope.
1 Reconstruction tasks R.Shahoyan, 25/06/ Including TRD into track fit (JIRA PWGPP-1))  JIRA PWGPP-2: Code is in the release, need to switch setting.
Energy Reconstruction in the CALICE Fe-AHCal in Analog and Digital Mode Fe-AHCal testbeam CERN 2007 Coralie Neubüser CALICE Collaboration meeting Argonne,
Status of PSD simulation in Shine Oleg Petukhov Institute for Nuclear Research, Moscow NA61 Analysis/Software/Calibration meeting , Warsaw.
Muon Reconstruction and Vertex Constraint Giovanni Abbiendi Bologna CMS meeting, 20 November 2007.
MAUS Status A. Dobbs CM43 29 th October Contents MAUS Overview Infrastructure Geometry and CDB Detector Updates CKOV EMR KL TOF Tracker Global Tracking.
David Lange Lawrence Livermore National Laboratory
LHCb.
Individual Particle Reconstruction
Linear Collider Simulation Tools
Pedro Arce (CERN/CIEMAT)
Other GEANT4 capabilities
Model Approach for Standard EM Physics
The Hadrontherapy Geant4 advanced example
Higgs Factory Backgrounds
Search for coincidences and study of cosmic rays spectrum
Simulation Project Structure and tasks
The LHCb Level 1 trigger LHC Symposium, October 27, 2001
Use of GEANT4 in CMS The OSCAR Project
Linear Collider Simulation Tools
LC Calorimeter Testbeam Requirements
PHYS 3446 – Lecture #18 Monday ,April 9, 2012 Dr. Brandt Calorimeter
Presentation transcript:

CMS Full Simulation for Run-2 M. Hildrith, V. Ivanchenko, D. Lange CHEP'15 1

CMS MC Simulation approach Physics Generators Geometry/ Material Description Geant 4 Electronics Simulation Noise Model Simulated Raw Data Particle 4-vectors Simulated Hits Simulated Hits from Pileup Interactions = “Digitization” 2 September 4, 2014 D. Lange, ACAT 2014

Progress in simulation for Run-2 Geometry updates: Improvements to Run 1 detector model and integration of Run 2 detector changes Migration from Geant4 9.4p03 to 10.0p02 Revised CMS simulation code Introduced Russian roulette method New forward hadron calorimeter parameterized simulation (shower library instead of GFlash) Improved simulation library packaging Improved mixing module for high pile-up simulation Developed simulation for multi-threaded CMSSW framework Together these improvements have gained a factor of 2 in simulation time/event CHEP'15 3

CMS geometry for run-2 New beam pipe model Updated muon detectors Improved geometry of tracker New set of lumi detectors in FWD CHEP'15 4

Update of tracker material model description Tracker material model corrected to better match Run 1 data Measurement of hadron momentum loss in tracker volume Difference in electron momentum measured in forward vs backward track fit estimates Bremsstrahlung CHEP'15 5 Ratio of data vs. MC tracker material Changes in our tracker material model

Geant4 status in CMS Production version of Geant4 for run-2 Geant4 version10.0p02 built in sequential mode Production platform slc6_amd64_gcc491 Default physics list: QGSP_FTFP_BERT_EML CMS plans a production of about 4 billion events for 2015 Current development version of Geant4 in CMS Geant4 version10.0p03 + patch of Geant4e for threading Multi-threaded Geant4 is fully integrated with CMS multi-threaded framework CHEP'15 6

From Geant4 9.4p03 to 10.0p02 More accurate electromagnetic shower shape simulation Improved hadronic physics simulation Performance improvements Increasing of energy from 8 to 13 TeV provides more simulation steps and more hits in detectors User actions were optimized and rewritten Physics List QGSP_FTFP_BERT_EML provides similar detector response in hadronic calorimeter Validation of CMSSW demonstrates that EM shower shape was changed due to reduced number of secondary low-energy neutrons produced in gamma-nuclear interactions Run 2 changes for Simulation CHEP'15 7

Russian Roulette: Sampling of low-energy particles in Geant4 Method from neutron shielding calculations: Track only a small fraction of low-energy particles through the detector with no noticeable change in simulation results We found that it was necessarily to have sampling factors and thresholds that depend on both detector region and particle type. Two parameters: RR factor (1/W): Fraction of particles to keep Upper energy limit (E RR ) Hits from Particles below E RR that are tracked are given a weight W. 8 CHEP'15

Russian Roulette now used by default after long tuning and validation process RR factor of W=10 for neutrons and 3 for gammas found to give between 25% and 40% performance improvement with no observable effect on physics output Energy and shower shape response in the high-resolution ECAL barrel detector were the most sensitive to RR parameter tuning 9 CHEP'15

Where our simulation CPU goes 10 CHEP'15 Technical performance improvements for Run 2 simulation: 1.Upgrade to Geant4 10.0p03 (~5%) 2.Implementation of Russian Roulette technique (~30%) 3.CMSSW code optimization (~15%) 4.Library repackaging (~10%)

10% performance gain from hidden visibility without playing with linker scripts Repackage all shared libraries in CMSSW that depend on Geant4 into a single static library to “hide” Geant4 from the rest of CMSSW Use single archive library for Geant4 itself This allowed us to more aggressively optimize at link time: adding “-flto -Wl,--exclude-libs,ALL” works best Constraints this imposes: Must control dependencies to use Geant4 only within this single library: This is “easy” for simulation (<2% of our libraries) However, extending this idea to something effecting the full reconstruction is difficult Impact on simulation code developers minimized by keeping.so cached in release. Static library rebuild is the only extra step if developer builds a package in this static library. CHEP'15 11

CMS multithreaded simulation CMS has developed and deployed a multi-threaded framework based on TBB. Our simulation workflow is an important user At the same time, we need to work within the Geant-4 mutlithreading model (POSIX threads) Master vs worker threads Master must not do any work Worker threads simulate events in their own event loops (Spawned by CMSSW Framework via TBB) Constrains and requirements we worked through: Initialization of SIM module should be done once Access to geometry and field should be const Both Sequential and MT simulation should be functional within a CMSSW release CHEP'15 12

CMS simulation schemas Arrows show initialization relations CHEP'15 13 OscarProducer RunManager SD UserActions EventProcess Geometry Physic s Single threaded (sequential) schema:

CMS simulation schemas Main difference between sequential and MT schemas is in initialization Geometry, physics, user actions, and SD share the same code CHEP'15 14 OscarProducer OscarMTProducer RunManager RunManagerMTWorker OscarMTMasterThread RunManagerMT SD UserActions EventProcess Geometry Physic s

Current performance of CMS MT GEN-SIM 15 CHEP'15 Example memory savings: a single 12 threaded MT job requires ~4 GB RSS instead of 11 GB for 12 single threaded jobs 200 MB/thread Excellent scaling performance seen in our tests so far. Scale testing to start for production in 2016 Time/event decreases until the # of threads is equal to the # of cores Extrapolation from single core

Conclusion: Looking forward We are always looking at how to do more simulation with less resources without giving up physics performance Large gains achieved since Run 1. Now investigating other areas including interesting new components of Geant4 Deployment of multithreaded simulation planned for 2016 Supporting planned Phase-I and Phase-II CMS upgrades pose new challenges. CHEP'15 16