DD4hep-Based Reconstruction. N. Nikiforou, CERN/PH-LCD On behalf of the CLICdp Collaboration and the Linear Collider DD4hep WG

Similar documents
DD4hep Based Event Reconstruction

DD4hep Based Event Reconstruction

ILC Software Overview and recent developments

AIDA-2020 Advanced European Infrastructures for Detectors at Accelerators. Presentation. ILD simulation model

Preparation of ilcsoft v

Mokka, Marlin and friends

Frank Gaede, ECFA SW & Physics Simulation Phone Meeting, June 21, News on Core Software Tools

The CLICdp Optimization Process

Simulation and data reconstruction framework slic & lcsim. Norman Graf, Jeremy McCormick SLAC HPS Collaboration Meeting May 27, 2011

Cluster errors and Truth information Algorithms

SiD Simulation & Reconstruction. Norman Graf (for the sim/reco team) LCWS 2010, Beijing March 28, 2010

Marlin et al Introduction to ILC LDC Simulation and Reconstruction Software

Frank Gaede, ILC Detector Workshop, Snowmass, Aug 14 27, Introduction to ILC LDC Simulation and Reconstruction Software

LCDG4 Status. Dhiman Chakraborty, Guilherme Lima, Jeremy McCormick, Vishnu Zutshi. LC Simulations Workshop Argonne, June 02 05, 2004

The LHCb Alignment Framework

Simulation and Detector Geometry

Geant4 activities at DESY

A Topologic Approach to Particle Flow PandoraPFA

A Topologic Approach to Particle Flow PandoraPFA

Frank Gaede, DESY, SLAC Simulation Meeting March 16/ Persistency and Data Model for ILC Software

A flexible approach to clusterfinding in generic calorimeters of the FLC detector

ILC Framework for Belle II

Defining Your Detector. Tony Johnson/Jeremy McCormick/Norman Graf SLAC

PXD Simulation and Optimisation Studies

EicRoot for tracking R&D studies

Frank Gaede, DESY, LCWS 2005, Stanford, CA March Overview of Simulation and Reconstruction Tools in Europe

Simulation and Physics Studies for SiD. Norman Graf (for the Simulation & Reconstruction Team)

CMS Simulation Software

LCIO: A Persistency Framework and Event Data Model for HEP. Steve Aplin, Jan Engels, Frank Gaede, Norman A. Graf, Tony Johnson, Jeremy McCormick

Full Simulation of Belle & Belle II SVD Detector (within ILC Framework)

SiD VXD Conceptual Design Su Dong SLAC

Detector Response Simulation

The Pandora software development kit for pattern recognition

Physics and Detector Simulations. Norman Graf (SLAC) 2nd ECFA/DESY Workshop September 24, 2000

DD4hep. DD4hep User Manual. DD4hep authors October 17, Version

Full Silicon Tracking Studies for CEPC

Simulation Study for EUDET Pixel Beam Telescope using ILC Software

Optimisation Studies for the CLIC Vertex-Detector Geometry

LAr Event Reconstruction with the PANDORA Software Development Kit

org.lcsim Reconstruction and Analysis framework for ILC Detectors Tony Johnson SLAC July 2006

Simulation study for the EUDET pixel beam telescope

ATLAS ITk Layout Design and Optimisation

Update of the BESIII Event Display System

LCIO - A persistency framework for linear collider simulation studies

LDC Tracking Package User's Manual

MOKKA. Database. So#ware

A Novel Strip Energy Splitting Algorithm for the Fine Granular Readout of a Scintillator Strip Electromagnetic Calorimeter

org.lcsim Reconstruction and Analysis package

Update of the BESIII Event Display System

A Novel Strip Energy Splitting Algorithm for the Fine Granular Readout of a Scintillator Strip Electromagnetic Calorimeter

Linear Collider Physics & Detector Simulation Software. Norman Graf SLAC July 21, 2006

ALCPG Detector Software Development. Norman Graf (SLAC) ALCPG Physics & Detector Simulation & Reconstruction Group

LCDG4 at NIU Status and Plans

ILC Detector Simulations: Overview of the US Framework

Tracking and Vertexing in 3D B-field

GAUDI - The Software Architecture and Framework for building LHCb data processing applications. Marco Cattaneo, CERN February 2000

Klaus Dehmelt EIC Detector R&D Weekly Meeting November 28, 2011 GEM SIMULATION FRAMEWORK

for the DESY/ ECFA study detector

The Silicon Tracking System: Mechanical Integration and Alignement

Test Beam Task List - ECAL

EicRoot software framework

8.882 LHC Physics. Track Reconstruction and Fitting. [Lecture 8, March 2, 2009] Experimental Methods and Measurements

Event Displays and LArg

Deep Learning Photon Identification in a SuperGranular Calorimeter

Mokka, main guidelines and future

CLAS 12 Reconstruction Software

Modelling of non-gaussian tails of multiple Coulomb scattering in track fitting with a Gaussian-sum filter

Atlantis event display tutorial

The Pandora Software Development Kit for. - Particle Flow Calorimetry. Journal of Physics: Conference Series. Related content.

Charged particle detection performances of CMOS Pixel Sensors designed in a 0.18 µm CMOS process based on a high resistivity epitaxial layer

Analogue, Digital and Semi-Digital Energy Reconstruction in the CALICE AHCAL

Electron and Photon Reconstruction and Identification with the ATLAS Detector

Using Fluxes and Geometries

A Geometrical Modeller for HEP

Design of the new ATLAS Inner Tracker (ITk) for the High Luminosity LHC

Beam test measurements of the Belle II vertex detector modules

Cut per region. Marc Verderi GEANT4 collaboration meeting 01/10/2002

Integrated CMOS sensor technologies for the CLIC tracker

Fast pattern recognition with the ATLAS L1Track trigger for the HL-LHC

R3BRoot Framework. D. Kresan GSI, Darmstadt. First R3BRoot Development Workshop July 28 30, 2015 GSI, Darmstadt

The Run 2 ATLAS Analysis Event Data Model

Automation and Testing for Simplified Software Deployment

The CMS L1 Global Trigger Offline Software

CLAS12 Offline Software Tools. G.Gavalian (Jlab) CLAS Collaboration Meeting (June 15, 2016)

PATHFINDER A track finding package based on Hough transformation

Tracking and Vertexing performance in CMS

The AMS-02 Anticoincidence Counter. Philip von Doetinchem I. Phys. Inst. B, RWTH Aachen for the AMS-02 Collaboration DPG, Freiburg March 2008

GLAST tracking reconstruction Status Report

ATLAS Tracking Detector Upgrade studies using the Fast Simulation Engine

New results from LDCPrime optimization studies

Power Rail Overhead Line. Håkan Norling - Professional Services Richard W. Bradshaw Development Date

Muon Reconstruction and Identification in CMS

Introduction. Bill Cooper LDC Meeting May 25,

DQM4HEP - A Generic Online Monitor for Particle Physics Experiments

Gamma-ray Large Area Space Telescope. Work Breakdown Structure

ACTS: from ATLAS software towards a common track reconstruction software

ProIO Key Concepts. ProIO is for PROS! right in the name

FAMOS: A Dynamically Configurable System for Fast Simulation and Reconstruction for CMS

PAGE LAYOUT IN GRAPHIC DESIGN Where do you start when you want to create an attractive and effective design?

Computing in High Energy Physics An Introductory Overview

Transcription:

DD4hep-Based Reconstruction N. Nikiforou, CERN/PH-LCD On behalf of the CLICdp Collaboration and the Linear Collider DD4hep WG 1

Introduction: chain currently in use LCIO Persistency Framework Generator Geant4 Simulation (e.g. Mokka) Java, C++, Fortran Reconstruction Java, C++, Fortran Analysis F. Gaede GEAR file (geometry) 2

Introduction The GEAR toolkit has served us well over the years Nice, human readable, slimmed-down description of detector geometry But tied to ILD geometry and evolution of supported structures is not trivial For a non ILD-type geometry, need hacks to create stuctures that GEAR understands Or have to add extra string constants Can explode very quickly Always have to pass along information using a gear file from stage to stage in the chain We are now building our Simulation and Reconstruction software around DD4hep Aims to alleviate some of these problems 3

DD4hep motivation and goals Complete detector description Includes geometry, materials, visualization, readout, alignment, calibration, etc. Support full experiment life cycle Detector concept development, detector optimization, construction, operation Easy transition from one phase to the next Consistent description, single source of information Use in simulation, reconstruction, analysis, etc. Ease of use Few places to enter information Minimal dependencies 4

What is detector description Description of a tree-like hierarchy of detector elements Subdetectors or parts of subdetectors Detector Element describes 5 Geometry Environmental conditions Properties required to process event data Extensions (optionally): experiment, sub-detector or activity specific data, measurement surfaces, Detector Vertex Tracker ECal. HCal.. Ladder. EndA EndB Geometry Alignment Conditions Readout Visualization Subdet. data Reconstr. data Module Sector1 M. Frank

DD4hep components DD4hep: basics/core Basically stable DDG4: Simulation using Geant4 Validation ongoing DDRec: Reconstruction support Driven by LC Community Covered in this talk DDAlign, DDCond : Alignment and Conditions support Being developed DDRec DDCond http://aidasoft.web.cern.ch/dd4hep 6

DD4hep The big picture (Highlighting the reconstruction path) Compact description xml Geometry Geometry Display Display Detector constructors Detector constructors c++ python (Via ROOT OpenGL Viewer) (Via ROOT OGL geodisplay Viewer) tevedisplay Generic Detector Description Model Based on ROOT TGeo c++ Conditions DB Alignment / Calibration Extensions where required GDML/LCDD Converter xml TGeo G4 converters Reconstruction Extensions Analysis Extensions ROOT GDML Visualization, Geant4, slic, 7 Geant4 Program ddsim Event Display (less geometry detail) CED Reconstruction Program Marlin Analysis Program M. Frank

Detector drivers and extensions <detector id="detid_hcal_barrel" name="hcalbarrel" type="hcalbarrel_o1_v01" readout="hcalbarrelhits" vis="hcalvis" > <dimensions nsides="hcal_symm" rmin="hcal_rin" z="hcal_z" /> <layer repeat="(int) HCal_layers" vis="hcallayervis" > <slice material="steel235" thickness="0.5*mm" vis="absvis"/> <slice material="steel235" thickness="19*mm" vis="absvis"/> <slice material="polysterene" thickness="3*mm" sensitive="yes"/> <slice material="pcb" thickness="0.7*mm"/> <slice material="steel235" thickness="0.5*mm" vis="absvis"/> <slice material="air" thickness="2.7*mm"/> </layer> </detector> Fairly scalable and flexible drivers (Generic driver palette available) Example C++ code in backup Visualization, Radii, Layer/module composition in compact xml Example above Volume building in C++ driver User decides balance between detail and flexibility Once you have the detector geometry, you can extend it, i.e. add more information using the Reconstruction Extensions this later) (more on 8

Currently: PandoraPFA and GEAR Pandora is the main user of the high-level geometry information provided by GEAR Package MarlinPandora translates the GEAR geometry (and LCIO Calorimeter hits/tracks) to the format required by the Pandora API It s also significantly tied to the ILD detector concept PandoraAPI Marlin Steering File PandoraPFANewProcessor parameters: Pandora API Settings Collection names Calibration constants and cuts Extra geometry information E.g. AbsorberRadiationLength PandoraPFANew Processor GEAR instance in Marlin Auxiliary classes MCParticleCreator PfoCreator GeometryCreator CaloHitCreator TrackCreator 9

DDMarlinPandora New package DDMarlinPandora, direct copy of MarlinPandora DD4hep as single source of information No material or other geometry info in processor parameters Also tried to uncouple from ILD-specific geometry PandoraAPI Marlin Steering File DDPandoraPFANewProcessor parameters: Pandora API Settings Collection names Calibration constants and cuts Subdetector names TrackCreator algorithm DDPandoraPFANew Processor DD4hep LCDD instance in Marlin Auxiliary classes MCParticleCreator PfoCreator GeometryCreator CaloHitCreator DDTrackCreatorBase DDTrackCreatorCLIC OR DDTrackCreatorILD 10

But What are Reconstruction Extensions? The user can attach any object that could help in reconstruction to a DetElement Uses the DD4hep extension mechanism We identify a couple of possible options: Objects that directly manipulate the in-memory geometry to dynamically calculate quantities requested by the reconstruction algorithms (did not really catch on yet) GEAR-like simple data structures that get filled by the detector constructor at creation time (simplest way to start) Surfaces: special type of extension foreseen mainly for tracking Kind of a mix of the above: provides static as well as dynamic info 11

DDRec Data Structures Extend subdetector driver with arbitrary user data Summary of more abstract information useful for reconstruction Mainly serve DDMarlinPandora, but other use cases: Auxiliary information for tracking E.g. global information like number of layers which you don t want to keep calculating on the fly from surfaces Slimmed-down geometry for a faster event display (e.g. CED) Populate during driver construction Driver has access to all the information Take advantage of material map OR Could even write a plugin that operates on the subdetector to extend it without modifying it Promotes subdetector driver sharing 12

LayeredCalorimeterStruct e.g: attach a LayeredCalorimeterStruct to the DetElement for HCalBarrel Developed with needs of Pandora in mind Fill all the dimension, symmetry and other info (almost definitely known to the driver) Fill a vector of substructures with info on the layers Sum/average material properties from each slice: nradlengths += slice_thickness/(2*slice_material.radlength()); nintlengths += slic_thickness/(2*slice_material.intlength()); thickness_sum += slice_thickness/2; HCalBarrel LayeredCalorime terstruct + extent + outer_symmetry + inner_symmetry + outer_phi0 + layers layers LayeredCalorimeter Struct::Layer + distance + cellsize0 + inner_thickness + inner_nintlengths + outer_nradlengths + After you are done, add the extension to the detector: sdet.addextension<ddrec::layeredcalorimeterdata>(calodata); 13

More DDRec Structures More simple data structures available in DD4hep/DDRec/DetectorData.h: FixedPadSizeTPCData: Cylindrical TPC with fixed-size pads ZPlanarData: Si tracker planes parallel to z ZDiskPetalsData: Si tracker disks ConicalSupport: e.g. beampipe Please consult documentation for conventions on the relevant quantities 14

A word on validation We are validating the new method against the old one One way is to use a very nice monitoring/debug feature of the Pandora API: you can dump the geometry data and the event data as understood by Pandora PandoraGeometry.xml: list of subdetectors with their dimensions, symmetry, layer makeup, etc PandoraEvents.xml: list of events with their CaloHit and Track properties, MCParticles, etc Comparing the dumps from GEAR+MarlinPandora with the ones from DD4hep+DDMarlinPandora we obtained an almost perfect agreement Comparison of performance in physics events ongoing 15

Measurement surfaces Special type of extension, used primarily in tracking Did not find an implementation in TGeo Implemented in DDRec Attached to DetElements and Volumes (defining their boundaries) Can be added to drivers via plugins without modifying detector constructor They hold u,v,normal and origin vectors and inner/outer thicknesses Material properties averaged automatically Could also be used for fast simulation Outlines of surfaces drawn in tevedisplay for CLICdp Vertex Barrel and Spiral Endcaps See talks by F. Gaede (Tuesday afternoon) and R. Simoniello (Thursday afternoon) 16

Surfaces and Hits in tevedisplay F. Gaede 17

Event simulated, reconstructed and visualized fully with DD4hep S. Lu ILD_o1_v05 model implemented in DD4hep Z uds event at s = 500 GeV simulated in DDSim Tracks reconstructed using DDSurfaces PFOs from DDMarlinPandora using the DDRec data structures Event display from the CED viewer interfaced with DD4hep Also uses DDRec and DDSurfaces 18

Summary DD4hep provides consistent single source of detector geometry for simulation, reconstruction, analysis ILD and CLICdp are moving to a DD4hep-based reconstruction For calorimeter and Particle Flow reconstruction a new package called DDMarlinPandora was created Interfaces Pandora with geometry provided by DD4hep Uses the DDRec reconstruction data structures Not tied to a particular detector design For tracking: primarily using surfaces attached to the detector elements 19

BACKUP SLIDES 20

Current DD4hep Toolkit Users F. Gaede et al., ported complete model ILD_o1_v05 from DD4hep DDG4 ILD previous simulation framework (Mokka) New detector model being implemented after CDR, CLICdp geometry under optimization FCC-eh P. Kostka et al. FCC-hh A. Salzburger et al. Feedback from users is invaluable and helps shaping DD4hep! 21

Geometry Implementation Subdetector Hierarchy (Tree) 0 n Detectors DetectorElement children 1..n detector: 1 placements: 0 1 0 1 Alignment Conditions Readout Visualization visattr: 0 1 Subdetector status (conditions) Segmentation M. Frank PlacedVolume [TGeoNode] volume: 1 LogicalVolume Material GDML content transform: 1 Geometry [TGeoMatrix] Envelope [TGeoShape] [TGeoBox] [TGeoCone]. [TGeoTube] 22

CLIC_SID_CDR Tracker DD4hep/examples/CLICSiD Visualized here in geodisplay Around Vertex Detector and beampipe <detector name="sitrackerbarrel" type="sitrackerbarrel" readout="sitrackerbarrelhits" reflect="true"> The same tracker visualized with ROOT s TGeoManager using and intermediate GDML file dumped from Geant4 after loading geometry from DD4hep 23

Example HCal Barrel Driver Always within a function called static Ref_t create_detector(lcdd& lcdd, xml_h e, SensitiveDetector sens) { return sdet; } Macro to declare detector constructor at the end: DECLARE_DETELEMENT(HCalB arrel_o1_v01, create_detector) 24

LayeredCalorimeterStruct 25