STAR Sti, main features V. Perevoztchikov Brookhaven National Laboratory,USA.

Slides:



Advertisements
Similar presentations
Psych 5500/6500 t Test for Two Independent Groups: Power Fall, 2008.
Advertisements

Solving LP Models Improving Search Special Form of Improving Search
Artificial Intelligence 13. Multi-Layer ANNs Course V231 Department of Computing Imperial College © Simon Colton.
MS&E 211 Quadratic Programming Ashish Goel. A simple quadratic program Minimize (x 1 ) 2 Subject to: -x 1 + x 2 ≥ 3 -x 1 – x 2 ≥ -2.
LOCAL SEARCH AND CONTINUOUS SEARCH. Local search algorithms  In many optimization problems, the path to the goal is irrelevant ; the goal state itself.
Combined tracking based on MIP. Proposal Marian Ivanov.
Bar Ilan University And Georgia Tech Artistic Consultant: Aviya Amir.
CMPUT 466/551 Principal Source: CMU
Planning under Uncertainty
© Janice Regan, CMPT 102, Sept CMPT 102 Introduction to Scientific Computer Programming The software development method algorithms.
1Notes  Reference  Witkin and Baraff, “Physically Based Modelling” course, SIGGRAPH 2001  Link on the course website.
1 Vertex fitting Zeus student seminar May 9, 2003 Erik Maddox NIKHEF/UvA.
Reinforcement Learning Rafy Michaeli Assaf Naor Supervisor: Yaakov Engel Visit project’s home page at: FOR.
MAE 552 Heuristic Optimization
Computational Complexity, Physical Mapping III + Perl CIS 667 March 4, 2004.
Nonlinear Regression Probability and Statistics Boris Gervits.
Fitting a Model to Data Reading: 15.1,
Support Vector Machines
Review Rong Jin. Comparison of Different Classification Models  The goal of all classifiers Predicating class label y for an input x Estimate p(y|x)
Overview and Mathematics Bjoern Griesbach
Radial Basis Function Networks

Collaborative Filtering Matrix Factorization Approach
A quadratic equation is a second degree polynomial, usually written in general form: The a, b, and c terms are called the coefficients of the equation,
Machine Learning CS 165B Spring 2012
Ch 8.1 Numerical Methods: The Euler or Tangent Line Method
Boyce/DiPrima 9th ed, Ch 8.4: Multistep Methods Elementary Differential Equations and Boundary Value Problems, 9th edition, by William E. Boyce and Richard.
Framework for track reconstruction and it’s implementation for the CMS tracker A.Khanov,T.Todorov,P.Vanlaer.
STAR C OMPUTING Maker and I/O Model in STAR Victor Perevoztchikov.
STAR StiVmc V. Perevoztchikov Brookhaven National Laboratory,USA.
880.P20 Winter 2006 Richard Kass 1 Confidence Intervals and Upper Limits Confidence intervals (CI) are related to confidence limits (CL). To calculate.
Lecture Notes Dr. Rakhmad Arief Siregar Universiti Malaysia Perlis
University Prep Math Patricia van Donkelaar Course Outcomes By the end of the course,
Tracking at LHCb Introduction: Tracking Performance at LHCb Kalman Filter Technique Speed Optimization Status & Plans.
Course 13 Curves and Surfaces. Course 13 Curves and Surface Surface Representation Representation Interpolation Approximation Surface Segmentation.
1 Psych 5500/6500 The t Test for a Single Group Mean (Part 1): Two-tail Tests & Confidence Intervals Fall, 2008.
1 E. Fatemizadeh Statistical Pattern Recognition.
2005MEE Software Engineering Lecture 11 – Optimisation Techniques.
Convergence and error estimation Convergence means that for increasing density of meshes, the FE numerical solution should come closer to the appropriate.
Y.Fisyak, BNL - STAR Upgrade workshop, 12/2/ Integrated Tracker – STAR tracking framework of the future update on  status and  perspective IT(TF)
Track extrapolation to TOF with Kalman filter F. Pierella for the TOF-Offline Group INFN & Bologna University PPR Meeting, January 2003.
STAR STAR VMC tracker V. Perevoztchikov Brookhaven National Laboratory,USA.
STAR Kalman Track Fit V. Perevoztchikov Brookhaven National Laboratory,USA.
STAR Event data storage and management in STAR V. Perevoztchikov Brookhaven National Laboratory,USA.
Integrated Tracker (progress, status, plans) Y. Fisyak.
STAR Schema Evolution Implementation in ROOT I/O V. Perevoztchikov Brookhaven National Laboratory,USA.
Problem Reduction So far we have considered search strategies for OR graph. In OR graph, several arcs indicate a variety of ways in which the original.
Bundle Adjustment A Modern Synthesis Bill Triggs, Philip McLauchlan, Richard Hartley and Andrew Fitzgibbon Presentation by Marios Xanthidis 5 th of No.
Elements of Pattern Recognition CNS/EE Lecture 5 M. Weber P. Perona.
Variational and Weighted Residual Methods
WP3 The LiCAS Laser Straightness Monitor (LSM) Greg Moss.
STAR StiVmc V. Perevoztchikov Brookhaven National Laboratory,USA.
Development of the parallel TPC tracking Marian Ivanov CERN.
Artificial Intelligence in Game Design Lecture 20: Hill Climbing and N-Grams.
STAR SVT Self Alignment V. Perevoztchikov Brookhaven National Laboratory,USA.
STAR Simulation. Status and plans V. Perevoztchikov Brookhaven National Laboratory,USA.
Sti primary track puzzle Yuri Fisyak. Charge dependent relative difference in primary track transverse momentum between Sti (.dev) and TpT On STAR collaboration.
The accuracy of averages We learned how to make inference from the sample to the population: Counting the percentages. Here we begin to learn how to make.
FNAL Software School Day 4 Matt Herndon, University of Wisconsin – Madison.
New TRD (&TOF) tracking algorithm
A Kalman Filter for HADES
10701 / Machine Learning.
Collaborative Filtering Matrix Factorization Approach
Where did we stop? The Bayes decision rule guarantees an optimal classification… … But it requires the knowledge of P(ci|x) (or p(x|ci) and P(ci)) We.
Outline This topic covers Prim’s algorithm:
Artificial Intelligence
ML – Lecture 3B Deep NN.
Support Vector Machines
CS 416 Artificial Intelligence
Presentation transcript:

STAR Sti, main features V. Perevoztchikov Brookhaven National Laboratory,USA

STAR Victor Perevoztchikov, BNL StarSoft local Topics  Track seeds;  What is Kalman;  Tree search;  Smoother and refit;  Global helix approximation;  Primary track fitting;  The failed hits are free again ;  Few tips for new detector.

STAR Victor Perevoztchikov, BNL StarSoft local Track seeds Track seeds are the short initial tracks. They are made from a few hits (<=8). Searching of appropriate hits started in the region far from the collision, where track density is low. Used hits are marked to avoid reusing. The algorithm, used in Sti, is traditional. Nothing special.

STAR Victor Perevoztchikov, BNL StarSoft local What is Kalman The simple example. We have 4 measurements of the same parameter. To estimate the value we search the minimum of: The solution is trivial, this is a “global fit”:

STAR Victor Perevoztchikov, BNL StarSoft local Kalman continue It was a global solution. The Kalman approach is:

STAR Victor Perevoztchikov, BNL StarSoft local Kalman continue Kalman fit features:  The result of Kalman fit is exactly the same as for a global one. No mystics;  In global fit, size of matrix to invert, depends on number of measurements. In Kalman fit not. As a result, machine accuracy for Kalman fit are more critical;  In Kalman fit an estimation is updated with each new measurement. This allows to make a decision: is this new measurement belong to our object, or not? So we can use not only Kalman fit but Kalman filter. Not possible in global;  By the points above, Kalman fit and filter are so popular.

STAR Victor Perevoztchikov, BNL StarSoft local Tree search Kalman filter allows to estimate how good the next measurement is. But what to do if we have a few ones? The evident way to select the best one. But if accuracy of track is much less than accuracy of hit, then the quality of hits are very close. It is typical case then TPC track coming into SVT region. When we do not have enough information to make a decision based on one hit, may be we can do it using several hits. In Sti Tree search is used for that. The different combinations of hits are used, including no hit case. A combination with the best functional is accepted. Functional is a function of hit qualities and hit number. Not all combinations are checked. That is why it is “Tree” search.

STAR Victor Perevoztchikov, BNL StarSoft local Tree search continue Tree search is effective if 2 or more hits are used. In the case of SSD + SVT all the combinations with only one hit are dropped. In simulation we see that one SVT hit in 70% cases belongs to other track. That is why, in design of new detector is very important to think not only about accuracy of it, but also its position must be not far from the previous detector. Otherwise the accuracy of coming track is not good enough, to select the high precision hit. As a result, our high precision detector is senseless.

STAR Victor Perevoztchikov, BNL StarSoft local Smoother In real life Kalman of course works for much more complicated case. During track fit, information is added hit by hit. So the end point is reconstructed on the base of all hits in track. After that it is possible to go in the backward direction. Then the first point also accumulates information from all hits. But all intermediate points have “intermediate” accuracy. This could be solved by smoother. Smoother is a part of Kalman algorithm, which provides equal accuracy of all points. Smoother is implemented in Sti. From the first glance it is enough. But it is not. The problem is, that Kalman is the algorithm of finding exact minimum of quadratic functional. For such functional, after fit in one direction and smoother in backward direction, we have exact solution. But our functional is not quadratic at all. That means we must use “quadratisation” of our functional, or,which is the same, linearisation of according equations. If we use such approximation, evident, we must use iterations.

STAR Victor Perevoztchikov, BNL StarSoft local Refit For the “quadratic” functional, refit is senseless. Each iteration gives the same result. Our track is approximated by helices near the hits, with some boundary conditions between neighboring helices. It is typical non linear case. A linearisation is based on derivatives. If these derivatives taken in a proper points, then Kalman will give the exact result. But Kalman is started with the infinite errors, hence the first point is the first hit. Derivatives in this point are wrong. Hence second point also is wrong, and so on. To fix the problem, the evident choice is iterations, refit. But there is a problem. After first iteration, which includes fit in one direction and smoother backward, when you start to do the same again, you must assign the infinite errors again. Your first point again coincide with hit. You restarted again with bad accuracy. When hits are close to each other, linearisation works well, and such refit gives not too bad result. It is not STAR case. TPC hits are very far from SVT ones. Linearisation works really bad for this case.

STAR Victor Perevoztchikov, BNL StarSoft local Refit(2) The evident solution is to start next iteration, accounting the previous information. A naïve approach, just to use the value and errors from the previous iteration. In this case we will get good parameters with absolutely wrong errors. It is because of using the same measurements again and again. In the previous Sti version, we used this approach, ignoring that errors are wrong. When iterations were ended, then correct errors were recalculated by smoother. Looks like OK. But it is not. Kalman is not only a fitter, it is also a filter. Hits are filtered, and if hit is too far from the model, it is ignored. But when errors during the fit are wrong, how to do a filtering? We need the modified Kalman algorithm, which allows to use correctly information from previous iteration.

STAR Victor Perevoztchikov, BNL StarSoft local Refit(3) Let look again to the previous trivial example: Where Both formulas give exactly the same result. But second one has twice bigger number of measurements and twice bigger errors of them. This gives an idea, how to modify Kalman, to account values and errors from the previous iteration.

STAR Victor Perevoztchikov, BNL StarSoft local Kalman modification Kalman new strategy:  Do iteration;  Get the values and errors;  Increase error matrix by N;  Increase all hit errors by M, where 1/N+1/M = 1  Use obtained values and increased errors as initial values for next Kalman iteration;  And so on. During iterations, the errors are more less correct, and closer to the solution, more correct. In current version parameters N and M where chosen as N=1/0.3 and M = 1/0.7

STAR Victor Perevoztchikov, BNL StarSoft local Bad seed and global helix approximation

STAR Victor Perevoztchikov, BNL StarSoft local Bad track and global helix approximation

STAR Victor Perevoztchikov, BNL StarSoft local Global Helix Kalman follows it’s nose. It is good and bad in the same time. As you see on the previous slides, some times it is very bad. To improve it, Simple Global Helix was implemented.  It does not account hit errors for seeds  It does not account energy loss  Simplified fit: by X,Y and Z,L separately So it allows to make “global vision” of the track an addition to Kalman’s “local vision”. It is used just after seed finder, and just before refit.

STAR Victor Perevoztchikov, BNL StarSoft local Fit to Primary vertex Mathematically the primary vertex is a common point of all primary tracks. More precise, of all models of primary track. The primary vertex is calculated from the tracks using this constrain. The classical way to do it, is fitting all the tracks with common point constrain. Then all the primary tracks have exactly the same common point and have improved errors. But in practice:  To obtain primary we selected the best tracks. We must anyway to assign this point to other non selected but probably primary tracks;  We fit the primary vertex as a point closest to all tracks, without touching the track parameters;  So we got a primary vertex and them try to assign this point to all the tracks; But how to do it mathematically correct?

STAR Victor Perevoztchikov, BNL StarSoft local Fit to Primary vertex(2) How to do it mathematically correct? We can:  Consider the vertex as an additional hit with it’s errors. But then all the tracks will have the different coordinates of primary vertex. It contradicts to our main assumption;  Consider the vertex as an additional hit with zero errors. Then the point is the same for all tracks. But the vertex errors are not accounted and track errors are underestimated.  The combination of two above. Fit track with constrain to go through the primary vertex, which is equivalent to zero errors, and then, propagate vertex errors to track. The last approach was implemented. It works well, but… Always “but”.

STAR Victor Perevoztchikov, BNL StarSoft local Fit to Primary vertex problems How it is implemented:  Check chi-square of track to vertex.  If it is too big, it is not a primary. Due to non linearity, it is allowed to be rather big;  Refit the track. If refit is failed, it is not a primary. The problems:  After refit all chi-squares increased but one in vertex node becomes very small. What is the quality of the assignment? May be total chi-square of track? Not clear.  During refit, some nodes dropped and in result fit is good. But is it our track now? How many drops could be allowed? So not everything is clear yet.

STAR Victor Perevoztchikov, BNL StarSoft local Hits dropped in refit. During refit some nodes are dropped. What to do with according hits? Before we still kept them assigned to this track. That means we do not allow to use them for the other tracks. But very probably, this hit belongs to other track. Why our track, like “dog on the hay stock” does not use itself and does not allow to use others? But may be this hit on the crossing of two tracks, and it is hard to say which is it. So looking on the pictures presented above, some hit assignments is so weird, that I decided to allows for dropped hits to become free. So they could be used by others. We will see.

STAR Victor Perevoztchikov, BNL StarSoft local Tips for new detector.  High accuracy of new detector means nothing if accuracy of prediction is not enough to select best hit. By other words: l Either new detector must be not far from the previous one; l Or track density must be low enough;  The proper alignment is extremely important;  Realistic simulation of the detector, with keeping simulation information after reconstruction(idTruth), is very important. No any calculations on the back of an envelope, could replace the good simulation.  Remember, that even good simulation always gives results better than reality.

STAR Victor Perevoztchikov, BNL StarSoft local Results The following features were implemented and used:  Smoother used in refit  Refit with modified Kalman;  Global helix approximation ;  Primary track fitting to the common vertex point;  The failed hits are reused;  Still some unclear things remain