Kalman filter tracking library

Slides:



Advertisements
Similar presentations
DEVELOPMENT OF ONLINE EVENT SELECTION IN CBM DEVELOPMENT OF ONLINE EVENT SELECTION IN CBM I. Kisel (for CBM Collaboration) I. Kisel (for CBM Collaboration)
Advertisements

L1 Event Reconstruction in the STS I. Kisel GSI / KIP CBM Collaboration Meeting Dubna, October 16, 2008.
From Quark to Jet: A Beautiful Journey Lecture 1 1 iCSC2014, Tyler Dorland, DESY From Quark to Jet: A Beautiful Journey Lecture 1 Beauty Physics, Tracking,
Computing EVO meeting, January 15 th 2013 Status of the Tracking Code Gianluigi Boca, Pavia University.
1 Vertex fitting Zeus student seminar May 9, 2003 Erik Maddox NIKHEF/UvA.
Porting Reconstruction Algorithms to the Cell Broadband Engine S. Gorbunov 1, U. Kebschull 1,I. Kisel 1,2, V. Lindenstruth 1, W.F.J. Müller 2 S. Gorbunov.
Photon reconstruction and calorimeter software Mikhail Prokudin.
The LiC Detector Toy M. Valentan, M. Regler, R. Frühwirth Austrian Academy of Sciences Institute of High Energy Physics, Vienna InputSimulation ReconstructionOutput.
Framework for track reconstruction and it’s implementation for the CMS tracker A.Khanov,T.Todorov,P.Vanlaer.
CA+KF Track Reconstruction in the STS I. Kisel GSI / KIP CBM Collaboration Meeting GSI, February 28, 2008.
KIP TRACKING IN MAGNETIC FIELD BASED ON THE CELLULAR AUTOMATON METHOD TRACKING IN MAGNETIC FIELD BASED ON THE CELLULAR AUTOMATON METHOD Ivan Kisel KIP,
Online Event Selection in the CBM Experiment I. Kisel GSI, Darmstadt, Germany RT'09, Beijing May 12, 2009.
Online Track Reconstruction in the CBM Experiment I. Kisel, I. Kulakov, I. Rostovtseva, M. Zyzak (for the CBM Collaboration) I. Kisel, I. Kulakov, I. Rostovtseva,
Measurement of through-going particle momentum by means of Multiple Scattering with the T600 TPC Talk given by Antonio Jesús Melgarejo (Universidad de.
Many-Core Scalability of the Online Event Reconstruction in the CBM Experiment Ivan Kisel GSI, Germany (for the CBM Collaboration) CHEP-2010 Taipei, October.
Helmholtz International Center for CBM – Online Reconstruction and Event Selection Open Charm Event Selection – Driving Force for FEE and DAQ Open charm:
1 Tracking Reconstruction Norman A. Graf SLAC July 19, 2006.
Tracking at LHCb Introduction: Tracking Performance at LHCb Kalman Filter Technique Speed Optimization Status & Plans.
Jamal Saboune - CRV10 Tutorial Day 1 Bayesian state estimation and application to tracking Jamal Saboune VIVA Lab - SITE - University.
Speed-up of the ring recognition algorithm Semeon Lebedev GSI, Darmstadt, Germany and LIT JINR, Dubna, Russia Gennady Ososkov LIT JINR, Dubna, Russia.
STS track recognition by 3D track-following method Gennady Ososkov, A.Airiyan, A.Lebedev, S.Lebedev, E.Litvinenko Laboratory of Information Technologies.
Ooo Performance simulation studies of a realistic model of the CBM Silicon Tracking System Silicon Tracking for CBM Reconstructed URQMD event: central.
Fast reconstruction of tracks in the inner tracker of the CBM experiment Ivan Kisel (for the CBM Collaboration) Kirchhoff Institute of Physics University.
Fast track reconstruction in the muon system and transition radiation detector of the CBM experiment at FAIR Andrey Lebedev 1,2 Claudia Höhne 3 Ivan Kisel.
TRD and Global tracking Andrey Lebedev GSI, Darmstadt and LIT JINR, Dubna Gennady Ososkov LIT JINR, Dubna X CBM collaboration meeting Dresden, 27 September.
STAR Sti, main features V. Perevoztchikov Brookhaven National Laboratory,USA.
Status of Reconstruction in CBM
CHEP07 conference 5 September 2007, T. Cornelissen 1 Thijs Cornelissen (CERN) On behalf of the ATLAS collaboration The Global-  2 Track Fitter in ATLAS.
Standalone FLES Package for Event Reconstruction and Selection in CBM DPG Mainz, 21 March 2012 I. Kisel 1,2, I. Kulakov 1, M. Zyzak 1 (for the CBM.
ROBUSTIFICATION of the Belle Vertex Fitter April 14 th 2003Johannes Rindhauser Hephy Vienna Belle Weekly Meeting (AdaptiveVtxFitter)
V.Petracek TU Prague, UNI Heidelberg GSI Detection of D +/- hadronic 3-body decays in the CBM experiment ● D +/- K  B. R. 
V0 analytical selection Marian Ivanov, Alexander Kalweit.
First Level Event Selection Package of the CBM Experiment S. Gorbunov, I. Kisel, I. Kulakov, I. Rostovtseva, I. Vassiliev (for the CBM Collaboration (for.
Performance simulations with a realistic model of the CBM Silicon Tracking System Silicon tracking for CBM Number of integration components Ladders106.
Methods for fast reconstruction of events Ivan Kisel Kirchhoff-Institut für Physik, Uni-Heidelberg FutureDAQ Workshop, München March 25-26, 2004 KIP.
Fast Tracking of Strip and MAPS Detectors Joachim Gläß Computer Engineering, University of Mannheim Target application is trigger  1. do it fast  2.
Track reconstruction in TRD and MUCH Andrey Lebedev Andrey Lebedev GSI, Darmstadt and LIT JINR, Dubna Gennady Ososkov Gennady Ososkov LIT JINR, Dubna.
Global Tracking for CBM Andrey Lebedev 1,2 Ivan Kisel 1 Gennady Ososkov 2 1 GSI Helmholtzzentrum für Schwerionenforschung GmbH, Darmstadt, Germany 2 Laboratory.
Cellular Automaton Method for Track Finding (HERA-B, LHCb, CBM) Ivan Kisel Kirchhoff-Institut für Physik, Uni-Heidelberg Second FutureDAQ Workshop, GSI.
Muon detection in the CBM experiment at FAIR Andrey Lebedev 1,2 Claudia Höhne 1 Ivan Kisel 1 Anna Kiseleva 3 Gennady Ososkov 2 1 GSI Helmholtzzentrum für.
Using Kalman Filter to Track Particles Saša Fratina advisor: Samo Korpar
CA+KF Track Reconstruction in the STS S. Gorbunov and I. Kisel GSI/KIP/LIT CBM Collaboration Meeting Dresden, September 26, 2007.
CMS Torino meeting, 4 th June, 2007 R. Castello on behalf of Torino Tracker’s group Tracker Alignment with MillePede.
A parallel High Level Trigger benchmark (using multithreading and/or SSE)‏ Håvard Bjerke.
Kalman Filter based Track Fit running on Cell S. Gorbunov 1,2, U. Kebschull 2, I. Kisel 2,3, V. Lindenstruth 2 and W.F.J. Müller 1 1 Gesellschaft für Schwerionenforschung.
1/13 Future computing for particle physics, June 2011, Edinburgh A GPU-based Kalman filter for ATLAS Level 2 Trigger Dmitry Emeliyanov Particle Physics.
Parallelization of the SIMD Kalman Filter for Track Fitting R. Gabriel Esteves Ashok Thirumurthi Xin Zhou Michael D. McCool Anwar Ghuloum Rama Malladi.
Fast parallel tracking algorithm for the muon detector of the CBM experiment at FAIR Andrey Lebedev 1,2 Claudia Höhne 1 Ivan Kisel 1 Gennady Ososkov 2.
STAR SVT Self Alignment V. Perevoztchikov Brookhaven National Laboratory,USA.
STAR Simulation. Status and plans V. Perevoztchikov Brookhaven National Laboratory,USA.
Parallel Implementation of the KFParticle Vertexing Package for the CBM and ALICE Experiments Ivan Kisel 1,2,3, Igor Kulakov 1,4, Maksym Zyzak 1,4 1 –
LIT participation LIT participation Ivanov V.V. Laboratory of Information Technologies Meeting on proposal of the setup preparation for external beams.
Mitglied der Helmholtz-Gemeinschaft Hit Reconstruction for the Luminosity Monitor March 3 rd 2009 | T. Randriamalala, J. Ritman and T. Stockmanns.
Track Reconstruction in MUCH and TRD Andrey Lebedev 1,2 Gennady Ososkov 2 1 Gesellschaft für Schwerionenforschung, Darmstadt, Germany 2 Laboratory of Information.
KFParticle Ivan Kisel 1,2, Igor Kulakov 1,3, Iourii Vassiliev 1,2, Maksym Zyzak 1,3 1 – Goethe-Universität Frankfurt, Frankfurt am Main, Germany 2 – GSI.
Gianluigi, 10 Sep 2012 Paris, September 10 th 2012 Status of the Pattern Recognition Code Gianluigi Boca GSI & Pavia University 1.
IPHC, Strasbourg / GSI, Darmstadt
Y. Fisyak1, I. Kisel2, I. Kulakov2, J. Lauret1, M. Zyzak2
A Kalman Filter for HADES
Dmitry Emeliyanov, Rutherford Appleton Laboratory
Fast Parallel Event Reconstruction
Status of the Offline Pattern Recognition Code GSI, December 10th 2012
Progress with MUON reconstruction
Vertex and Kinematic fitting with Pandaroot
Status of the Offline Pattern Recognition Code Goa, March 12th 2013
Silicon Tracking with GENFIT
Hellenic Open University
road – Hough transform- c2
Sergey Gorbunov Ivan Kisel DESY, Zeuthen KIP, Uni-Heidelberg
Reconstruction of strange hadrons in collisions of nuclei at RHIC
Presentation transcript:

Kalman filter tracking library I. Kisel, I. Kulakov, H. Pabst, M. Zyzak Tracking workshop FIAS, Frankfurt, February 28, 2012

Igor Kulakov, FIAS, Tracking workshop Outline Kalman Filter (KF) KF Library Intel Array Building Blocks (ArBB) KF approaches Propagation methods Smoother Deterministic Annealing Filter (DAF) Summary 28.02.2012 Igor Kulakov, FIAS, Tracking workshop

Kalman Filter (KF) Based Track Fit I.Kisel Nowadays the Kalman Filter is used in almost all HEP experiments at almost all stages of reconstruction (track finding, track fitting, particle finding). Common reconstruction package will be KF based. 28.02.2012 Igor Kulakov, FIAS, Tracking workshop

Kalman Filter (KF) Based Track Fit Track fit: Optimal estimation of the track parameters according to hits – Kalman Filter (KF) Detector layers Hits p (r, P) r – Track parameters P – Precision Initializing Prediction Correction Precision 1 2 3 KF as a recursive least squares method KF Block-diagram 1 r = { x, y, z, px, py, pz } Position, direction and momentum State vector 2 3 Kalman Filter: Start with an arbitrary initialization. Add one hit after another. Improve the state vector. Get the optimal parameters after the last hit. 28.02.2012 Igor Kulakov, FIAS, Tracking workshop 4

Tracking Challenge in CBM 1000 charged particles/collision Double-sided strip detectors (85% fake space points) Non-homogeneous magnetic field 107 AuAu collisions/sec Track reconstruction in STS/MVD and displaced vertex search are required in the first level trigger Simulation Reconstruction Intel CPU 8 cores based on CA & KF A precise, fast and stable realization of the KF algorithm is required. 28.02.2012 Igor Kulakov, FIAS, Tracking workshop

Igor Kulakov, FIAS, Tracking workshop SIMD KF Benchmark optimal fit quality fast Fitting speed of 13 ns/track/node p res = 0.9% SIMD KF benchmark scalable alterable parallel single/double precision SIMD multithreading ITBB/OpenMP 28.02.2012 Igor Kulakov, FIAS, Tracking workshop

Algorithms Hardware support KF Library KF Library SIMD KF benchmark Algorithms Hardware support Track tools: Parallelization: KF track fitter KF track smoother Deterministic Annealing Filter Data level: Task level: Header Vc ArBB ITBB Open MP KF approaches: Conventional KF Double precision KF Square root KF ( 2 implementations ) U-D-Filtering Runge-Kutta Analytic formula Precision: Track propagation: single double 28.02.2012 Igor Kulakov, FIAS, Tracking workshop

Track Fit Quality pulls residuals CBM state vector: r = { x, y, tx, ty, q/p } position, tg of slopes and charge over momentum pulls residuals residuals pulls x, μm y, μm tx, 10-3 ty, 10-3 q/p, % x y tx ty q/p 43 39 0.3 0.25 0.93 1.1 1.2 1.3 conventional, header, geometry with 0 & 90 degree strips KF track fit based on ArBB has been implemented by Intel. 28.02.2012 Igor Kulakov, FIAS, Tracking workshop

CBM Kalman Filter (KF) Track Fit Benchmark with ArBB Array Building Blocks (ArBB) allows to avoid a lot of inconveniencies of parallel programming. It should be very useful for the event reconstruction. Implementation of KF based on ArBB was the first step for the track finders ArBB-zation. SIMD KF fit benchmark with ArBB has been implemented by Intel. Comparison with SIMD KF fit benchmark based on Vector classes (Vc) was done. Vc ArBB Cores 1 16 Time, μs 0.42 0.05 0.43 0.06 Tests were performed on the lxir039 computer with 2 Xeon X5550 processors having 8 cores in total at 2.7 GHz conventional, geometry with 0 & 90 degree strips With H. Pabst KF track fit based on ArBB has been implemented by Intel. 28.02.2012 Igor Kulakov, FIAS, Tracking workshop

Scalability of Track Fit with Conventional Approach Measure tracks throughput rather than time per track. ITBB: Given n threads each filled with 1000 events, run them on specific n logical cores with 1 thread per 1 core. Use “header” for data level parallelization. ArBB: auto parallelization on both task and data level Scalabilities for single and double using ITBB precision have been measured as well. geometry with 0 & 90 degree strips 28.02.2012 Igor Kulakov, FIAS, Tracking workshop 10

Conventional KF Implementation Prediction step Filtering step 28.02.2012 Igor Kulakov, FIAS, Tracking workshop

Square Root KF Implementation P SST Twice a precision in comparison with conventional, but has more complicated computations = slower. Prediction step orthogon.. orthogonalization Filtering step Potter Implementation Carlson Implementation (1. with square and 2. with triangular S matrix ) orthogonalization 28.02.2012 Igor Kulakov, FIAS, Tracking workshop

Scalability of Track Fit with Square Root (Potter) Approach geometry with 0 & 90 degree strips; the analytic formula for propagation 28.02.2012 Igor Kulakov, FIAS, Tracking workshop 13

U-D-Filtering Implementation P = UDUT Increase precision in comparison with conventional. Less number of computations than with square root. Prediction step orthogonalization Filtering step 28.02.2012 Igor Kulakov, FIAS, Tracking workshop

Scalability of Track Fit with UD-filtering Approach geometry with 0 & 90 degree strips; the analytic formula for propagation 28.02.2012 Igor Kulakov, FIAS, Tracking workshop 15

Runge-Kutta Propagation Method General method. 28.02.2012 Igor Kulakov, FIAS, Tracking workshop

Analytic Formula for Track Propagation Allows to control precision and time consumptions. Taylor expansion 28.02.2012 Igor Kulakov, FIAS, Tracking workshop

Scalability of Track Fit with the Analytic and Runge-Kutta Propagation geometry with 0 & 90 degree strips; conventional approach; ITBB; header 28.02.2012 Igor Kulakov, FIAS, Tracking workshop 18

Igor Kulakov, FIAS, Tracking workshop Track Smoother Optimal estimation of the track parameters at any station. Use: for alignment of station positions for fake hits rejection (DAF) for track quality estimation (ghost tracks rejection) Hits p Initializing Prediction Correction Precision Optimal estimation KF based smoother: Take 2 state vectors. Start with an arbitrary initializations from begin and end of track. Add one hit after another moving downstream and upstream. Improve the state vectors. Get two sets of parameters at the given station. Merge them into one and get the optimal parameters. 28.02.2012 Igor Kulakov, FIAS, Tracking workshop 19 19

Track Smooth Quality r = { x, y, tx, ty, q/p } station residuals pulls x, μm y, μm tx, 10-3 ty, 10-3 q/p, % x y tx ty q/p MVD STS 1 24 27 0.63 0.62 0.90 1.0 1.1 1.3 2 19 22 0.39 0.43 0.89 20 46 0.19 0.25 0.88 1.4 1.2 15 49 0.35 3 18 50 0.26 0.36 4 21 56 0.22 0.34 5 62 0.24 0.33 6 30 67 0.23 0.30 7 23 77 0.21 0.37 0.87 8 101 0.50 0.60 conventional, header, geometry with 0 & 15 degree strips KF track smoother has been implemented in KF Library. 28.02.2012 Igor Kulakov, FIAS, Tracking workshop

Deterministic Annealing Filter (DAF) Task: reduce an influence of attached distorted or noise hits on the reconstructed track parameters. DAF has been implemented within SIMD KF track fit package The KF mathematics has been modified to include weights DAF algorithm: A weight is introduced to each hit Algorithm is iterative, with each iteration T is decreasing, weight is recalculated using smoothed track parameters from the previous iteration Initial estimation T Global minimum Set high T R. Frühwirth and A. Strandlie, Track Fitting with ambiguities and noise: a study of elastic tracking and nonlinear filters. Comp. Phys. Comm. 120 (1999) 197-214. 28.02.2012 Igor Kulakov, FIAS, Tracking workshop 21 21

DAF and Noise Hits Rejection Rejection probability, % station unshifted 5 σhit 10 σhit 20 σhit MVD 1 0.4 2 0.7 STS 0.3 3 0.8 0.5 4 43.9 85.0 98.7 5 1.6 6 0.6 7 8 0.1 The hit on the 4th STS station was displaced by a certain amount of the hit error (σhit = 17 µm) from the MC position The percentage of rejected hits was calculated. In ideal case for the 4th station it should be 100%, for other – 0% In collaboration with R. Frühwirth (HEPHY, Austria) and A. Strandlie (Uni-Oslo, Gjøvik University College, Norway) 28.02.2012 Igor Kulakov, FIAS, Tracking workshop

Igor Kulakov, FIAS, Tracking workshop Progress Conventional Square root UD-filtering ITBB Fit + Smooth DAF ArBB 28.02.2012 Igor Kulakov, FIAS, Tracking workshop

Igor Kulakov, FIAS, Tracking workshop Summary KF library includes track fit, track smooth and DAF algorithms; it is fast, scalable and allows to choose between different KF approaches, two propagation methods, different parallelization libraries, as well as between single and double precision calculations. KF library has been fully implemented with ITBB and tested. ArBB implementation is in progress. 28.02.2012 Igor Kulakov, FIAS, Tracking workshop

Igor Kulakov, FIAS, Tracking workshop Back up 28.02.2012 Igor Kulakov, FIAS, Tracking workshop

P = SST Transport example Idea P’ = F P FT P = F = P’ = = S’ = F S S = covariance matrix -> square root of covariance matrix P = SST Transport example P’ = F P FT 1 1010 1 1010 1010 + 1 1010 P = F = P’ = = 1010 1010 Lose information! S’ = F S 1 105 1 1 105 S = F = S’ = No problem with precision 28.02.2012 Igor Kulakov, FIAS, Tracking workshop