Vertexing and Kinematic Fitting, Part III: Vertex Fitting Lectures Given at SLAC

advertisement
Vertexing and Kinematic
Fitting, Part III:
Vertex Fitting
Lectures Given at SLAC
Aug. 5 – 7, 1998
Paul Avery
University of Florida
avery@phys.ufl.edu
http://www.phys.ufl.edu/~avery
Paul Avery
1
Vertex fitting
Overview of plan
 3rd of several lectures on kinematic fitting
 Focus in this lecture on vertex fitting theory
 Plan of lectures




Lecture 1: Basic theory
Lecture 2: Introduction to the KWFIT fitting package
Lecture 3: Vertex fitting
Lecture 4: Building virtual particles
 References
 KWFIT
http://www.phys.ufl.edu/~avery/kwfit/ or
http://w4.lns.cornell.edu/~avery/kwfit/
 Several write-ups on fitting theory and constraints
http://www.phys.ufl.edu/~avery/fitting.html
Paul Avery
2
Vertex fitting
Theory
Equations of motion in solenoidal field
Written as function of arc length s, the path of the particle is a helix:
px  p0 x cos s  p0 y sin s
py  p0 y cos s  p0 x sin s
pz  p0 z
p0 y
p0 x
sin s 
1  cos s
a
a
p0 y
p
y  y0 
sin s  0 x 1  cos s
a
a
p
z  z0  0 z s
p
a
a
x  x0 
f
f
where a = –0.299792458BQ and  = a / p.
Paul Avery
3
Vertex fitting
Creating the constraint equations
Suppose we want to force n tracks to come from a common space
point x. Assume further that the vertex has some “prior information”,
i.e., it is a beam spot at x 0 with covariance matrix Vx 0 . (If the vertex
is completely unknown, we can just set the diagonal elements to
large values.)
The condition that track i pass through the vertex generates 2
constraints: (1) r– and (2) z
a
0  px i yi  pyi xi  i xi2  yi2
2
pz i 1
2
0  zi 
sin ai px i xi  pyi yi / px2 i  pyi
ai
d
d
where
i
id
i
ai  0.299792458BQi
Qi = charge
xi  x x  xi , etc.
For n tracks, there are 7n parameters and 2n constraints
Paul Avery
4
Vertex fitting
The  2 includes contributions from the track parameters , vertex
parameters x and the constraints H, x  0 :
a f V a   f
a
xx f V a
xx f
2  a
D  Ex  df
2    0
T
T
0
1
0
0
1
x0
0
T
Tracks
Vertex
Constraints
 has length 7n
x has length 3
 has length 2n
     A (expanded around  A)
x  x  x A (expanded around x A )
D is 2n  7n
(coefficient of track parameters Dij  Hi /  j )
E is 2n  3
(coefficient of vertex parameters Eij  Hi / x j )
d is 2n  1
(constant term di  Hi  A ,x A )
Paul Avery
a f
5
Vertex fitting
The crucial fact about the vertex constraint is that the constraints do
not mix tracks.
FE I
G
E J
E  GJ
 J
G
G
HE J
K
1
2
n
FD
G
DG
G
G
H
1
D2

I
J
J
J
J
D K
n
This fact vastly speeds up the calculation for the solution because the
matrices that need to be inverted can be reduced to block diagonal
form.
FD V
G
i G
G
G
H
1
d
VD  DV 0 D
I
J
J
J
D J
K
1
T
10 D1
D2V2 0 D2T
T 1

DnVn 0
T
n
22
Paul Avery
6
Vertex fitting
The solution for  and x can be written (see CBX 98–37 for a
detailed discussion)
   0  V 0 DT 
x  x 0  Vx 0 E T   Vx Vx01x 0  Vx E T  0
   0  VDEx
a
 0  VD D 0  d
d
VD  DV 0 DT
f
1
i
where      A and x  x  x A are the deviations of the
parameters from their expansion points.
The covariance matrices are
d
Vx  Vx01  ET VDE
1
i
V  V 0  V 0 DT VDDV 0  V 0 DT VDEVx E T VDDV 0
cov , x    V 0 DT VDEVx
and the  2 is given by
d
i
a
 2   T VD1  EVx01ET    T D 0  Ex 0  d
Paul Avery
7
f
Vertex fitting
This solution requires that we invert the following
d
d
V
VD  DV 0 DT
Vx
1
i
n 2  2 matrices
T
x 0  E VD E
1
i
a 3  3 matrix
FD V
G
i G
G
G
H
1
d
VD  DV 0 D
FV
G
G
G
G
H
D2V2 0 D2T
T 1
D1
VD 2

VDn
I
J
J
J
D J
K
1
T
10 D1

DnVn 0
T
n
I
J
J
J
J
K
So we have found an efficient solution.
Paul Avery
8
Vertex fitting
Comments About Solution
Vertex covariance matrix
The vertex covariance matrix Vx is an average of original covariance
matrix and a sum over track info
Vx 
FE I
G
E J
E  GJ
J
G
G
HE J
K
d
Vx01
VD
n
Vx
FV
G
G
G
G
H
1
i
D1
1
2
 E VDE
T
F
G
V
H
1
x0 
VD 2
 EiT VDi
i

VDn
I
J
J
J
J
K
I
EJ
K
1
i
Note that when the initial vertex is totally unknown, we make Vx 0 as
large as possible, so that Vx01  0 . In that case
F
I
G
E V EJ

H
K
1
Vx
T
i Di i
i
Paul Avery
9
Vertex fitting
Track correlations
Note the structure of the updated track covariance matrix
V  V 0  V 0 DT VDDV 0  V 0 DT VDEVx ET VDDV 0
Worsening due to “wiggle”
of vertex point.
Improvement due to fit
to fixed vertex point.
Term 2 does not cause track - track correlations, since V 0, D and
VD are block diagonal. Equivalent to fitting each track separately
though the same fixed space point.
Term 3 causes track-track correlations only through the “tiny” 3 3
Vx matrix. Track-track correlations can thus be calculated by saving
some of the intermediate matrices.
Paul Avery
10
Vertex fitting
Vertex Fitting as a Kalman
Problem
Track fitting problem
Want to find 5 helix parameters  and 5  5 covariance matrix V by
adding in the information from n measurements.
Method is to move to measurement point, then average the
measurement (usually a 1 dim. quantity) with the track to get
improved track parameters and covariance matrix. This is repeated
until all measurements are included.
Paul Avery
11
Vertex fitting
 Let 0, V 0 be the old track parameters & covariance matrix.
 Let y, Vy be the measurement deviation & its covariance matrix.
 Let A represent the derivative of the measurement with each of the
5 track parameters.
Then the new track parameters and covariance matrix are
   0  V AT Vy1y
d
 V 0  V 0
1
i
A d
V  AV
V  V01  AT Vy1 A
T
y
T
A
0
1
i
AV 0
Note that only a 1  1 matrix has to be inverted at each step.
If the track does not have to be moved or modified between
measurements, then all the measurements can be added at once, at the
cost of inverting an n  n matrix.
Paul Avery
12
Vertex fitting
Vertex fitting
Want to find 3 vertex parameters x and 3  3 covariance matrix Vx
by adding information from n tracks.
Each track “measurement” consists of 7 parameters 0 and a 7  7
covariance matrix V 0
Method is to average the vertex with the track to get improved vertex
parameters and covariance matrix. This is repeated until all tracks are
included.
The only difference from the track fitting problem is that a constraint
is used to average the track info with the vertex information.
Paul Avery
13
Vertex fitting
Let the index i refer to track i. Assume we have a vertex x0 with
initial covariance Vx 0 to which we want to add track i. The following
equations update the vertex parameters, covariance matrix and  2 .
d
x  Vx Vx01x 0  EiT VDi  0 i
d
d

Vx  Vx01  EiT VDi Ei
 i2
i
1
i
i d
T
0i
 Eix VDi  0 i  Ex 0
i
where  0 i  Di 0 i  di . Repeat until all tracks are added.
It is also possible to make a quick algorithm where tracks can be
included or discarded. Only 3 sums needed:
1. Vector of length 3
 EiT VDi  0 i
i
2. 3  3 matrix
 EiT VDi Ei
i
3. Scalar
  i2 as described above
i
A track can be removed easily from the sums if its  2 contribution
is too large. This process is similar to that used for removing hits
from a Kalman fit.
Paul Avery
14
Vertex fitting
Download