cvt alignment using a kalman-filter
TRANSCRIPT
Introduction
I One of the major obstacles to CVT calibration is thealignment.
I The CVT (central vertex tracker) consists of 84 silicon + 18micromega sensors.
I With 3 translation and 3 rotation degrees of freedom permodule, there are 612 alignment parameters.
I We plan to use existing code from CERN in order to run ouralignment https://kalmanalignment.hepforge.org/
I Our goal to use this program for alignment of the Clas12 CVTmodules.
2 / 16
The Kalman-Filter Alignment (KFA) ProgramI Advertised as generic code that could be used for any tracker
I Requires a small set of matrices for each measured track.I Contains a test suite for aligning MC of a fictitious detectorI Program has not been updated since 2011.I Goal: revive this program and use it for the CLAS12 CVT,
starting with the SVT, later expanding to BMT.
0 2 4 6 8 10 12 14 16 18 20/ndof2χ
0
100
200
300
400
500
600
700
800
900
num
ber
of tr
acks
/ndof2χDistribution of track
before alignment (Mean 1.9)
after alignment (Mean 1.0)
3 / 16
The Kalman-Filter Alignment (KFA) ProgramI Advertised as generic code that could be used for any trackerI Requires a small set of matrices for each measured track.
I Contains a test suite for aligning MC of a fictitious detectorI Program has not been updated since 2011.I Goal: revive this program and use it for the CLAS12 CVT,
starting with the SVT, later expanding to BMT.
0 2 4 6 8 10 12 14 16 18 20/ndof2χ
0
100
200
300
400
500
600
700
800
900
num
ber
of tr
acks
/ndof2χDistribution of track
before alignment (Mean 1.9)
after alignment (Mean 1.0)
3 / 16
The Kalman-Filter Alignment (KFA) ProgramI Advertised as generic code that could be used for any trackerI Requires a small set of matrices for each measured track.I Contains a test suite for aligning MC of a fictitious detector
I Program has not been updated since 2011.I Goal: revive this program and use it for the CLAS12 CVT,
starting with the SVT, later expanding to BMT.
0 2 4 6 8 10 12 14 16 18 20/ndof2χ
0
100
200
300
400
500
600
700
800
900
num
ber
of tr
acks
/ndof2χDistribution of track
before alignment (Mean 1.9)
after alignment (Mean 1.0)
3 / 16
The Kalman-Filter Alignment (KFA) ProgramI Advertised as generic code that could be used for any trackerI Requires a small set of matrices for each measured track.I Contains a test suite for aligning MC of a fictitious detectorI Program has not been updated since 2011.
I Goal: revive this program and use it for the CLAS12 CVT,starting with the SVT, later expanding to BMT.
0 2 4 6 8 10 12 14 16 18 20/ndof2χ
0
100
200
300
400
500
600
700
800
900
num
ber
of tr
acks
/ndof2χDistribution of track
before alignment (Mean 1.9)
after alignment (Mean 1.0)
3 / 16
The Kalman-Filter Alignment (KFA) ProgramI Advertised as generic code that could be used for any trackerI Requires a small set of matrices for each measured track.I Contains a test suite for aligning MC of a fictitious detectorI Program has not been updated since 2011.I Goal: revive this program and use it for the CLAS12 CVT,
starting with the SVT, later expanding to BMT.
0 2 4 6 8 10 12 14 16 18 20/ndof2χ
0
100
200
300
400
500
600
700
800
900
num
ber
of tr
acks
/ndof2χDistribution of track
before alignment (Mean 1.9)
after alignment (Mean 1.0)
3 / 16
Roadmap to AlignmentI Choose datasets: cosmic rays, and field-off tracks from target.
I Perform straight-tracks CVT reconstruction.I Create matrix-extraction service and run it on CVT data.I Run KFA.I Add alignment parameters to the CCDB.
4 / 16
Roadmap to AlignmentI Choose datasets: cosmic rays, and field-off tracks from target.I Perform straight-tracks CVT reconstruction.
I Create matrix-extraction service and run it on CVT data.I Run KFA.I Add alignment parameters to the CCDB.
4 / 16
Roadmap to AlignmentI Choose datasets: cosmic rays, and field-off tracks from target.I Perform straight-tracks CVT reconstruction.I Create matrix-extraction service and run it on CVT data.
I Run KFA.I Add alignment parameters to the CCDB.
4 / 16
Roadmap to AlignmentI Choose datasets: cosmic rays, and field-off tracks from target.I Perform straight-tracks CVT reconstruction.I Create matrix-extraction service and run it on CVT data.I Run KFA.
I Add alignment parameters to the CCDB.
4 / 16
Roadmap to AlignmentI Choose datasets: cosmic rays, and field-off tracks from target.I Perform straight-tracks CVT reconstruction.I Create matrix-extraction service and run it on CVT data.I Run KFA.I Add alignment parameters to the CCDB.
4 / 16
Matrix-Extraction Service
I I have written code to extract matrices from reconstructedtracks.
I These matrices will be illustrated in the next few slidesI measurementI covarianceI extrapolationI alignment derivativesI track derivatives
6 / 16
Measurements, covariance, and extrapolation
I ~m = measurement
I V = covariance
I ~c = extrapolation
7 / 16
Alignment Derivatives
I Derivatives of expected hit position with respect to alignmentvariables (translations and rotations in x , y , z)
8 / 16
Track Derivatives
I Derivatives of the expected hit position with respect to trackparameters: d0, φ0, z0, tan θdip
9 / 16
CVT Alignment Status
I Matrix extraction implemented for SVT for translations androtations in x, y, z.
I Ran matrix extraction, and KFA for translations in x, y,replaced alignment values in local database, repeated severaltimes.
I Planned future workI database should have separate alignment params for
top/bottom layers in each SVT moduleI run KFA with translations in z and rotations in all three
directions.I add BMT to list of alignables.
10 / 16
Results: Shifts
FIRST ITERATION
0.1−
0
0.1
0.2
0.3
x
translation x
150− 100− 50− 0 50 100 150-x (mm)
150−
100−
50−
0
50
100
150
y (m
m)
translation x
0.15−
0.1−
0.05−
0
0.05
0.1
y
translation y
150− 100− 50− 0 50 100 150-x (mm)
150−
100−
50−
0
50
100
150
y (m
m)
translation y
FINAL ITERATION
0.06−
0.04−
0.02−
0
0.02
0.04
xtranslation x
150− 100− 50− 0 50 100 150-x (mm)
150−
100−
50−
0
50
100
150
y (m
m)
translation x
0.06−
0.04−
0.02−
0
0.02
0.04
0.06 y
translation y
150− 100− 50− 0 50 100 150-x (mm)
150−
100−
50−
0
50
100
150y
(mm
)
translation y
11 / 16
Results: ResidualsBEFORE AFTER
0.6− 0.4− 0.2− 0 0.2 0.4 0.6
meas - extrap (mm)
0
5000
10000
15000
20000
25000
# of
clu
ster
s
1D position residualhmeasres
Entries 519750
Mean 0.002327− Std Dev 0.1792
1D position residual
0.6− 0.4− 0.2− 0 0.2 0.4 0.6
meas - extrap (mm)
0
5000
10000
15000
20000
25000
30000
35000
40000
45000
# of
clu
ster
s
1D position residualhmeasres
Entries 518958
Mean 0.003151− Std Dev 0.1261
1D position residual
0
200
400
600
800
1000
1D position residual
0.6− 0.4− 0.2− 0 0.2 0.4 0.6
meas - extrap (mm)
0
10
20
30
40
50
60
70
80
90
100
mod
ule
#
hmeasresmodEntries 519750
Mean x 0.002327− Mean y 43.55
Std Dev x 0.1792
Std Dev y 27.76
1D position residual
0
200
400
600
800
1000
1200
1D position residual
0.6− 0.4− 0.2− 0 0.2 0.4 0.6
meas - extrap (mm)
0
10
20
30
40
50
60
70
80
90
100
mod
ule
#
hmeasresmodEntries 518958
Mean x 0.003151− Mean y 43.45
Std Dev x 0.1261
Std Dev y 27.75
1D position residual
12 / 16
Results: χ2/ndof (first iteration)
0 2 4 6 8 10 12 14 16 18 20/ndof2χ
0
500
1000
1500
2000
2500nu
mbe
r of
trac
ks
/ndof2χDistribution of track
before alignment (Mean 6.4)
after alignment (Mean 3.5)
13 / 16
Results: χ2/ndof (after several iterations)
0 2 4 6 8 10 12 14 16 18 20/ndof2χ
0
500
1000
1500
2000
2500
3000nu
mbe
r of
trac
ks
/ndof2χDistribution of track
before alignment (Mean 2.5)
after alignment (Mean 2.4)
14 / 16
Summary
I KFA is advertised as a generalized algorithm that can be usedon any tracker
I Preliminary results from KFA on the CVT appear promisingI residuals are centered at zeroI χ2/ndof is reduced.
I However, more work needs to be done.I Add multiple scattering to model of covariance.I Include BMT to alignablesI Incoporate both cosmics and field-off eventsI Extract all alignment variables.
15 / 16