John Marshall, 1 John Marshall, University of Cambridge LCD-WG2, May 6 2010.

Slides:



Advertisements
Similar presentations
John Marshall, 1 John Marshall, University of Cambridge LCWS11, Granada, September
Advertisements

John Marshall, 1 John Marshall, University of Cambridge ILD Workshop, LAL Orsay, May
John Marshall, 1 John Marshall, University of Cambridge ILD Workshop, DESY, July
1 Reconstruction of Non-Prompt Tracks Using a Standalone Barrel Tracking Algorithm.
14 Sept 2004 D.Dedovich Tau041 Measurement of Tau hadronic branching ratios in DELPHI experiment at LEP Dima Dedovich (Dubna) DELPHI Collaboration E.Phys.J.
1 N. Davidson E/p single hadron energy scale check with minimum bias events Jet Note 8 Meeting 15 th May 2007.
Ties Behnke, Vasiliy Morgunov 1SLAC simulation workshop, May 2003 Pflow in SNARK: the next steps Ties Behnke, SLAC and DESY; Vassilly Morgunov, DESY and.
 Track-First E-flow Algorithm  Analog vs. Digital Energy Resolution for Neutral Hadrons  Towards Track/Cal hit matching  Photon Finding  Plans E-flow.
Energy Flow Studies Steve Kuhlmann Argonne National Laboratory for Steve Magill, U.S. LC Calorimeter Group.
CMS Full Simulation for Run-2 M. Hildrith, V. Ivanchenko, D. Lange CHEP'15 1.
1 N. Davidson Calibration with low energy single pions Tau Working Group Meeting 23 rd July 2007.
SIMULATION STUDIES AT SANTA CRUZ Bruce Schumm University of California at Santa Cruz ALCPG Workshop, Vancouver July 19-22, 2006 Special Recognition: Eric.
Photon reconstruction and calorimeter software Mikhail Prokudin.
John Marshall, 1 John Marshall, University of Cambridge ILD Workshop, LAL Orsay, May
E. Devetak - LCWS t-tbar analysis at SiD Erik Devetak Oxford University LCWS /11/2008 Flavour tagging for ttbar Hadronic ttbar events ID.
Progress with the Development of Energy Flow Algorithms at Argonne José Repond for Steve Kuhlmann and Steve Magill Argonne National Laboratory Linear Collider.
Energy Flow and Jet Calibration Mark Hodgkinson Artemis Meeting 27 September 2007 Contains work by R.Duxfield,P.Hodgson, M.Hodgkinson,D.Tovey.
John Marshall, 1 John Marshall, University of Cambridge IWLC2010, Geneva, October
Preliminary comparison of ATLAS Combined test-beam data with G4: pions in calorimetric system Andrea Dotti, Per Johansson Physics Validation of LHC Simulation.
Status of SiD PFA Development Lei Xia (ANL – HEP) What tools do we need What tools do we need Where are we now Where are we now Future plan Future plan.
John Marshall, 1 John Marshall, University of Cambridge LCWS, Beijing, March 2010.
Cluster Finding Comparisons Ron Cassell SLAC. Clustering Studies This report studies clustering in the EM calorimeter, using SLIC simulated ttbar events.
0 Status of Shower Parameterisation code in Athena Andrea Dell’Acqua CERN PH-SFT.
Event Data History David Adams BNL Atlas Software Week December 2001.
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,
Event Reconstruction in SiD02 with a Dual Readout Calorimeter Detector Geometry EM Calibration Cerenkov/Scintillator Correction Jet Reconstruction Performance.
Event-Specific Hadronic Event Reconstruction 1 Graham W. Wilson, University of Kansas.
1 Using Jupiter and Satellites Akiya Miyamoto KEK Jan 2006.
PFA Template Concept Performance Mip Track and Interaction Point ID Cluster Pointing Algorithm Single Particle Tests of PFA Algorithms S. Magill ANL.
Development of a Particle Flow Algorithms (PFA) at Argonne Presented by Lei Xia ANL - HEP.
CaloTopoCluster Based Energy Flow and the Local Hadron Calibration Mark Hodgkinson June 2009 Hadronic Calibration Workshop.
Two Density-based Clustering Algorithms L. Xia (ANL) V. Zutshi (NIU)
1 Calorimetry Simulations Norman A. Graf for the SLAC Group January 10, 2003.
Pandora calorimetry and leakage correction Peter Speckmayer 2010/09/011Peter Speckmayer, WG2 meeting.
Results from particle beam tests of the ATLAS liquid argon endcap calorimeters Beam test setup Signal reconstruction Response to electrons  Electromagnetic.
CBM ECAL simulation status Prokudin Mikhail ITEP.
05/04/06Predrag Krstonosic - Cambridge True particle flow and performance of recent particle flow algorithms.
PFAs – A Critical Look Where Does (my) SiD PFA go Wrong? S. R. Magill ANL ALCPG 10/04/07.
Photon reconstruction and matching Prokudin Mikhail.
John Marshall, 1 John Marshall, University of Cambridge LCD-WG2, June
CALOR April Algorithms for the DØ Calorimeter Sophie Trincaz-Duvoid LPNHE – PARIS VI for the DØ collaboration  Calorimeter short description.
1 D.Chakraborty – VLCW'06 – 2006/07/21 PFA reconstruction with directed tree clustering Dhiman Chakraborty for the NICADD/NIU software group Vancouver.
Ties Behnke: Event Reconstruction 1Arlington LC workshop, Jan 9-11, 2003 Event Reconstruction Event Reconstruction in the BRAHMS simulation framework:
John Marshall, 1 John Marshall, University of Cambridge LCD Meeting, December
Fast Simulation and the Higgs: Parameterisations of photon reconstruction efficiency in H  events Fast Simulation and the Higgs: Parameterisations of.
1 OO Muon Reconstruction in ATLAS Michela Biglietti Univ. of Naples INFN/Naples Atlas offline software MuonSpectrometer reconstruction (Moore) Atlas combined.
John MarshallPandora Development1 J.S. Marshall University of Cambridge.
Individual Particle Reconstruction The PFA Approach to Detector Development for the ILC Steve Magill (ANL) Norman Graf, Ron Cassell (SLAC)
John Marshall, 1 John Marshall, University of Cambridge LCD Software Meeting, September
1 S, Fedele, Student Presentations, 2004/08/04S Amazing Title Slide Reworking the CES Cluster Reconstruction Algorithm By: Steve Fedele Advisor: Pavel.
Mark Thomson University of Cambridge High Granularity Particle Flow Calorimetry.
09/06/06Predrag Krstonosic - CALOR061 Particle flow performance and detector optimization.
DESY1 Particle Flow Calorimetry At ILC Experiment DESY May 29 th -June 4 rd, 2007 Tamaki Yoshioka ICEPP, Univ. of Tokyo Contents.
J. S. MarshallPandora PFA1 Pandora Particle Flow Calorimetry Tuesday 29 th January 2013 J. S. Marshall University of Cambridge.
John Marshall, 1 John Marshall, University of Cambridge LCD-WG2, July
John Marshall, 1 John Marshall, University of Cambridge LCD WG6 Meeting, February
MAUS Status A. Dobbs CM43 29 th October Contents MAUS Overview Infrastructure Geometry and CDB Detector Updates CKOV EMR KL TOF Tracker Global Tracking.
A Study on Leakage and Energy Resolution
Status of Reconstruction Studies for a Realistic Detector Ron Cassell SiD Workshop Nov. 15, 2010.
Erik Devetak Oxford University 18/09/2008
slicPandora: slic + pandoraPFANew
Studies with PandoraPFA
Individual Particle Reconstruction
Linear Collider Simulation Tools
Argonne National Laboratory
Detector Optimization using Particle Flow Algorithm
Michele Faucci Giannelli
Linear Collider Simulation Tools
Steve Magill Steve Kuhlmann ANL/SLAC Motivation
Presentation transcript:

John Marshall, 1 John Marshall, University of Cambridge LCD-WG2, May

John Marshall, 2 Pandora Redesign Whilst Pandora works very well, old code has reached a point where it is extremely difficult to extend. It is not flexible enough to try out new ideas and improvements... ILD Letter of Intent version of Pandora has been frozen and a new version is being written from scratch. This is much more than just a re-implementation, it is a major redesign; Pandora is now a framework for running decoupled particle flow algorithms: Increased flexibility, designed to make it easy to try out new ideas Independent of any specific software framework and any specific detector details Properly designed code, taking findings from previous PFAs into account, makes it easier to maintain Easier for other people to get involved; simple for users to create and run their own algorithms Pandora framework helps separate physics in particle flow algorithms from C++ memory management The new Pandora is a separate library, with no dependencies. A user application, in any framework, accesses the library via a simple C++ API (application programming interface). Will now give a very brief overview of new Pandora framework and summarise the current status (for more detail, please see slides presented at LCWS10)...LCWS10

John Marshall, 3 New Pandora Structure Specify Geometry Create Calo Hits Create Tracks Create MC Particles Register User Algorithms Clustering Algorithm Topological Association Algorithms Statistical Reclustering Algorithm Photon ID Algorithm Fragment Removal Algorithms Track-cluster Association Algorithms PFO Construction Algorithm Pandora Algorithm Manager Calo Hit Manager Cluster Manager MC Manager Geometry Helper Pandora Settings Track Manager Particle Flow Object Manager Get Particle Flow Objects User Application:Pandora Framework, can treat as “black box”: Pandora Algorithms: Pandora API Pandora Content API

John Marshall, 4 Pandora API To run Pandora, a user needs to write a small application in their chosen software framework. This application uses the PandoraAPI to supply Pandora with details of the detector geometry and of the calo hits and tracks in each event. Pandora then builds its own simple objects. Construction of these objects is simple; the user makes a Parameters class, fills the member variables and then calls the API Create function. Example member variables for a track: d0, z0, track state at start, track state at ECal, etc. All member variables must be specified, or an exception will be thrown when Create is called. The user can provide this information in any order, then call the API ProcessEvent function. Finally, user calls the API GetParticleFlowObjects function. Pandora API Pandora Calo Hit Manager Cluster Manager Track Manager MC Manager Particle Flow Object Manager User Application, e.g. ILDPandora PandoraApi::Track::Parameters parameters; parameters.m_d0 =...;... PandoraApi::Track::Create(pandora, parameters);

John Marshall, 5 Pandora Objects Calo Hit Position + normal vectors Calorimeter cell size Absorber material in front of cell Time of first energy deposition Calibrated energy (mip equivalent, EM, Had) Layer + pseudolayer Hit type + detector region Density weight Surrounding energy IsDigital, IsIsolated + IsPossibleMip flags Associated MC particle Associated user object Track 2D impact parameters Momentum at d.c.a Particle mass Charge sign Start track state End track state ECal track state ReachesECal flag List of track state projections to calorimeter surfaces Associated cluster Associated MC particle Associated user object PFO formation flag “Clusterless” PFO formation flag Cluster List of constituent calo hits, ordered by pseudolayer Mip fraction EM energy measure Had energy measure Corrected energy estimates Initial direction Current direction Result of linear fit to all hits in cluster Energy-weighted centroid ShowerStart layer Shower profile properties List of associated tracks Particle Flow Object PDG Code Charge Mass Energy Momentum List of tracks List of clusters Mixture of properties specified by user and value-added properties, but all simple and well defined physics quantities for use in particle flow algorithms.

John Marshall, 6 Pandora Managers Pandora Calo Hit Manager Cluster Manager Track Manager MC Manager Particle Flow Object Manager Pandora Managers are designed to store named lists of their respective objects. These objects can be accessed by the Pandora Algorithms, which perform the reconstruction. The algorithms interact with the Managers in a controlled way, via PandoraContentAPI, and the Managers perform the memory management. At any instant each Manager has a “current” list, which can be accessed by an algorithm. Parent algorithms can manipulate the current list in order to control scope and behaviour of daughter algorithms. The Managers store information about currently running algorithms so they can keep track of lists. Algorithms can use the PandoraContentAPI to modify lists and/or save new lists. Algorithms can use the API without worrying about how the managers work – separation of physics and C++ memory management! Pandora Content API e.g. Clustering Algorithm

John Marshall, 7 Pandora Algorithms In the new Pandora framework, the algorithms contain almost exclusively physics-driven code, alongside the following typical usages of the PandoraContentAPI: Create new clusters and particle flow objects Modify clusters, by adding hits, merging or deleting Access the current lists of Pandora objects Save new lists of clusters, calo hits or tracks Run a daughter algorithm, etc... Static helper functions are provided to perform tasks that are useful to multiple algorithms, and the Pandora algorithms are configured via xml and can be swapped in/out without recompiling. Pandora will provide a comprehensive library of built-in algorithms. However, we want other people to get involved: Easy for a user to create their own algorithm and we provide a template. User then calls API functions and implements their own algorithm logic. Once the algorithm settings are added to the xml file (an XmlHelper makes this easy), the algorithm will then run in the Pandora framework, without needing to rebuild the Pandora library. At LCWS10, presented details of re-implementation of Pandora algorithms, together with first low energy (91GeV) results. Will now quickly summarise these results, before discussing the most recent changes...LCWS10

John Marshall, 8 Completed Algorithms Looping tracks Cone associations Back-scattered tracks 9 GeV 6 GeV Layers in close contact 9 GeV 6 GeV 3 GeV Fraction of energy in cone Neutral hadron Charged hadron Photon Clustering Algorithm Topological Association Algorithms Photon ID Algorithms Fragment Removal Algorithms Track-cluster Association Algorithms PFO Construction Algorithm Cluster first layer position Projected track position Cone-based forward projective method

John Marshall, 9 Results at 91GeV First tests were performed for the ILD detector concept, using MC samples of approximately 10,000 Z  uds generated with the Z decaying at rest with E z = 91.2GeV. At this energy, all newly implemented code and framework is exercised, without (a strong) need for statistical reclustering and/or leakage corrections. For fair comparison, reclustering, leakage corrections and all use of track-relationship information was turned off in old Pandora (at the time, was still work in progress for new Pandora). Excellent agreement observed, by construction.  E / E (rms 90 ) = 3.79% All Events, 91GeV PFO energy sum, old vs. new

John Marshall, 10 Reclustering Algorithms that “steer” the reclustering have now been fully implemented and validated. Have deviated from old Pandora here, tidying the algorithms and more clearly defining the role of each. Introduces some small differences between new and old Pandora output. However, extensive validation shows that results remain statistically identical to old Pandora. 12 GeV32 GeV 18 GeV 30 GeV Track 38 GeV At high jet energies, performance degrades due to increasing overlap between hadronic showers from different particles: Pandora addresses this problem with statistical reclustering: Clusters that have been incorrectly merged together are identified via consistency of cluster energy and associated track momentum. Attempts are made to redistribute the hits by using different clustering parameters or entirely different clustering algorithms.

John Marshall, 11 Reclustering As expected, reclustering algorithms are very important at higher energies. All Events, 200GeV All Events, 360GeV All Events, 500GeV

John Marshall, 12 Track Relationships Pass/fail track pfo selection cuts Kink (or Split) Prong VV VV Cluster associated with track E = E daughter P = P daughter q= q daughter PID = PID parent E =  good daughters P =  P good daughters q= q parent PID = PID parent E = E good daughter P = P good daughter q=  q both daughters PID: examine track PIDs E =  E daughters P =  P daughters q=  q daughters PID: examine track PIDs New Pandora code allows track parent, daughter and sibling relationships to be specified. Uses this information when determining which tracks can be associated to clusters and when building charged PFOs. For ILD, extract track relationships from v  and kink finders in MarlinReco. Charged PFOs are built using illustrated rules. Require at least one track with a cluster association, or a track which is deemed to be low p T

John Marshall, 13 Photon Recovery Photon-like cluster Mip-like cluster Have recently implemented a cluster fragmentation mechanism. This can be considered as a “local reclustering”: A cluster can be broken up into different combinations of smaller fragments. The original cluster and all fragment combinations can still be accessed and their properties queried. When the best fragment combination has been identified, call EndFragmentation API. ClusterLists will be tidied accordingly, any temporary clusters created will be deleted. This functionality has been used in a newly implemented PhotonRecovery algorithm, which splits clusters up into photon-like fragments and mip-like fragments. Further photon id helper functions, based on shower-profiles, have also been implemented.

John Marshall, 14 Remaining Work 1. Leakage correction For high energy jets, non-containment of showers is significant. To address this issue, have successfully reproduced old Pandora identification of clusters exiting the detector. Currently use this information when e.g. considering track-cluster consistency in reclustering. Now need to reproduce old Pandora use of muon chamber information to estimate leakage and energy deposition in the coil. However, this treatment is rather crude and will eventually be replaced. 2. Photon clustering 3. Consolidation, profiling and cpu/memory usage improvements Peter has been working on an algorithm that runs the main clustering algorithm, applies a shower-profile based selection and saves identified photon clusters as a separate named cluster list. The removal of these clusters allows for improved identification of hadronic showers when the clustering algorithm is called again. Can simply “plug-in” this algorithm to provide additional photon id, without any other changes. Would like to include this in first official release of PandoraPFANew, but it still requires thorough validation.

John Marshall, 15 Plans for next few months Pandora provides some simple cluster energy corrections, which remove effects of calo hits with anomalously high energies. The corrected cluster energy is used in comparisons with track momenta and when creating neutral PFOs. Energy correction functionality is designed to be modular. If a function asks for corrected energy, cluster will redirect to a helper function to provide the correction. Corrected energy is then cached in the cluster until cluster changes. We will provide a simple API so that a user can change a function pointer in the helper class, allowing them to use their own Energy Correction function. Work is already under way to investigate a software-compensation based correction (Katja and Frank). Energy Corrections Particle identification Just as a user can change the energy correction function, the modular structure of PandoraPFANew will allow a user to register different particle identification functions. As the functions may be compiled as part of the user application, these can be detector specific functions. We encourage people with existing particle id functions to get involved; we are interested in both “fast” (an indication) and “full” (accurate) versions of these functions. Modular PandoraPFANew allows the user application to change the energy corrections and particle id functions without even needing to rebuild the Pandora library.

John Marshall, 16 Summary The new Pandora framework is complete and has been rigorously tested. It is stable and has been unchanged for over six months now. Most of the Pandora algorithms have been fully implemented and validated, reproducing the old Pandora results. To complete the reconstruction, need to address leakage. Then want to consolidate this first complete version of code, which renders old Pandora code obsolete. Current applications that use the Pandora library: ILD Pandora application completed (our default test application), Norman Graf and Jeremy McCormick working on SlicPandora application, Every Pandora algorithm is automatically and instantly available for both ILD and SiD concepts. Have many ideas for moving forwards and improving Pandora within the new framework: New clustering algorithms, Long list of topological association improvements, Improved treatment of leakage, Particle identification and energy correction helper functions, Easy for other people to get involved and write new algorithms or contribute ideas...