John Marshall, 1 John Marshall, University of Cambridge LCD Meeting, December 15 2009.

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
Particle Flow Template Modular Particle Flow for the ILC Purity/Efficiency-based PFA PFA Module Reconstruction Jet Reconstruction Stephen Magill Argonne.
1 Reconstruction of Non-Prompt Tracks Using a Standalone Barrel Tracking Algorithm.
Ties Behnke, Vasiliy Morgunov 1SLAC simulation workshop, May 2003 Pflow in SNARK: the next steps Ties Behnke, SLAC and DESY; Vassilly Morgunov, DESY and.
PFA on SiDaug05_np Lei Xia ANL-HEP. PFA outline Calibration of calorimeter –Done –Not tuned for clustering algorithm Clustering algorithm –Done: hit density.
Some early attempts at PFA Dhiman Chakraborty. LCWS05 Some early attempts at PFA Dhiman Chakraborty2 Introduction Primarily interested in exploring the.
 Track-First E-flow Algorithm  Analog vs. Digital Energy Resolution for Neutral Hadrons  Towards Track/Cal hit matching  Photon Finding  Plans E-flow.
Individual Particle Reconstruction Norman Graf SLAC April 28, 2005.
LPC Jet/Met meeting 1/12/2006L. Perera1 Jet/Calorimeter Cluster Energy Corrections – Status Goal: To improve the individual jet energy determination based.
PFA Development – Definitions and Preparation 0) Generate some events w/G4 in proper format 1)Check Sampling Fractions ECAL, HCAL separately How? Photons,
SIMULATION STUDIES AT SANTA CRUZ Bruce Schumm University of California at Santa Cruz ALCPG Workshop, Vancouver July 19-22, 2006 Special Recognition: Eric.
Cluster finding in CALICE calorimeters Chris Ainsley University of Cambridge, UK General CALICE meeting: simulation/reconstruction session 28  29 June.
Photon reconstruction and calorimeter software Mikhail Prokudin.
John Marshall, 1 John Marshall, University of Cambridge ILD Workshop, LAL Orsay, May
John Marshall, 1 John Marshall, University of Cambridge IWLC2010, Geneva, October
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.
BeamCal Simulations with Mokka Madalina Stanescu-Bellu West University Timisoara, Romania Desy, Zeuthen 30 Jun 2009 – FCAL Meeting.
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.
John Marshall, 1 John Marshall, University of Cambridge LCD-WG2, May
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.
John Marshall, 1 John Marshall, University of Cambridge LCD WG6 Meeting, April
Development of a Particle Flow Algorithms (PFA) at Argonne Presented by Lei Xia ANL - HEP.
Two Density-based Clustering Algorithms L. Xia (ANL) V. Zutshi (NIU)
1 Calorimetry Simulations Norman A. Graf for the SLAC Group January 10, 2003.
Cluster finding in CALICE calorimeters Chris Ainsley University of Cambridge, UK LCWS 04: Simulation (reconstruction) parallel session 20 April 2004, Paris,
Pandora calorimetry and leakage correction Peter Speckmayer 2010/09/011Peter Speckmayer, WG2 meeting.
Coil and HCAL Parameters for CLIC Solenoid and Hadron-calorimetry for a high energy LC Detector 15. December LAPP Christian Grefe CERN.
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.
Bangalore, India1 Performance of GLD Detector Bangalore March 9 th -13 th, 2006 T.Yoshioka (ICEPP) on behalf of the.
13 July 2005 ACFA8 Gamma Finding procedure for Realistic PFA T.Fujikawa(Tohoku Univ.), M-C. Chang(Tohoku Univ.), K.Fujii(KEK), A.Miyamoto(KEK), S.Yamashita(ICEPP),
Photon reconstruction and matching Prokudin Mikhail.
John Marshall, 1 John Marshall, University of Cambridge LCD-WG2, June
1 D.Chakraborty – VLCW'06 – 2006/07/21 PFA reconstruction with directed tree clustering Dhiman Chakraborty for the NICADD/NIU software group Vancouver.
Status of Reconstruction in sidloi3 Ron Cassell 5/20/10.
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:
J. S. MarshallCost-effective ECAL1 ECAL Simulation Studies – Overview Wednesday 30 th January 2013 J. S. Marshall University of Cambridge.
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
7/13/2005The 8th ACFA Daegu, Korea 1 T.Yoshioka (ICEPP), M-C.Chang(Tohoku), K.Fujii (KEK), T.Fujikawa (Tohoku), A.Miyamoto (KEK), S.Yamashita.
Mark Thomson University of Cambridge High Granularity Particle Flow Calorimetry.
Status of SiD/Iowa PFA by Usha Mallik The University of Iowa for Ron Cassell, Mat Charles, TJ Kim, Christoph Pahl 1 Linear Collider Workshop of the Americas,
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
ECAL Interaction layer PFA Template Track/CalCluster Association Track extrapolation Mip finding Shower interaction point Shower cluster pointing Shower.
slicPandora: slic + pandoraPFANew
Studies with PandoraPFA
ILD Optimisation: towards 2012 University of Cambridge
Individual Particle Reconstruction
Linear Collider Simulation Tools
Argonne National Laboratory
Detector Optimization using Particle Flow Algorithm
Linear Collider Simulation Tools
Steve Magill Steve Kuhlmann ANL/SLAC Motivation
Presentation transcript:

John Marshall, 1 John Marshall, University of Cambridge LCD Meeting, December

John Marshall, 2 In a typical jet: 60% of jet energy is in the form of charged hadrons 30% is in photons (mainly from  0   ) 10% is in neutral hadrons (mainly n and K L ) Particle flow calorimetry aims to improve jet energy resolution by: Measuring charged particles in detector tracker (essentially perfectly) Measuring photon energies in the ECAL  E /E < 20% /  E(GeV), Only measuring neutral hadron energies in the HCAL, largely avoiding the intrinsically poor HCAL resolution. Pandora PFA E JET  E /E (rms 90 ) 45 GeV3.7 % 100 GeV2.9 % 180 GeV3.0 % 250 GeV3.1 % The Pandora Particle Flow Algorithm: Initially developed for the ILD detector concept. The most mature PFA, giving the best performance. Its algorithms are now well tested and understood. Fully documented, paper accepted by NIMA. Meets ILC jet energy goal of ~3.5 % at all relevant jet energies.

John Marshall, 3 Pandora Redesign Whilst Pandora works well, current 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; Pandora is now a framework for running decoupled particle flow algorithms: Increased flexibility, designed to make it easy to try out new ideas Properly designed code, taking findings from previous PFAs into account Easier to maintain, significant effort to make very readable code Easier for other people to get involved – users can easily create and run their own algorithms. Pandora helps to separate physics in particle flow algorithms from the C++ memory management! The new Pandora is independent of the Marlin framework and of any specific detector details. A user application in any framework instead uses a simple C++ API (application programming interface) to access the Pandora library. Will now give a brief overview of new Pandora framework and summarise current status...

John Marshall, 4 New Pandora Structure Create Calo HitsCreate Tracks Create MC ParticlesSpecify GeometryRegister user algorithm Clustering Algorithm Topological Associations Algorithm Iterative Reclustering Algorithm Photon ID AlgorithmFragment ID AlgorithmPFO 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, 5 Pandora API The new version of Pandora is a separate library, which has no dependencies on any other software framework. In order for an application to use the library, a simple C++ API has been provided. The user application supplies Pandora with details of its calo hits, tracks and (if required) MC particles. 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. All the member variables must be specified, or an exception will be thrown when Create is called. 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. MarlinPandora PandoraApi::Track::Parameters parameters; parameters.m_d0 =...;... PandoraApi::Track::Create(pandora, parameters);

John Marshall, 6 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 Cluster List of constituent calo hits, ordered by pseudolayer Mip fraction EM energy measure Had energy measure Initial direction Current direction Result of linear fit to all hits in cluster Energy-weighted centroid ShowerMax layer List of associated tracks Particle Flow Object PDG Code Charge sign 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, 7 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. Pandora Algorithms interact with the Managers in a controlled manner, via an API, and Managers perform memory management. For example, in order to create or destroy an object, you need to ask the Manager via the API. At any instant each Manager will have a “current” list, which can be accessed by an algorithm. Parent algorithms can manipulate the current list in order to control the scope and behaviour of their daughter algorithms. The Managers store information about the algorithms currently running so that they can keep track of lists. Algorithms can modify lists, and 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, 8 Pandora Algorithms Whilst the Pandora Managers look after memory management, the Pandora Algorithms are free to do physics. The algorithms use a simple API to access the Pandora objects in a controlled, but flexible manner: 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... Algorithms are simple to configure, using an xml file, and can be easily swapped in/out without recompiling. The algorithms required to reproduce old Pandora performance are: Clustering Topological associations Photon Id Fragment Id Iterative reclustering Particle flow object formation Static helper functions are provided to perform tasks that are useful to multiple algorithms. Examples include functions to evaluate the ‘overlap’ between two clusters or to perform a linear fit to (layers of) a cluster.

John Marshall, 9 Algorithm Status Clustering The main Pandora clustering algorithm is a cone-based forward projective method. Working from innermost to outermost pseudolayer, the algorithm either adds hits to existing clusters or uses them to seed new clusters. This algorithm has now been fully implemented in the new framework and tested extensively; the new code exactly reproduces the old Pandora clusters. This re-implementation was an opportunity to ‘clean up’ an algorithm that had changed many times during development: now have a more efficient implementation. Code is clean and readable and have now fully separated the framework/objects from the actual algorithm. Configuration options have been tweaked to identify independent and physically motivated parameters. New algorithm is much faster (will quantify at a later date).

John Marshall, 10 Algorithm Status Topological Associations Looping tracksCone associations Back-scattered tracks The approach in Pandora is to err on side of splitting up true clusters, then merge the clusters following a number of topological rules. Each of these rules have now been implemented via algorithms in the new Pandora framework. Algorithms essentially compare pairs of clusters, applying a series of cuts to identify whether the clusters can be merged. Many of the quantities, upon which cuts are placed, are useful properties characterising the interaction between clusters. As such, they are calculated by static helper functions. The algorithms are currently being tested to confirm that they exactly reproduce the associations made by the old Pandora. However, have identified a number of possible improvements, which change the behaviour of the algorithms. Strategy: Change original pandora, rerun performance tests If results unchanged/better, apply change to new algorithms Time-consuming, but important...

John Marshall, 11 Algorithm Status Fragment ID PFO formation Fragment id helper functions have been fully implemented. Not yet written actual fragment id algorithms, but large amount of the work has been completed. The fragment id algorithms (to some extent) just use quantities calculated by the helper functions in order to identify when to modify clusters. Next step, after testing topological association algorithms, is to identify the particle flow objects from the tracks and clusters and to write them out for analysis. This should be complete in early 2010 and will complete a basic, but functional version of Pandora. Remaining algorithms simply manipulate clusters to improve performance.

John Marshall, 12 Algorithm Status Photon ID Iterative reclustering Peter Speckmayer is working on the photon id algorithm. This takes the output from the clustering algorithm, applies a shower-profile based selection and saves the photon clusters as a named cluster list. The removal of these clusters allows for improved identification of hadronic showers when the clustering algorithm is called again. Clusters that have been incorrectly merged together are identified via comparison of cluster energy and associated track momentum. Attempts are made to redistribute the hits by using different clustering parameters or algorithms (the new framework was specifically designed to make this easy). A simple reclustering algorithm has been implemented, but this needs to be adapted to steer the reclustering in the same way as the original Pandora. 12 GeV32 GeV 18 GeV 30 GeV Track 38 GeV

John Marshall, 13 Summary The new Pandora framework is complete and has been rigorously tested. It is stable and has been unchanged for several months now. The focus is now on reproducing the original Pandora algorithms: Clustering algorithm completed, Topological association algorithms completed, but currently under test, Significant progress made with fragment id, reclustering and photon id algorithms. Should also mention progress with the applications that use the Pandora library: ILD Pandora application completed (our default test application), Norman Graf has recently started an SiD Pandora application, Both applications are Marlin Processors that use the PandoraAPI to access the Pandora library. Aim to have a full re-implementation of original Pandora within first few months of Then have many ideas for moving forwards and improving Pandora within the new framework: New clustering algorithms, Long list of possible topological association improvements, etc... Very easy for other people to get involved and write new algorithms or contribute ideas.