Full Event Reconstruction in Java CHEP '04 Interlaken, Switzerland Sep. 30, 2004 Norman Graf (SLAC) for the LCD development team (“From 0 to analysis in.

Slides:



Advertisements
Similar presentations
Physics and Detector Simulations Norman Graf June 13, 2000.
Advertisements

LCFI physics studies meeting, 28 th June 05 Sonja Hillertp. 1 Report from ILC simulation workshop, DESY June Aim of workshop: preparation for Snowmass;
Ties Behnke, Vasiliy Morgunov 1SLAC simulation workshop, May 2003 Pflow in SNARK: the next steps Ties Behnke, SLAC and DESY; Vassilly Morgunov, DESY and.
1 Forward Tracking Simulation Norman A. Graf ALCPG Cornell July 15, 2003.
Org.lcsim ILC Reconstruction and Analysis Tony Johnson SLAC March 2005.
Individual Particle Reconstruction Norman Graf SLAC April 28, 2005.
1 Benchmarking the SiD Tim Barklow SLAC Sep 27, 2005.
Victor Serbo, SLAC30 September 2004, Interlaken, Switzerland JASSimApp plugin for JAS3: Interactive Geant4 GUI Serbo, Victor (SLAC) - presenter Donszelmann,
Lcsim A Java-based Reconstruction package for Particle Physics Tony Johnson on behalf of Norman Graf SLAC Scientific Computing Workshop June
Study of a Compensating Calorimeter for a e + e - Linear Collider at Very High Energy 30 Aprile 2007 Vito Di Benedetto.
Simulating the Silicon Detector August 16, 2005 Norman Graf SLAC.
JAS3 + AIDA LC Simulations Workshop SLAC 19 th May 2003.
LCD Simulation News Norman Graf ECFA Workshop ECFA Workshop Montpellier, Nov. 14, 2003.
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.
1 Tracking Reconstruction Norman A. Graf SLAC July 19, 2006.
Java Root IO Part of the FreeHEP Java Library Tony Johnson Mark Dönszelmann
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.
SiD Tracking Simulation: Status and Plans Richard Partridge for the SiD Tracking Group Vancouver Linear Collider Workshop July 19-22, 2006.
David N. Brown Lawrence Berkeley National Lab Representing the BaBar Collaboration The BaBar Mini  BaBar  BaBar’s Data Formats  Design of the Mini 
Detector Simulation Software Norman Graf (SLAC) CLIC08 Workshop CERN October 15, 2008.
V. Serbo, SLAC ACAT03, 1-5 December 2003 Interactive GUI for Geant4 by Victor Serbo, SLAC.
Non-prompt Track Reconstruction with Calorimeter Assisted Tracking Dmitry Onoprienko, Eckhard von Toerne Kansas State University, Bonn University Linear.
Summary of Simulation and Reconstruction Shaomin CHEN (Tsinghua University)  Framework and toolkit  Application in ILC detector design Jupiter/Satellites,
JAS3 - A general purpose data analysis framework for HENP and beyond Tony Johnson, Victor Serbo, Max Turri, Mark Dönszelmann, Joseph Perl SLAC.
Sim/Recon DBD Editors Report Norman Graf (SLAC) Jan Strube (CERN) SiD Workshop SLAC, August 22, 2012.
Event Reconstruction in SiD02 with a Dual Readout Calorimeter Detector Geometry EM Calibration Cerenkov/Scintillator Correction Jet Reconstruction Performance.
WIRED 4 An extensible generic Event Display Mark Donszelmann SLAC, Stanford, U.S.A. CHEP2004, 27 september – 1 october Interlaken, Switzerland.
1 Calorimetry Simulations Norman A. Graf for the SLAC Group January 10, 2003.
Java Physics Generator and Analysis Modules Mike Ronan LBNL (presented by Tony Johnson)
Pandora calorimetry and leakage correction Peter Speckmayer 2010/09/011Peter Speckmayer, WG2 meeting.
Calorimeter Assisted Track Finder Tracking Infrastructure Dmitry Onoprienko Kansas State University Linear Collider Workshop 2007 May 30 – June 3, 2007.
Java Analysis Studio and the hep.lcd class library Mike Ronan - LBNL Joanne Bogart, Gary Bower, Tony Johnson - SLAC Nick Sinev - Oregon Don Benton - U.
LCIO A persistency framework and data model for the linear collider CHEP 04, Interlaken Core Software, Wednesday Frank Gaede, DESY -IT-
PFAs – A Critical Look Where Does (my) SiD PFA go Wrong? S. R. Magill ANL ALCPG 10/04/07.
1 D.Chakraborty – VLCW'06 – 2006/07/21 PFA reconstruction with directed tree clustering Dhiman Chakraborty for the NICADD/NIU software group Vancouver.
Plans to study the Readout design in the forward region June 12 th 2007 Hans Wenzel  Currently: one big sensitive silicon disks: we record the Geant 4.
Particle Flow Review Particle Flow for the ILC (Jet) Energy Resolution Goal PFA Confusion Contribution Detector Optimization with PFAs Future Developments.
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.
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.
Individual Particle Reconstruction The PFA Approach to Detector Development for the ILC Steve Magill (ANL) Norman Graf, Ron Cassell (SLAC)
12/20/2006ILC-Sousei Annual KEK1 Particle Flow Algorithm for Full Simulation Study ILC-Sousei Annual KEK Dec. 20 th -22 nd, 2006 Tamaki.
Slic A Geant4-based detector simulation package Jeremy McCormick, Norman Graf, Ron Cassell, Tony Johnson SLAC June 8, 2006.
Java to C++: What would be needed ? Norman Graf (SLAC) ILC-CLIC Software, CERN May 28, 2009.
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.
FCAL Krakow meeting, 6. May LumiCal concept including the tracker R. Ingbir, P.Růžička, V. Vrba.
CMOS Pixels Sensor Simulation Preliminary Results and Plans M. Battaglia UC Berkeley and LBNL Thanks to A. Raspereza, D. Contarato, F. Gaede, A. Besson,
1 Overview of Benchmarking Tools Tim Barklow SLAC Oct 10, 2006.
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.
GEANT4 for Future Linear Colliders
Electroweak physics at CEPC
Electroweak Physics Towards the CDR
slicPandora: slic + pandoraPFANew
Simulation Framework Norman Graf SLAC June 10, 2005.
Individual Particle Reconstruction
Linear Collider Simulation Tools
Simulating the Silicon Detector
Argonne National Laboratory
Detector Optimization using Particle Flow Algorithm
Jupiter and Satellites
Java Reconstruction and Analysis for a Linear Collider Detector
Linear Collider Simulation Tools
Steve Magill Steve Kuhlmann ANL/SLAC Motivation
WIRED 4 Event Display Linear Collider Simulation Workshop
Sheraton Waikiki Hotel
Presentation transcript:

Full Event Reconstruction in Java CHEP '04 Interlaken, Switzerland Sep. 30, 2004 Norman Graf (SLAC) for the LCD development team (“From 0 to analysis in 15 minutes”)

International Linear Collider (ILC) Detectors designed to exploit the physics discovery potential of e + e - collisions at  s~1TeV. Detectors designed to exploit the physics discovery potential of e + e - collisions at  s~1TeV. Will perform precision measurements of complex final states. Will perform precision measurements of complex final states. Require: Require: Exceptional momentum resolution. Exceptional momentum resolution. Excellent vertexing capabilities. Excellent vertexing capabilities. “Particle Flow” calorimetry. “Particle Flow” calorimetry. Hermeticity. Hermeticity.

Mission Statement Provide full simulation capabilities for ILC physics program: Provide full simulation capabilities for ILC physics program: Physics simulations. Physics simulations. Detector designs. Detector designs. Machine-Detector interface & backgrounds. Machine-Detector interface & backgrounds. Need flexibility for: Need flexibility for: New detector geometries/technologies. New detector geometries/technologies. Innovative reconstruction algorithms. Innovative reconstruction algorithms. Limited resources demand efficient solutions, focused effort. Limited resources demand efficient solutions, focused effort. Desire a common simulation environment used in ILC studies which allows sharing of detectors, algorithms, and code. The system should be flexible, powerful, yet simple to install, maintain and use. Metric of performance: Ease with which physicist having an idea can implement and test its effect!

Most important tool of all!

Why Java? Java is a pure Object Oriented Language. Java is a pure Object Oriented Language. Simpler to learn and use than C++ : Simpler to learn and use than C++ : Language design emphasizes ease-of-use over performance. Language design emphasizes ease-of-use over performance. Garbage collector takes care of freeing unused objects. Garbage collector takes care of freeing unused objects. New language, no historical baggage. New language, no historical baggage. Very powerful standard library. Very powerful standard library. –Large number of open-source libraries including libraries for scientific computing. Platform independent, compile once just runs everywhere (Linux, Windows, Mac OSX, Solaris, …). Platform independent, compile once just runs everywhere (Linux, Windows, Mac OSX, Solaris, …). Physicist gets to concentrate on writing clean OO code to perform analysis tasks. Physicist gets to concentrate on writing clean OO code to perform analysis tasks. Not understanding core dumps and learning difference between a pointer and a reference. Not understanding core dumps and learning difference between a pointer and a reference. Performance of Java code is close to that of C++. Performance of Java code is close to that of C++. In real life maybe 20-30% overhead typical. In real life maybe 20-30% overhead typical.

Why Java? Several very powerful, free, IDE’s now available: Several very powerful, free, IDE’s now available: e.g. Netbeans, Eclipse. e.g. Netbeans, Eclipse. Support editing, code completion, GUI building, debugging, performance profiling, refactoring, CVS, etc… Support editing, code completion, GUI building, debugging, performance profiling, refactoring, CVS, etc… Multiplatform. Multiplatform. Mantra “I prefer EMACS” is becoming hard to justify! Mantra “I prefer EMACS” is becoming hard to justify!

Why a full reconstruction now?  ILC  LEP ILC  LEP Much higher luminosity, energy, precision. Much higher luminosity, energy, precision. More complex events (not on a resonance). More complex events (not on a resonance). ILC  LHC ILC  LHC Detector R&D focused on orthogonal issues. Detector R&D focused on orthogonal issues. e.g. rad hardness not an issue, tracker material is! e.g. rad hardness not an issue, tracker material is! Desired precision and resolutions require a new detector paradigm, intimately connected with the reconstruction: “Particle Flow”. Desired precision and resolutions require a new detector paradigm, intimately connected with the reconstruction: “Particle Flow”. Aim for very tight loop Aim for very tight loop  design  simulate  reconstruct  analyze 

Particle Flow Motivation Measure momenta of charged tracks in the tracker with superb resolution. Measure photons in highly segmented EM calorimeter with reasonable resolution. Remaining neutral hadrons measured in hadron calorimeter.  2 confusion is the hardest term, cannot be correctly simulated with fast 4-vector smearing. Needs detailed calorimeter shower simulation and reconstruction to understand.  2 confusion is the hardest term, cannot be correctly simulated with fast 4-vector smearing. Needs detailed calorimeter shower simulation and reconstruction to understand.

Imaging Calorimeter EMCal: dense, small Moliere radius highly segmented: laterally (~30-40 layers) longitudinally (~5x5 mm 2 ) HadCal: emphasize segmentation & granularity over intrinsic resolution. Digital readout?

ILC Detector Simulations 1. Use simplified volumes to investigate larger number of designs, allowing dynamic topologies using single executable. 2. Describe “optimal” detectors in great detail. TPC Tracker, Si Disks, CCD VTX All Si Tracker, CCD VTX

Java Reconstruction/Analysis Overview Runs standalone or inside Java Analysis Studio (JAS3). Runs standalone or inside Java Analysis Studio (JAS3). Fast MC provides target (“best you can do”). Fast MC provides target (“best you can do”). Smeared tracks and calorimeter clusters, fiducial acceptance. Smeared tracks and calorimeter clusters, fiducial acceptance. Beam & Physics background overlays at hit level. Beam & Physics background overlays at hit level. Hit digitization allows detector readout schemes to be varied, provides more realistic hits (merged, ghost,  pos ). Hit digitization allows detector readout schemes to be varied, provides more realistic hits (merged, ghost,  pos ). Full Reconstruction: Full Reconstruction: ab initio track finding and fitting. ab initio track finding and fitting. calorimeter clustering. calorimeter clustering. Individual Particle reconstruction (cluster-track association). Individual Particle reconstruction (cluster-track association). Java Neural Net available for training & use. Java Neural Net available for training & use. Physics Tools (Vertex Finding, Jet Finding, Flavor Tagging). Physics Tools (Vertex Finding, Jet Finding, Flavor Tagging). Analysis Tools (including LCD-specific WIRED event display). Analysis Tools (including LCD-specific WIRED event display).

Event Reconstruction Flow Sequential Record Loop LCEvent G4 Detector Simulation Input SimTrackerHits, SimCalorimeterHits, MCParticles Detector Digitization/ Hit Finding CCD Pixels, Si  strips*, TPC waveform* Tracker hit clustering, uncertainty assignment Track Finding/Fitting Standalone 3D trackfinding (e.g. TPC, CCD) Track merging, fitting Calorimeter Clustering “Nearest” Neighbor, MST*, Fuzzy* Cluster Particle ID (e.g. , , h ±, h 0 ) Reconstructed Particle Track-Cluster association, Jet-Finding, Flavor Tagging ZVTop vertexing, NN Flavor Tagging (b, c, uds)* Reconstruction Output LCIO (Tracks, Clusters, ReconstructedParticles…) AIDA (tuples, histograms) Reconstructors implemented as Drivers with hooks, e.g.: add(Processor p) processEvent(EventData evt) beforeFirstEvent() afterLastEvent() setDetector(Detector det) … Drivers implement Processor interface, so can be nested. Event contains some predefined collection hooks, evt.getCalorimeterHits() Arbitrary objects can be added to/retrieved from Event evt.put(“myStuff”, myStuff) Bckgnd Events +

Detector Hit Digitization SimCalorimeter quantized into cells in Geant4. SimCalorimeter quantized into cells in Geant4. Study readout segmentation by ganging cells. Study readout segmentation by ganging cells. SimTrackerHit has full MC info: x, t, dE/dx… SimTrackerHit has full MC info: x, t, dE/dx… Digitized at reco level: e.g. strip pitch, pixel size, charge sharing, electronic noise, … Digitized at reco level: e.g. strip pitch, pixel size, charge sharing, electronic noise, … Provides more realistic simulation of effects of backgrounds, efficiencies and noise. Provides more realistic simulation of effects of backgrounds, efficiencies and noise. Nearby hits merged, ghosts simulated. Nearby hits merged, ghosts simulated. Hit-specific measurement uncertainties. Hit-specific measurement uncertainties. Can add Random Hits (salt & pepper backgrounds). Can add Random Hits (salt & pepper backgrounds). Efficiencies simulated by dropping hits, channels. Efficiencies simulated by dropping hits, channels.

CCD Digitization VXD hits from simulated events, finds charge deposited in each pixel, adds electronics noise and digitizes signal. VXD hits from simulated events, finds charge deposited in each pixel, adds electronics noise and digitizes signal. Finds CCD clusters, splitting if necessary. Finds CCD clusters, splitting if necessary. Coordinates of found centers are used to replace TrackerHits in the events. Further event processing (track finding, fitting, and so on) proceeds the same way as it was before. Coordinates of found centers are used to replace TrackerHits in the events. Further event processing (track finding, fitting, and so on) proceeds the same way as it was before. Can set CCD parameters (like thickness, depleted layer depth, epitaxial layer thickness and so on), electronics parameters (noise, ADC conversion scale, pixel and cluster thresholds), processing parameters (like cluster center calculation method). Can set CCD parameters (like thickness, depleted layer depth, epitaxial layer thickness and so on), electronics parameters (noise, ADC conversion scale, pixel and cluster thresholds), processing parameters (like cluster center calculation method).

Stereo Angle Wedges Hexagons Tiling Forward Disks

Track Finding/Fitting Full pattern recognition in 3D detectors. Full pattern recognition in 3D detectors. Extrapolations of found tracks to 2D det’s. Extrapolations of found tracks to 2D det’s. Tuned for Large and Silicon Detectors. Tuned for Large and Silicon Detectors. Working on generalizing this.* Working on generalizing this.* Track Fitters: Track Fitters: SLD Weight Matrix Fitter. SLD Weight Matrix Fitter. Single Detector or Combined fit (e.g. VTX+TPC). Single Detector or Combined fit (e.g. VTX+TPC). Kalman Fitter* Kalman Fitter* MIP Tracking in Cal (  ’s, track starting). MIP Tracking in Cal (  ’s, track starting).

Calorimeter Clustering Cluster Interface defined, several clustering algorithms currently implemented. Cluster Interface defined, several clustering algorithms currently implemented. MC “Cheater”, “Nearest” Neighbor, Fixed-cone, … MC “Cheater”, “Nearest” Neighbor, Fixed-cone, … Cluster QA package developed. Cluster QA package developed. Cluster Refinements: Cluster Refinements: Combining HAD + EM clusters. Combining HAD + EM clusters. Endcap + Barrel overlap region. Endcap + Barrel overlap region. Identify cluster as originating from charged or neutral hadron, EM. Identify cluster as originating from charged or neutral hadron, EM.

Reconstructed Particle/ Jet Finding Particle Flow algorithms being developed with minimal coupling to specific detector designs. Particle Flow algorithms being developed with minimal coupling to specific detector designs. Photon and muon reconstruction fairly mature. Photon and muon reconstruction fairly mature. Emphasis on track-following for charged hadrons. Emphasis on track-following for charged hadrons. MIP reconstruction quite promising. MIP reconstruction quite promising. Canonical data samples identified and will be used to characterize detector response. Canonical data samples identified and will be used to characterize detector response. Systematic investigation of Systematic investigation of  jet-jet mass as a function of B n R m a p l q (B-field, Cal radius, Cal cell area, Cal longitudinal segmentation), material and readout technology employing a Particle Flow paradigm being undertaken.

Java, Python, Pnuts editor Dataset, Program, AIDA Explorer Scripting Console JAS3 IDE Tutorial: Tutorial: Event Browser Histogram & ntuple analysis, fitting

WIRED Event Display Tree controls visibility. (HepRep2 support in WIRED3 is preliminary) Picking supports viewing physics attributes

Next Generation (org.lcsim) Goals Retain core functionality from hep.lcd package. Retain core functionality from hep.lcd package. Full suite of reconstruction and analysis tools available to all LCIO users. Full suite of reconstruction and analysis tools available to all LCIO users. Update to use LCIO for I/O and as basis for simulation, raw data and reconstruction event formats. Update to use LCIO for I/O and as basis for simulation, raw data and reconstruction event formats. Update/simplify framework using experience from hep.lcd. Update/simplify framework using experience from hep.lcd. Internationalization: Internationalization: Try to make package independent of detector & geometry assumptions so can work with any detector. Try to make package independent of detector & geometry assumptions so can work with any detector. Read properties of detectors at runtime. Read properties of detectors at runtime. Update to Java 1.5. Update to Java 1.5. Many improvements since hep.lcd framework was created. Many improvements since hep.lcd framework was created. Revitalize work on reconstruction algorithms. Revitalize work on reconstruction algorithms.

Conclusions ILC Detector design is an area of active development with many design choices, requiring close coupling of design, simulation, and reconstruction. ILC Detector design is an area of active development with many design choices, requiring close coupling of design, simulation, and reconstruction. Ease of use and speed of development are essential for physicists conducting ILC studies part-time & in a heterogeneous environment. Ease of use and speed of development are essential for physicists conducting ILC studies part-time & in a heterogeneous environment. A fairly complete suite of simulation tools written in Java exists and is being successfully used for these studies. A fairly complete suite of simulation tools written in Java exists and is being successfully used for these studies.

Links linearcollider.org linearcollider.org linearcollider.org ILC Simulations: ILC Simulations: hep.lcd: hep.lcd: Tutorials: Tutorials: JAS3: JAS3: WIRED: WIRED: HepRep: HepRep: LCIO: LCIO: Discussion Forums: Discussion Forums: (linear collider specific) (linear collider specific) (general JAS, Wired etc) (general JAS, Wired etc)

Related Talks LCIO - A persistency framework and data model for the linear collider, Frank Gaede WIRED 4 - A generic Event Display plugin for JAS 3, Mark Dönszelmann AIDA, JAIDA and AIDAJNI: Data Analysis using interfaces, Victor Serbo Interactive Data Analysis on the Grid using Globus 3 and JAS3, Tony Johnson Writing Extension Modules (Plug-ins) for JAS3, Mark Dönszelmann