Slic A Geant4-based detector simulation package Norman Graf, Jeremy McCormick SLAC October 15, 2009.

Slides:



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

MAPS, RAL, 28-Feb-2006Nigel Watson / Birmingham Geant4 Simulation of MAPS  Geant4/Mokka application has flexible way to change Si thickness, pixel size.
LCFI physics studies meeting, 28 th June 05 Sonja Hillertp. 1 Report from ILC simulation workshop, DESY June Aim of workshop: preparation for Snowmass;
14 User Documents and Examples I SLAC Geant4 Tutorial 3 November 2009 Dennis Wright Geant4 V9.2.p02.
Geant4-based Simulation Status and Plans Dhiman Chakraborty, Guilherme Lima, Jeremy McCormick, Vishnu Zutshi Calorimetry Working Group ALCPG 2004 Winter.
14 Overview of Geant4 Examples 2 nd Finnish Geant4 Workshop 6-7 June 2005 Dennis Wright (SLAC)
17-19 Oct, 2007Geant4 Japan Oct, 2007Geant4 Japan Oct, 2007Geant4 Japan 2007 Geant4 Japan.
1 SLAC LCD Simulations Group Jeremy McCormick ILC Detector Simulation using SLIC LDC: ttbar SiD May05: 100 muonsSiD Aug05: ttbarCDC Aug05: ttbar 6 jets.
Lcsim A Java-based Reconstruction package for Particle Physics Tony Johnson on behalf of Norman Graf SLAC Scientific Computing Workshop June
LCIO A persistency framework for LC detector simulation studies Frank Gaede, DESY, IT 4 th ECFA/DESY LC Workshop Amsterdam April 1 st -4 th 2003.
SiD Software Status. Framework Overview Pythia, WHIZARD, etc. Pythia, WHIZARD, etc. SLIC Tracking, PFA, etc. LCSim StdHep LCIO Events JAS3 (or any AIDA.
Simulating the Silicon Detector August 16, 2005 Norman Graf SLAC.
ALCPG October 25 th 2007 Hans Wenzel Calorimetry in slic How-to Motivation for dual readout Calorimeter What are our requirements Why did we choose SLIC.
ALCPG Simulation Status and Plans ECFA LC Workshop, Durham Sep. 2, 2004 Norman Graf (SLAC)
ALCPG Simulation Status and Plans ACFA LC Workshop, Taipei Nov. 10, 2004 Norman Graf (SLAC)
ALCPG Software Tools Jeremy McCormick, SLAC LCWS 2012, UT Arlington October 23, 2012.
User Documents and Examples I Sébastien Incerti Slides thanks to Dennis Wrigth, SLAC.
ALCPG software: status and future plans LCWS UT Arlington October 23, 2012 Norman Graf (for the sim/reco group)
Org.lcsim Reconstruction and Analysis framework for ILC Detectors Tony Johnson SLAC July 2006.
Implementing a dual readout calorimeter in SLIC and testing Geant4 Physics Hans Wenzel Fermilab Friday, 2 nd October 2009 ALCPG 2009.
Alignment Strategy for ATLAS: Detector Description and Database Issues
Simulation and Reconstruction: ALCPG Framework & Toolkit Norman Graf (for the ALCPG Simulation & Reconstruction Team) ILC-ECFA Meeting November 8, 2006.
Updating JUPITER framework using XML interface Kobe University Susumu Kishimoto.
Detector Simulation Software Norman Graf (SLAC) CLIC08 Workshop CERN October 15, 2008.
Simulation and Reconstruction: ALCPG Framework & Toolkit Norman Graf (for the ALCPG Simulation & Reconstruction Team) ILC Software and Tools Workshop May.
Summary of Simulation and Reconstruction Shaomin CHEN (Tsinghua University)  Framework and toolkit  Application in ILC detector design Jupiter/Satellites,
R.T. Jones, Newport News, May The GlueX Simulation Framework GEANT4 Tutorial Workshop Newport News, May 22-26, 2006 R.T. Jones, UConn Monte Carlo.
CHEP06, Mumbai-India, Feb 2006V. Daniel Elvira 1 The CMS Simulation Validation Suite V. Daniel Elvira (Fermilab) for the CMS Collaboration.
ALCPG Software Framework Overview & Updates Jeremy McCormick, SLAC SiD Group ALCPG 2009.
Sim/Recon DBD Editors Report Norman Graf (SLAC) Jan Strube (CERN) SiD Workshop SLAC, August 22, 2012.
WIRED 4 An extensible generic Event Display Mark Donszelmann SLAC, Stanford, U.S.A. CHEP2004, 27 september – 1 october Interlaken, Switzerland.
Sensitive Detector Segmentation Norman Graf (SLAC) LC-ECFA Meeting, DESY May 28, 2013.
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.
CBM ECAL simulation status Prokudin Mikhail ITEP.
LCIO A persistency framework and data model for the linear collider CHEP 04, Interlaken Core Software, Wednesday Frank Gaede, DESY -IT-
25 Oct 2007Jeremy McCormick, ALCPG MC1 ALCPG Monte Carlo Framework.
Plans for a Simulation Study of the Magnetic Field Requirements of the LC TPC February 2006, ILC TPC Analysis Jamboree, DESY Christian Hansen University.
CaTS and Dual Readout. CaTS – Calorimeter and Tracker Simulation Describe detector in gdml file (xml like) Define.
Calorimeter Simulation Infrastructure Norman Graf Arlington ‘03.
1 Software tools in Asia Akiya Miyamoto KEK 18-March-2005 Simulation and Reconstruction Session LCWS2005 Representing acfa-sim-j activity M.C.Chang 1,K.Fujii.
DD4hep-Based Simulation Nikiforos Nikiforou CERN/PH-LCD ILD Meeting 2014 Oshu City, September 9 th, 2014.
Update G4builder issues Talk written almost entirely by Stan Bentvelsen with a few updates from Christopher Lester ATLAS G4 Workshop December 2000 CAMBRIDGE.
SiD Simulation Status Report Norman Graf (SLAC) SiD Workshop, Boulder April 14,2008.
Slic A Geant4-based detector simulation package Jeremy McCormick, Norman Graf, Ron Cassell, Tony Johnson SLAC June 8, 2006.
SiD Tracking in the LOI and Future Plans Richard Partridge SLAC ALCPG 2009.
Lcsim Status for Muon Collider Physics and Detector Studies Norman Graf (SLAC) MAP 2012 Winter Meeting SLAC, March 8, 2012.
Lcsim software: status and future plans ECFA-LC DESY May 30, 2013 Norman Graf (for the sim/reco group)
Intelligent Norman Graf (SLAC) SuperB computing mini-Workshop Pearl Harbor Day, 2007 DesignDetector.
Intelligent Norman Graf (SLAC) (for the ALCPG Simulation & Reconstruction WG) Muon Collider Simulation Technical Meeting October 5, 2010 DesignDetector.
1 SLAC simulation workshop, May 2003 Ties Behnke Mokka and LCDG4 Ties Behnke, DESY and SLAC MOKKA: european (france) developed GEANT4 based simulation.
Data Model: LCIO to LCIO2.0 Norman Graf (SLAC) ILC-CLIC Software, CERN May 28, 2009.
Optimizing SiD for the LOI: Simulation and Reconstruction Norman Graf (for the ALCPG Simulation & Reconstruction Team) October 9, 2007.
Track Reconstruction: the ftf and trf toolkits Norman Graf (SLAC) Common Software Working Meeting CERN, January 31, 2013.
Simulation and Reconstruction: ALCPG Framework & Toolkit Norman Graf (for the ALCPG Simulation & Reconstruction Team) LCWS07 May 31, 2007.
ALCPG Simulation/Reconstruction
GEANT4 for Future Linear Colliders
Geant4-based Simulation Status and Plans
slicPandora: slic + pandoraPFANew
Markus Frank CERN/LHCb CHEP2013, Amsterdam, October 14th–18th 2013
HEP detector description supporting the full experiment life cycle
User Documents and Examples I
Simulation Framework Norman Graf SLAC June 10, 2005.
Silicon Tracking with GENFIT
Linear Collider Simulation Tools
Simulating the Silicon Detector
Simulation Framework Subproject cern
MUC simulation and reconstruction
Use of GEANT4 in CMS The OSCAR Project
Linear Collider Simulation Tools
WIRED 4 Event Display Linear Collider Simulation Workshop
Presentation transcript:

slic A Geant4-based detector simulation package Norman Graf, Jeremy McCormick SLAC October 15, 2009

2 Mission Statement Provide full detector response simulation capabilities for Linear Collider physics program. Need flexibility for new detector geometries and readout technologies. The system should be flexible, powerful, yet simple to install and maintain. Limited resources demand efficient solutions, focused effort.

3 Full Detector Response Simulation Use Geant4 toolkit to describe interaction of particles with matter. Thin layer of non-G4 C++ provides access to: –Event Generator input –Detector Geometry description input –Detector Hits output Geometries fully described at run-time! –In principle, as fully detailed as desired. –Uses lcdd, an extension of GDML. Solution is applicable beyond LC problem domain.

Geometry Definition Goal was to free the end user from having to write C++ code to define the detector. All of the detector properties should be definable at runtime with an easy to use format. Selected xml, and extended the existing GDML format for pure geometry description. 4

5 Why XML? Simplicity: Rigid set of rules Extensibility: easily add custom features, data types Interoperability: OS, languages, applications Self-describing data, validate against schema Hierarchical structure  OOP, detector/subdetector Open W3 standard, lingua franca for B2B Many tools for validating, parsing, translating Automatic code-generation for data-binding Plain text: easily edited, cvs versioning

LCDD and GDML GDML LCDD expressions (CLHEP) materials solids volume definitions geometry hierarchy detector info identifiers sensitive detectors regions physics limits & cuts visualization magnetic fields Adopted GDML as base geometry definition, then extended it to incorporate missing detector elements.

LCDD Structure LCDD Root Element Information about the Detector Identifier Specifications Detector Readouts Physics Limits Regions (sets of volumes) Visualization Attributes GDML Root Element Constants, Positions, Rotations Material Definitions Solid Definitions Volume Hierarchy Magnetic Field

lcdd Features Regions: production cuts Physics limits: track length, step length, etc. Visualization: color, level of detail, wireframe/solid Sensitive detectors –calorimeter, optical calorimeter, tracker –segmentation IDs –volume identifiers (physvolid) Magnetic fields –dipole, solenoid, field map utilities –information on Geant4 stores –GDML load/dump 8

“Compact” Description The lcdd file is very descriptive, but therefore also very verbose. Can be written by hand, but prone to human error. –Also, just specific to the simulation and not easily accessible to reconstruction and visualization. Developed a “compact” detector description which encapsulates the basic properties of a detector and which is further processed by code to produce the input specific to different clients. 9

Compact Detector Description A number of generally useful detector types (at least for HEP collider detectors) have been developed, such as: – sampling calorimeters –TPCs –Silicon trackers (microstrip as well as pixel) –Generic geometrical support structures Can also incorporate GDML snippets –Allows inclusion of more complicated volumes derived for instance from engineering (CAD) drawings. 10

11 GeomConverter Compact Description GeomConverter LCDD GODL org.lcsim Analysis & Reconstruction HEPREP Small Java program for converting from compact description to a variety of other formats slic lelaps wired lcio

Compact Description - Example <detector id=“3” name=“HADBarrel” type=“CylindricalBarrelCalorimeter” readout=“HcalBarrHits” vis=“HADVis”> global unique name global unique identifier detector type readout collection layering sensitive layer absorber visualization settings

13 xml: Defining a Tracker Module <module_component width="7.6" length="125.0" thickness="0.26" material="CarbonFiber" sensitive="false"> <module_component width="7.6" length="125.0" thickness="0.05" material="Epoxy" sensitive="false"> <module_component width="9.6" length="125.0" thickness="0.1" material="Silicon" sensitive="true">

xml: Placing the modules

15 A Barrel Vertex Detector

Example Vertex Detector CAD Drawing GEANT Volumes LCIO Hits

17 Barrel Outer Tracker Composed of overlapping silicon wafers.

Complete Silicon Tracker 18

19 Generic Hits Problem Statement We wish to define a generic output hit format for full simulations of the response of detector elements to physics events. Want to preserve the “true” Monte Carlo track information for later comparisons. Want to defer digitization as much as possible to allow various resolutions, readout technologies, etc. to be efficiently studied.

20 Types of Hits “Tracker” Hits –Position sensitive. –Particle unperturbed by measurement. –Save “ideal” hit information. “Calorimeter” Hits –Energy sensitive. –Enormous number of particles in shower precludes saving of each “ideal” hit. –Quantization necessary at simulation level.

21 Tracker Hit MC Track handle Encoded detector ID (detector dependent ) Hit position in sensitive volume Track momentum at hit position. Energy deposited in sensitive volume. Time of track's crossing. Path length in sensitive volume.

22 Calorimeter Hit Encoded detector ID (detector dependent) MC IDs for tracks contributing to this cell. Energy deposited. Time of energy deposition. Repeated for each energy contribution. Support recently added for optical calorimeters –Can store Cerenkov and scintillation light. –See other talks at this workshop.

23 LCIO Persistency framework for LC simulations. Currently uses SIO: Simple Input Output –on the fly data compression –some OO capabilities, e.g. pointers –C++, Java (and FORTRAN!) implementations available Changes in IO engine designed for (e.g. root). Extensible event data model –Generic Tracker and Calorimeter Hits. –Monte Carlo particle heirarchy.

24 slic: The Executable Build static executable on Linux, Windows, Mac. –SimDist build kit uses GNU autoconf Commandline or G4 macro control. Only dependence is local detector description file. –Trivial Grid usage (no database call-backs, etc.) –Grid ready, Condor and lsf scripts available. Event input via stdhep, particle gun, … Detector input via GDML, lcdd Response output via LCIO using generic hits.

25 Detector Full Simulation MC Event (stdhep) Geometry (lcdd) Raw Event (slcio) GEANT4 slic Compact Geometry Description (xml) Reconstruction, Visualization, …

26 Detector Variants Runtime XML format allows variations in detector geometries to be easily set up and studied: –Sampling calorimeters: absorber materials, dimensions Readout technologies, e.g. RPC, scintillator Layering (radii, number, composition) Readout segmentation (size, projective vs. nonprojective) –Total absorption crystal calorimeters Optical properties –Tracking detector technologies & topologies TPC, silicon microstrip, silicon pixels

ILC Full Detector Concepts SiD GLD LDC

28 slic & lcdd: Summary Provides a complete and flexible detector simulation package capable of simulating arbitrarily complex detectors with runtime detector description. Being used by ILC detector community for simultaneous and iterative evolution of different detector concepts and their variations. Being used for ATLAS upgrade tracking studies Has been applied to CPT simulations. Could be used by other communities (astro, medical) for rapid prototyping or simulation.

Additional Information ILC Detector Simulation ILC Forum SLIC LCDD GDML LCIO