acts-project / acts

Experiment-independent toolkit for (charged) particle track reconstruction in (high energy) physics experiments implemented in modern C++
https://acts.readthedocs.io
Mozilla Public License 2.0
101 stars 160 forks source link

Move some Digitization code from FATRAS to Core? #2230

Open benjaminhuth opened 1 year ago

benjaminhuth commented 1 year ago

During discussion with @pbutti we thought if some of the digitization code from the FATRAS package might better belong to Core. More precisely, from the Classes and files in Fatras/Digitization only the UncorrelatedHitSmearer.hpp depends on ActsFatras::Hit

All other files in that directory only depend on each other or on Core functionality, these are:

Channelizer.hpp  ChannelMerger.hpp  DigitizationData.hpp  DigitizationError.hpp  PlanarSurfaceDrift.hpp  PlanarSurfaceMask.hpp

as well as

Channelizer.cpp  DigitizationError.cpp  PlanarSurfaceDrift.cpp  PlanarSurfaceMask.cpp

So these don't depend on any of the FATRAS infrastructure.

Are there conceptual or design considerations for keeping this in FATRAS?

benjaminhuth commented 1 year ago

@paulgessinger @asalzburger @andiwand

gagnonlg commented 1 year ago

From what I understand (e.g. from discussions with @asalzburger), the digitization model is not very realistic, but putting it in Core would basically advertise it as "ready for production". Has the model ever been checked with actual data from a real-world detector?

paulgessinger commented 1 year ago

To be honest I always liked this separation of code specific to simulation from the core package.

benjaminhuth commented 1 year ago

Yeah I see the point. The specific reason was, that @pbutti wants to use this functionality in LDMX and it would be more convenient in Core... But it is also possible to install FATRAS, right?

We also thought about this, because there is already a Digitization package in Core, but it seems to be largely unused to me (most of the code seems to be last updated with the initial clang-format 6 years ago)... Do you know if this code is in use?

paulgessinger commented 1 year ago

This was the idea, FATRAS is sort of a sibling to Core.

github-actions[bot] commented 11 months ago

This issue/PR has been automatically marked as stale because it has not had recent activity. The stale label will be removed if any interaction occurs.