# Roundtable
## Alex
- Reworked all c-style casts in ACTS
- finished(?) QP note
- QP final presentation today in inner tracking cp plenary
## Attila
- We still don't understand what the cuda-bug was, because it compiled with intel compiler, but not with gcc and clang. Beomki did some changes and somehow it worked. Problem probably with the host code.
- Unfortunately busy with interviews
- Finally start measurements for workshop this weeks. TImeline: Finish in two weeks!
- Please let's clean up code in future
- We have huge problems, when we change from double to float. Only in fitting-step they diverge. Andreas Salzburger: maybe units in Geant4. Andreas Stefl: maybe matrix inversion unstable?
Performance float vs double on GPU:
- H100 and A100 are made for double, so they are almost the same. Other cards are something like 5-7x slower.
- Joana: My CPU alsways outperforms GPU on double.
- Andreas Stefl: most unstable parameter was time in ACTS. Scaling is around factor 1000 larger. Maybe include a scalor to time?
- nvidia profiling usually tells when many cores are idle. How do we tackle this? Maybe only run a few parts in double and rest in float? because other wise a lot would be idle.
## Andreas Salzburger
- Made geometry updates. Now Joana get's errors, but probably navigation problem
- We can make material plots soon
- Issue with full simulation:
- Pixel seems fine
- DD4hep seems to have twice the amount of sensitive surfaces in memory -> BAD! some sensors don't get ID, some get overwritten, clustering doesn't work. Possible solutions:
1. ODD has issue probably. We already have a couple of checks, but somehow the surfaces get registered to 2 points in the tree.
2. Fatras matching
- Make single additional PR for traccc. Currently looks a bit hacky, but want to improve it.
## Fred
- Wants to do surface grid conversion PR today
Andreas Salzburger: we already had problems in the past because this was missing when IO in detray changed.
Everyone: Let's decide on Fred's PRs and get them in before they stack up.
## Doga
- Work on QP and had presentation and got input
- Try to make LRT faster by removing some seeds
- Had shift training, maybe next in June
- Had a look at the ODD, especially time smearing. Unexplainable stuff happens in the outer volumes. Want to look at the smoother plots and disable the first volumes
Andi Stefl: better use newest version of ACTS
## Dimitra
Look at digitisation. Starts with modified version of the Gaussian smearer. Also the rnd-generators are different, I want to template them.
Johannes suggested to take the Athena resolution depending on the drift radius.
Noemi: Next step: Run GX2F to see, if we can fit them and see if we can fit the sign.
Since we also have negative random numbers for the resolution, weird things happen.
Andreas Salzburger: if we are close to the wire, it is a wire hit
Noemi: The radius has to be always positive and fitter will do the rest.
Look at QP results, because angles were weird.
- Started to investigate steps vs angle.
- Record trials from Runge-Kutta
- Andreas Stefl: Influence from number of surface candidates? Because navigation is maybe more costly than stepper.
## Noemi
- ACTS-ITk: Nice recent developments:
- Andi did good work on branch aborting in CKF and got it into Athena
- Next step for technical efficiency: start from high pt and slowly go to lower pt. Athena suggested to change chi2-cut to 480, but seems as a bad idea, because it generates too many fakes in outer layers.
- Goetz works linking to ACTS-tracks, but this is complicated, since we have very different objects. Because we don't want to store all this information in the file (only sometimes for debugging or alignment workflows). Attila: If we don't save them, we would need to recreate them, which is maybe a bit more expensive. The proxis don't need to be great data-vector. Noemi: It is not that trivial, because we need to save a lot more data to link them. Goetz should get in touch with core software.
## Joana
- A lot of debugging for detray and traccc. Somehow sees more problems with higher pt than with lower pt. Probably issue with single precission, since newton-solver makes funny stuff. Detray currently uses phi-z-grid.
Somehow unittests are also a bit brittle.
- Rebased on Beomki's CPU fix.
- Factor out some fucntions
## Andreas Stefl
- Navigation is missing to increase the bounds for hitting the surface. Maybe adaptive mask, like Joana introduced. Not sure how to handle non-cartesian bounds. (Only active surfaces, passive are always 0 tolerance). Non-cartesian opening the bounds does not increase the surface.
- Noemi: make aligned boundary-box, because it does not matter.
- Current bounds check only does absolute or chi2. But expensive afterwards.
- Trackfinding. Pull tracks into CKF, to get more information to store in the track container
- Measurement selector: waiting for Athena bump. Should the measurement selector be part of the API or make it experiment specific? Currently we need to wait for Athena when we do changes. (Andreas Stefl and Noemi agree on the change)
- Performance: Mostly stepper side. Compare Eigen to ATLAS stepper. ATLAS is twice as fast, problem is Eigen. Now writing code generator, that is as fast as ATLAS but can be generalised. Effectively cuts time to half and improves trackfinding by 12%. Currently the ATLAS one has a few better expressions but would need a lot of extra handwork.