refactor: Refactoring of string parsing code for Gbts LUT and connection table#4934
Conversation
Examples/Algorithms/TrackFinding/include/ActsExamples/TrackFinding/GbtsSeedingAlgorithm.hpp
Show resolved
Hide resolved
|
i have added all the changes suggested so far, the only thing i was thinking was that as the shared pointer of both |
in case this happens for every seed you might be able to see some performance effects but still I would expect it to be extremely small |
|
I have added the parsing function to the |
|
/ci-bridge-run |
|
| : m_geo(geometry), m_config(config) { | ||
| GbtsDataStorage::GbtsDataStorage(std::shared_ptr<const GbtsGeometry> geometry, | ||
| const SeedFinderGbtsConfig& config, | ||
| const GbtsMLLookupTable& parseLutFile) |
There was a problem hiding this comment.
parseLutFile → mlLUT, since this is the table itself, no longer the parser. Similarly in the .hpp file.
Sorry I missed this before (but anyway wouldn't want to hold up the merge). Maybe this can be included in a future PR.
There was a problem hiding this comment.
to other thing would be to pass this by value, i.e. GbtsMLLookupTable mlLUT so the user can use std::move and avoid the copy
…ion table (acts-project#4934) This is the first in a series of PR's that aim to bring GBTS up to date with ACTS coding standards. This PR focuses on refactoring the parsing code for the LUT so that its in its own file mimicking that of the connector file as well as moving it to the constructor of GbtsSeedingAlgorithm. It also includes some code clean up, as well as moving the seedFinder constructor to initialize as well. This gives some speed increase due to not parsing the LUT every event.
…ion table (acts-project#4934) This is the first in a series of PR's that aim to bring GBTS up to date with ACTS coding standards. This PR focuses on refactoring the parsing code for the LUT so that its in its own file mimicking that of the connector file as well as moving it to the constructor of GbtsSeedingAlgorithm. It also includes some code clean up, as well as moving the seedFinder constructor to initialize as well. This gives some speed increase due to not parsing the LUT every event.



This is the first in a series of PR's that aim to bring GBTS up to date with ACTS coding standards.
This PR focuses on refactoring the parsing code for the LUT so that its in its own file mimicking that of the connector file as well as moving it to the constructor of GbtsSeedingAlgorithm. It also includes some code clean up, as well as moving the seedFinder constructor to initialize as well. This gives some speed increase due to not parsing the LUT every event.
--- END COMMIT MESSAGE ---
This will affect the Athena API but a branch is already ready to submit to the canary
@timadye @andiwand