- genevb's home page
- Posts
- 2024
- 2023
- 2022
- September (1)
- 2021
- 2020
- 2019
- December (1)
- October (4)
- September (2)
- August (6)
- July (1)
- June (2)
- May (4)
- April (2)
- March (3)
- February (3)
- 2018
- 2017
- December (1)
- October (3)
- September (1)
- August (1)
- July (2)
- June (2)
- April (2)
- March (2)
- February (1)
- 2016
- November (2)
- September (1)
- August (2)
- July (1)
- June (2)
- May (2)
- April (1)
- March (5)
- February (2)
- January (1)
- 2015
- December (1)
- October (1)
- September (2)
- June (1)
- May (2)
- April (2)
- March (3)
- February (1)
- January (3)
- 2014
- December (2)
- October (2)
- September (2)
- August (3)
- July (2)
- June (2)
- May (2)
- April (9)
- March (2)
- February (2)
- January (1)
- 2013
- December (5)
- October (3)
- September (3)
- August (1)
- July (1)
- May (4)
- April (4)
- March (7)
- February (1)
- January (2)
- 2012
- December (2)
- November (6)
- October (2)
- September (3)
- August (7)
- July (2)
- June (1)
- May (3)
- April (1)
- March (2)
- February (1)
- 2011
- November (1)
- October (1)
- September (4)
- August (2)
- July (4)
- June (3)
- May (4)
- April (9)
- March (5)
- February (6)
- January (3)
- 2010
- December (3)
- November (6)
- October (3)
- September (1)
- August (5)
- July (1)
- June (4)
- May (1)
- April (2)
- March (2)
- February (4)
- January (2)
- 2009
- November (1)
- October (2)
- September (6)
- August (4)
- July (4)
- June (3)
- May (5)
- April (5)
- March (3)
- February (1)
- 2008
- 2005
- October (1)
- My blog
- Post new blog entry
- All blogs
BTOF-matching in tracking and vertexing
Updated on Thu, 2017-10-12 15:33. Originally created by genevb on 2017-10-11 09:56.
Motivated by the need to understand what was happening in a recent request to re-process data with alternative vertex-finding that included a requirement of using only BTOF-matched tracks, I investigated the state of BTOF-matching in various places. I am documenting this here following the order in which things occur presently in the BFC of physics productions.
Summarizing some key points:
I advocate modifying the reconstruction chain to split Sti so that there is an official split between global track-finding, and primary-track-finding. Between those would be two chain components: any track-to-fast-detector matchers (e.g. StBTofMatchMaker), then the vertex-finder. This will require notable re-arrangements of code, particularly within StiMaker.
- When Sti finds global tracks, it actually already does BTOF-matching on all tracks [1,2,3], and stores that with the global StEvent/StTrack. This code uses an StDetectorDbChair (St_tofStatusC) for determining TOF cell status.
- The vertex-finder (PPV) runs, then (when in the UseBTOF4Vtx mode) repeating BTOF-matching on its own [1] for a set of tracks that pass its cuts, and using nearly identical, duplicated code [2,3]. I have uncovered an important difference in these two BTOF-matchers: the one in PPV users coarser granularity in the BTOF, requiring a match only within a tray & module, while the BTOF-matcher for Sti requires a match within tray & module & cell (a factor of 6 finer granularity; please see the figure at the bottom of this page). The impact of this is that Sti does not have all the same matches that PPV has because tracks may miss a BTOF hit by a cell due to finite resolution in the track projection. Another difference is that PPV's BTOF-matching code uses a different accessor to the BTOF status tables that had been broken for the past 5 years, but was recently fixed.
As for PPV, I confirm again that when in the UseBTOFMatchOnly mode, only tracks that match BTOF hits are used in the vertex-finding. PPV then fills StEvent/StPrimaryVertex with the correct numbers for tracks used and tracks with BTOF hits [4]. - Sti then extends the global tracks to the primary vertices and labels them as "primary" if they pass certain cuts on proximity to the beam axis and one of the found vertices [1]. This can result in a track being labeled primary when it wasn't used in vertex-fittng, and can also result in a track that was used for vertex-fitting being labeled NOT primary. I haven't looked carefully at this, but I expect that nearly everything used in vertex-finding is labeled as a primary (i.e. Sti's cuts are looser).
- Sti then creates primary versions of StEvent/StTrack, requiring the aforementioned labeling as primary [1], and copying the global StEvent/StTrack information about whether each track has a BTOF match. After creating the primary tracks, Sti loops over the primary vertices [2] and instructs each vertex to count the number of its daughter tracks that have BTOF matches [3], over-writing the number that was stored there by PPV. Because this determination of BTOF-matching is more strict than PPV's, it generally results in a reduction of the number of BTOF-matches recorded for each vertex. However, as noted in step (3), I think these tracks that were BTOF-matched in PPV but not in Sti are still generally recorded as primary.
- StBTofMatchMaker runs, and assigns tracks to hits in the BTOF collection [1]. This is yet another instance of BTOF-matching code (importantly though, this is the TOF-group supported instance!), and it is far from a duplicate code, so it would require more effort for me to understand its matching scheme (the TOF group likely already understands this code much better). We should not assume that it yields identical results to either the Sti or PPV BTOF-matching codes.
- StMuDstMaker runs, looping over BTOF hits to see if they have an associated track. If so, the associated StMuTrack will have the index of that BTOF hit [1]. In other words, the MuDst tracks have BTOF-matching based on StBTofMatchMaker, and this is what is used when PPV is used to re-do vertex-finding from the MuDst [2].
Summarizing some key points:
- As implemented, coarse BTOF-matching is indeed required for all tracks used in PPV vertex-finding when the UseBTOFMatchOnly option is enabled.
- Vertices in the MuDst properly store the number of tracks used in vertex-finding, but the number of BTOF-matched daughters is calculated from both a different set of requirements on the tracks, and a stricter definition of BTOF-matching.
- Tracks in the MuDst use yet a different code for their definition of BTOF-matching (which is the TOF-group supported version, and perhaps can be therefore labeled as the "official" definition).
I advocate modifying the reconstruction chain to split Sti so that there is an official split between global track-finding, and primary-track-finding. Between those would be two chain components: any track-to-fast-detector matchers (e.g. StBTofMatchMaker), then the vertex-finder. This will require notable re-arrangements of code, particularly within StiMaker.
»
- genevb's blog
- Login or register to post comments