Adding KF-setup to the ca::Parameters
The MR introduces KF-setup instances to the ca::Parameters object: fGeometrySetup contains all the tracking stations, provided by the tracking detector interfaces, and fActiveSetup is created on the flight and contains only active tracking stations.
Also:
- index mapping of a geo layer to the (detector, id) is introduced
- mechanism of layer disabling is introduced to the kf::Setup
- old material maps in the CA are replaced with the new ones from the fActiveSetup
NOTE The new maps have 100 bins in one axis and cover full tracking acceptance (to be tested)
Todo:
-
provide kf::Setup initialization in QA-tasks -
provide kf::Setup initialization in the online binary (from files) -
replace the subsystem selection for different tracking modes from the CbmL1::Init() to corresponding YAML configs (the geometry setup will include all the subsystems among MVD, STS, MuCh, TRD, TOF, if ones are presented in the geometry and provide hits; for a particular tracking mode unused setups are to be disabled in the config)
Update 14.10.2024
The timeout for mcbm_2024_rec_3105 was temporarily increased from 70 to 95 seconds. This is needed to keep two setup initialization schemes (the old one in the CA and the new one in the KF). The both initialization schemes execute material budget map generation for different tracking stations, which is time-consuming. The old geometry initialization scheme will be removed after the full migration of the track fitting utilities from CA to the KF library. The table below show timings, which were measured in the mcbm_2024_rec_3105 test for the master (d89a5a0f) and the KF-setup-init (this MR) branches.
time measurement | master, [s] | !1931 (merged), [s] |
---|---|---|
CbmL1::Init() | 33.22 | 58.51 |
CA algorithm exec. | 1.206 | 1.176 |
FairMonitor tot. | 3.017 | 2.974 |
macro runtime | 40.72 | 66.27 |
test runtime | 61.52 | 89.00 |