John Marshall, 1 John Marshall, University of Cambridge LCWS11, Granada, September 27 2011.

Slides:



Advertisements
Similar presentations
Testing Relational Database
Advertisements

CBM Calorimeter System CBM collaboration meeting, October 2008 I.Korolko(ITEP, Moscow)
SiD PFA Status and Calorimeter Performance Ron Cassell (SLAC) SiD Design Study Meeting 11/15/08.
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
Ties Behnke, Vasiliy Morgunov 1SLAC simulation workshop, May 2003 Pflow in SNARK: the next steps Ties Behnke, SLAC and DESY; Vassilly Morgunov, DESY and.
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.
PFA Development – Definitions and Preparation 0) Generate some events w/G4 in proper format 1)Check Sampling Fractions ECAL, HCAL separately How? Photons,
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
Implementing a dual readout calorimeter in SLIC and testing Geant4 Physics Hans Wenzel Fermilab Friday, 2 nd October 2009 ALCPG 2009.
John Marshall, 1 John Marshall, University of Cambridge LCWS, Beijing, March 2010.
0 Status of Shower Parameterisation code in Athena Andrea Dell’Acqua CERN PH-SFT.
1 Realistic top Quark Reconstruction for Vertex Detector Optimisation Talini Pinto Jayawardena (RAL) Kristian Harder (RAL) LCFI Collaboration Meeting 23/09/08.
Non-prompt Track Reconstruction with Calorimeter Assisted Tracking Dmitry Onoprienko, Eckhard von Toerne Kansas State University, Bonn University Linear.
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
SiD performance for the DBD Jan Strube CERN. Overview Software Preparation (CERN, SLAC) Machine Environment (CERN, SLAC) Tracking Performance (C. Grefe)
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.
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.
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.
J. S. MarshallCost-effective ECAL1 ECAL Simulation Studies – Overview Wednesday 30 th January 2013 J. S. Marshall University of Cambridge.
ATLAS and the Trigger System The ATLAS (A Toroidal LHC ApparatuS) Experiment is one of the four major experiments operating at the Large Hadron Collider.
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.
Calice Meeting Argonne Muon identification with the hadron calorimeter Nicola D’Ascenzo.
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.
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.
Trigger study on photon slice Yuan Li Feb 27 th, 2009 LPNHE ATLAS group meeting.
Marco Cattaneo, 6-Apr Issues identified in sub-detector OO software reviews Calorimeters:18th February Tracking:24th March Rich:31st March.
SiD Tracking in the LOI and Future Plans Richard Partridge SLAC ALCPG 2009.
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
V. Pozdnyakov Direct photon and photon-jet measurement capability of the ATLAS experiment at the LHC Valery Pozdnyakov (JINR, Dubna) on behalf of the HI.
 reconstruction and identification in CMS A.Nikitenko, Imperial College. LHC Days in Split 1.
John Marshall, 1 John Marshall, University of Cambridge LCD WG6 Meeting, February
David Lange Lawrence Livermore National Laboratory
Erik Devetak Oxford University 18/09/2008
Particle detection and reconstruction at the LHC (IV)
slicPandora: slic + pandoraPFANew
Top Tagging at CLIC 1.4TeV Using Jet Substructure
Studies with PandoraPFA
Vincenzo Innocente CERN/EP/CMC
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 LCWS11, Granada, September

John Marshall, 2 Overview At the time of LCWS10, Pandora was undergoing an extensive redesign and reimplementation. The aim was to convert Pandora from a proof-of-principle into a robust, elegant and efficient framework for designing and running decoupled algorithms for particle flow calorimetry. This talk will:  Briefly summarise the status at LCWS10.  Review some development highlights leading to the CLIC CDR release.  Discuss the options for customising and working with Pandora.  Describe recent updates to Pandora since the CLIC CDR release.

John Marshall, 3 LCWS10 Isolates specific details of software framework and detector, allowing framework to be dependency-free. Specifies parameters for calo hits, tracks, etc. so that Pandora objects can be self-describing. Owns named collections of Pandora objects: calo hits, tracks, clusters and PFOs. Can perform memory management, as content can only be provided or accessed via APIs. Use APIs to access Pandora objects and carry out particle flow reconstruction tasks. Physics-driven code, with nested structure promoting re-use of code to perform specific tasks. Pandora Content API Pandora API Pandora FrameworkPandora Algorithms Client Application Specify GeometryCreate Calo HitsCreate TracksEtc...

John Marshall, 4 LCWS10 PFO energy sum, old vs. new E j = 45GeV Tests using ILD00 Z  uds events, with E z = 91.2GeV, exercised new framework and algorithms, without needing specific treatment to resolve ‘confusion’ that occurs at higher-energies. Excellent agreement observed, by construction.

John Marshall, 5 Reclustering Change clustering parameters and/or clustering algorithm until cluster splits and get sensible track-cluster match 10 GeV Track 30 GeV 12 GeV 18 GeV 1. Identify inconsistent pairing of track and cluster(s) and ask to recluster these. Relevant clusters moved to new temporary cluster list. Current hit/track lists changed. 2. Ask to run a clustering algorithm. Creates another uniquely named temporary cluster list, filled by daughter clustering algorithm. 3. Calculate figure of merit for consistency of track and new cluster(s). 4. Repeat stages 2. and 3. as required. Can re-use original clustering algorithm, with different parameters, or try entirely new algorithms. 5. Choose most appropriate cluster(s). All lists will be reorganised and tidied accordingly. To resolve confusion at high energies, Pandora performs statistical reclustering. Hits are redistributed in order to improve the consistency between cluster energies and associated track momenta. Algorithm operations:

John Marshall, 6 3. Track momentum much greater than cluster energy – bring in nearby clusters and reconfigure. 2. Cluster energy much greater than track momentum – split cluster. Reclustering Strategies 1. Multiple tracks associated to single cluster – split cluster.

John Marshall, 7 Reclustering Results CLIC_ILD_CDR, E z (= 2 * E j )91GeV200GeV500GeV1TeV No Reclustering, No Forced Clustering, rms 90 (E j ) / E j 3.75 ± ± ± ± 0.18 Reclustering, No Forced Clustering, rms 90 (E j ) / E j 3.71 ± ± ± ± 0.07 E z = 500GeV, |cos  | < 0.7 E z = 500GeV

John Marshall, 8 Forced Clustering 1. ClusterE > TrackE2. TrackE > ClusterE Forced cluster driven through original cluster Two separate clusters merged, but still insufficient energy Track E = 39.7GeV Cluster E = 29.0GeV Track E = 150GeV Cluster E = 325GeV Pandora allows a transition from particle flow to “energy flow” calorimetry if it is evident there is a problem that cannot be fixed by reclustering. Simply add Forced Clustering algorithm to the end of list of algorithms to be used in reclustering. For a poorly matched track and cluster, the algorithm will select best hits to force compatible energies.

John Marshall, 9 Forced Clustering CLIC_ILD_CDR, E z (= 2 * E j )91GeV200GeV500GeV1TeV Reclustering, No Forced Clustering, rms 90 (E j ) / E j 3.71 ± ± ± ± 0.07 Reclustering, Forced Clustering, rms 90 (E j ) / E j 3.71 ± ± ± ± 0.06 E z = 1TeV, |cos  | < 0.7 E z = 1TeV

John Marshall, 10 Cluster Fragmentation Muon Photon Pion Fragmentation is a special case of the reclustering mechanism. It allows multiple configurations of the hits in a given cluster to be examined at the same time, within a single algorithm. The mechanism is ideal for accurate identification of sub-clusters. Once the best hit configuration is identified, the EndFragmentation API will perform all memory-management. Typical use: division of single cluster into mip-like cluster and photon-like cluster. Important for particle id.

John Marshall, 11 Track Information Pass/fail track pfo selection cuts Kink (or Split) Prong V0V0 V0V0 Cluster associated with good track E = E daughter P = P daughter q= q daughter PID = PID parent E = SE good daughters P = SP good daughters q= q parent PID = PID parent E = E good daughter P = P good daughter q= Sq both daughters PID: examine track PIDs E = SE daughters P = SP daughters q= Sq daughters PID: examine track PIDs Tracks can have quality flags and also parent, daughter and sibling relationships. Information is used in track-cluster association and when building charged PFOs.

John Marshall, 12 Particle Identification For fine granularity detectors, Pandora can now identify photons, charged leptons or particles associated with displaced vertices (V 0 ) or decays in the tracking volume. See talk on Thursday. This functionality required more than simple characterisation of reconstructed PFOs. Needed to improve purity and completeness of Pandora single particle reconstruction, via: Neutron Photon Electron ILD HCal Barrel Gaps Separation of merged muons and photons. Treatment of gaps in detector active material. Treatment for reclustering high energy electrons. Algorithms to mop-up neutral particle fragments. Avoidance of incorrect removal of particle fragments. Mu+ Photon Wrong energy measure used in electron reclustering  /γ separation

John Marshall, 13 Pandora Monitoring Pandora now includes a monitoring library, which has a ROOT dependency to offer histogram, tree and event display capabilities (including TEve elements originally added by P. Speckmayer). Algorithms can use Monitoring APIs to draw hits, tracks, clusters or PFOs, during the reconstruction. Alternatively, user can add instances of VisualMonitoring algorithm to PandoraSettings.xml.

John Marshall, 14 Working with Pandora Pandora APIs ILD/Marlin SiD/org.lcsim Framework Algorithm Manager CaloHit Manager MC Manager PFO Manager Plugin Manager Track Manager Cluster Manager A powerful feature is the ability to register content (i.e. algorithms, helper functions, etc.) from different libraries and combine their functionality in the reconstruction (configured via xml). Each client application registers the content that it needs to perform its specific reconstruction within the framework. Content can often be re-used, so can be bundled together in a library. Runs all registered content and performs book- keeping Very specific content, e.g. uses fine detector details Client Applications Content Libraries Re-usable content, applicable to multiple detectors FineGranularity Content CoarseGranularity Content Monitoring Content

John Marshall, 15 Working with Pandora ContentDescription AlgorithmsResponsible for performing reconstruction; make use of all information provided by objects, helper functions, calculators, etc. to make decisions and create PFOs. PseudoLayer calculator Responsible for dividing hits into layers that broadly follow structure of detector; helps to isolate algorithms from need to know specific geometry. B-field calculatorResponsible for providing signed B-field value for given Cartesian coordinates; often a wrapper for a full field map in client software framework. Shower-profile calculator Responsible for examining longitudinal and transverse profile of cluster energy deposits and performing comparison with expectation for EM shower. Particle id functions Responsible for providing (“fast” or “full”) particle id information to algorithms, which may want to avoid certain particle-types, or simply apply results to PFOs. Energy correctionsResponsible for applying corrections, improvements or custom calibrations to reported hadronic or electromagnetic cluster energy values. GeometryOptional detector description, which can be used by an algorithm if necessary. ObjectsSelf-describing properties for tracks, hits and optional MC particles.

John Marshall, 16 Working with Pandora Configure PandoraSettings.xml to create your own custom reconstruction using... Helper functions & calculator classes for fine granularity detectors Pseudo layer calculator Longitudinal and transverse shower profile characterisation functions EM shower, photon, electron and muon identification functions Energy correction functions for addressing energy fluctuations in hadronic showers and energy loss in coil Algorithms for fine granularity detectors 4 clustering algorithms, forward and reverse cone-based, k-means and 2D Hough transform 5 algorithms for removing cluster fragments, including charged hadron fragments and photon fragments 2 standalone algorithms for reconstruction of muons and photons, 2 for performing particle id after reconstruction 4 algorithms for PFO creation and selection 7 reclustering algorithms, 15 topological association algorithms, 5 track-cluster association algorithms 6 algorithms for monitoring reconstruction between algorithms or providing event display functionality 3 list management algorithms, 2 algorithms for reading/writing Pandora binary files and 5 ‘perfect’ PFA algorithms

John Marshall, 17 Photon Reconstruction The photon reconstruction aims to reconstruct, tag and remove all photons before the standard Pandora reconstruction, reducing confusion and improving the jet energy reconstruction. 1. The cone-based clustering algorithm is applied to the ECAL hits, with all of its track-seeding options disabled. The transverse shower profiles of the clusters are then examined in detail. Any peaks in the profile are identified and characterised. Not originally identified as a photon, but 17GeV from the 30GeV cluster actually from a true photon. This is evident from the profile – split cluster using fragmentation mechanism.

John Marshall, 18 Photon Reconstruction 2. For each peak, a new photon cluster candidate is created and examined. Cuts are placed on the longitudinal shower profile of the new cluster and a multivariate/PID analysis is used to decide whether to accept the cluster as a photon. PDFs constructed using 500GeV Z  uds events. Separate PDFs for 9 reconstructed energy bins.

John Marshall, 19 Photon Reconstruction 3. If a peak cluster is accepted, it is tagged as a photon and saved; the original cluster is deleted. If the peak represents the majority of the energy in original cluster, original may be used instead. With the exception of the addition of isolated hits, the photon clusters can remain unchanged and can be used to form photon particle flow objects in the PfoCreation algorithm.

John Marshall, 20 Jet Energy Performance CLIC_ILD_CDR CLIC_ILD_CDR, E z (= 2 * E j )91GeV200GeV500GeV1TeV2TeV3TeV No Photon Clustering, rms 90 (E j ) / E j 3.71 ± ± ± ± ± ± 0.05 Photon Clustering, rms 90 (E j ) / E j 3.72 ± ± ± ± ± ± 0.05 CLIC_ILD_CDR Z  uds events, E z = 1, 2, 3TeV, |cos  | < 0.7 CLIC_ILD_CDR

John Marshall, 21 Manager Improvements Manager InputObjectManager AlgorithmObjectManager CaloHitManager +hit-usage features TrackManager +track-relationship features ClusterManager +extra reclustering features PFOManager Objects made from parameters specified by client application. Copies of (addresses of) objects can be saved in multiple lists. Algorithms make new objects when new temporary list is ready. Objects only exist in single list, no copies. Basic list management and controls handshake between algorithms and managers. New feature: algorithms can save/modify multiple PFO lists.

John Marshall, 22 Hit Fragmentation When working with a coarse granularity detector, where sampling cells may contain energy deposits from many particles, a useful function is the ability to fragment a hit into multiple daughter hits. Have recently implemented this feature and the reverse process; ability to re-merge daughter hits. Potentially very complex; need to be able to carry out procedures in nested reclustering algorithms, plus allow daughter hits to be further fragmented and/or allow subset of fragments to be re-merged. List1 List2 hit p Basic Hit Lists Two Pandora hit lists, which happen to contain potential ‘parent’ hit p See what happens if we split hit during most complex process; nested reclustering...

John Marshall, 23 Hit Fragmentation List1 List2 R1List1 R1List2 R1List3 hit p p p d1 d2 p d3 d4 Add: Replace: A: d1 d2 R: p A: d3 d4 R: p Recluster List 2 Basic Hit Lists Recluster 1 Hit Lists

John Marshall, 24 Hit Fragmentation List1 List2 R1List1 R1List2 R1List3 R2List1 R2List2 R2List3 hit p p p d1 d2 p d3 d4 d3 d4 d3 d3a d3b d4 d3 d3c d3d d4 Add: Replace: A: d1 d2 R: p A: d3 d4 R: p A: R: A: d3a d3b R: d3 A: d3c d3d R: d3 Recluster List 2 Recluster R1 List 3 Basic Hit Lists Recluster 1 Hit Lists Recluster 2 Hit Lists

John Marshall, 25 Hit Fragmentation Select R2List3 and apply changes to R1List3 List1 List2 R1List1 R1List2 R2List1 R2List2 R2List3 hit p p p d1 d2 d3 d4 d3 d3a d3b d4 d3 d3c d3d d4 Add: Replace: A: d1 d2 R: p A: d3c d3d d4 R: p d3 A: R: A: d3a d3b R: d3 A: d3c d3d R: d3 Recluster List 2 Recluster R1 List 3 Basic Hit Lists Recluster 1 Hit Lists Recluster 2 Hit Lists A: d3 d4|d3c d3d R: p |d3 R1List3 p d3 d3c d3d d4

John Marshall, 26 Hit Fragmentation Select R1List3 and apply changes to all basic lists List1 List2 R1List1 R1List2 d3c d3d d4 p p d1 d2 Add: Replace: A: d1 d2 R: p Recluster List 2 Basic Hit Lists Recluster 1 Hit Lists d3c d3d d4 R2List1 R2List2 R2List3 d3 d4 d3 d3a d3b d4 d3 d3c d3d d4 A: R: A: d3a d3b R: d3 A: d3c d3d R: d3 Recluster R1 List 3 Recluster 2 Hit Lists Select R2List3 and apply changes to R1List3 Complex, but robust and efficiently implemented. A: d3c d3d d4 R: p d3 A: d3 d4|d3c d3d R: p |d3 R1List3 p d3 d3c d3d d4

John Marshall, 27 Lightweight Persistency SERIALIZE DESERIALIZE Client application, e.g. MarlinPandora Via Pandora EventWriting algorithm Binary.pndr file records all self- describing parameters. Same ~40 line application for any.pndr file. Via Pandora EventReading algorithm Objects/geometry ready to be used by algorithms. To aid development in complex software frameworks, have developed lightweight Pandora persistency model, allowing input object/geometry parameters to be written/read to/from binary. Once file available, removes need for client application; only need tiny piece of code to launch Pandora. Private development tool, but worthy of note as has proven to be exceptionally useful.

John Marshall, 28 Summary Since LCWS10, many important changes have been made to Pandora... Reclustering and fragmentation mechanisms have been added to the framework and these mechanisms have been exploited to great effect by a number of algorithms. Particle identification functionality has been added and improvements have been made to the purity and completeness of the reconstructed particles. The first releases of the new Pandora have been made publicly available, alongside releases of the MarlinPandora and SlicPandora client applications. The releases have been used for the CLIC CDR. The Pandora framework provides a rich environment for the development of pattern recognition and particle flow algorithms. There are many ways in which it can be customized. Since the CLIC CDR release, a new photon reconstruction has been implemented and improvements have been made to aid development for coarse granularity environments. Development continues.