Professional Documents
Culture Documents
27 January 2012
strategy
Geometry
on software
Context
Wenbin
It gives very promising results in terms of efficiency and ghost rates, measured on high mu events
99.5
Understand the geometry and the features Get digitized events (no standard Digi tapes with MC truth!) Understand the pattern Tune it Make it fast and efficient
Geometry
48
6 chips (3x2) at one z, 6 other at a different z Each chip is 256x256 pixels Clustered 2x2 by TELL40
The rest is similar: right and left sensors at different z with overlap and RF foil.
Recent developments in Pattern recognition 20 January 2012 3
Olivier Callot
Can
NO as it is too slow ! No need to apply a matrix operation to transform local to global coordinates
A
pixel size is (as far as I understood) different, but for the pattern this is irrelevant. Compute the parameters using pixel 1,1 and 254,254 and extrpolate to 0 and 255
Olivier Callot
Hit preparation
First
A cluster is: sensor number, chip number, row and column in chip. Process the geometry once to get a parameterisation of the x,y,z position of each pixel
9
Update
This
takes 0.11 ms
Recent developments in Pattern recognition 20 January 2012 5
Olivier Callot
Main loop
The
This is the basic RZ tracking, the only one in HLT 4 consecutive sensors, same side, same (angular) zone
Then
Here
We can be less strong in our requirements In other words, we can take only 2 points, this gives already 4 coordinates
Loop
Take the next sensor on the same side Iterate on all pairs of hits Extend this pair up- and downstream, allowing missing sensors.
Olivier Callot Recent developments in Pattern recognition 20 January 2012 6
To
Hits are sorted by x in each sensor. Loop on the hits in the first sensor
Loop
on the hits in the second sensor, start at the previous hit compatible with the previous hit of the first sensor.
A hit at a too low x cant be used when the first sensor hit is at higher x
Loop
is aborted as soon as a track is found or as soon as we are outside the allowed x range for this first Sensor 0
Sensor 1
After the red hit, restart here for the green one
Olivier Callot Recent developments in Pattern recognition 7
20 January 2012
Some
used as being on tracks with more than 3 hits as there are some ghosts at this level. concept of pointing to the vertex area
The pair must have a direction within 400 (x) and 300(y) mrad
No
is defined as
z of the seed sensor < 200 mm and zClosestToBeam at higher z than the first hit
We
Olivier Callot
27 January 2012
The
pair is extrapolated
the closest hit in the next sensor same side.
Distance to expected x position less than150 micrometers 2 should be less than 100 (this is the test in y also) Double these tolerances if the Z distance to the previous hit is more than 100 mm, as extrapolation is inaccurate
Use
Olivier Callot
20 January 2012
What
is a binary search ?
Time is proportional to log2 of the multiplicity Useful when multiplicity is greater than ~10
Olivier Callot
27 January 2012
10
The
pair is extrapolated
the closest hit in the next sensor same side.
Distance to expected x position less than150 micrometers 2 should be less than 100 (this is the test in y also) Double these tolerances if the Z distance to the previous hit is more than 100 mm, as extrapolation is inaccurate
Use If
not found in a sensor of the same side, start to look at the other side sensors also.
Tracks can cross the boundary But at least 2 hits should be on the same side
Stop
Count 2 for each sensor missed when working only on one side.
Olivier Callot
20 January 2012
11
Final
Extra
This is essentially the next hit on the list, as the hits are sorted in x
2
This handles the overlap between chips But there is a problem for wide clusters, i.e. more than 2 pixels in one direction
Currently A
This is not good: The second cluster is at 2*12 sigma = 6.9 sigmas
Olivier Callot
20 January 2012
12
Filter
Should be on 3 different sensors Should be all 3 unused 2 per DoF should be less than 6.
Filter
when some hits are not too well aligned. They can be removed, and then free to do a second track with all by the 2 seed hits already used
Tracks
The check of all 3 hits unused on 3 cluster tracks is applied again, to be order independent.
Olivier Callot
27 January 2012
13
One can selectively debug the processing of a given MC particle. Print statements are triggered by the hit belonging to the MC particle
No
There
List MCParticles not reconstructed, or having multiple tracks (clones) Can also print the ghosts, with their MC hit association, and then debug the processing of these hits as indicated earlier
This
Olivier Callot
Performance of PatPixel
Measured
2 1033 conditions, mu~4, i.e. difficult! In average 150 tracks reconstructed per event
1.12 ms
data preparation, 0.80 tracking, 0.21 conversion to LHCb::Track This last conversion is NOT needed in HLT1, and probably also offline. One could (should) work without new / delete for tracks
We dont by expensive CPU for memory management!
Olivier Callot Recent developments in Pattern recognition 20 January 2012 15
Comments on software
We
We should remove obsolete tests, i.e. non square pixels, if they are obsolete.
Do
Olivier Callot
27 January 2012
16
Some
is important
memory management if not absolutely needed A vector implies a new to get space to store it, and a delete later, which are not visible in the code !
Management
is important
A clear responsible, with whom one can discuss Regular meetings to track progresses and milestones
A
Olivier Callot
Summary
The
In a FAST way, around 1 ms per event Very efficiently, over 99.5% With very few bad guys
Ghosts
are in fact not always real ghosts, but tracks made with a mother and daughter inside the Velo
The
code is available
Olivier Callot
27 January 2012
18
Software
effort to be coordinated
And
principle easy, but has to be tried to measure what could be obtained, with all our current expertise with this sort of detector, at high luminosity.
Olivier Callot
27 January 2012
19