You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation of ParticleStateful and PhaseSpacePoint could be improved. Here we collect some ideas:
particle stateful
expose the types of the fields as type-parameters
remove spin information from particle stateful (will be added to the process interface)
phase space point
Think about saving only the momenta and wrapping the particle stateful type only on access,
make generate_phase_space private and all it in a constructor of PhaseSpacePoint,
add construction of phase space points from coordinates, maybe using the functions _generate_incoming_momenta and _generate_outgoing_momenta from the process interface.
add abbreviations for momentum.(psp.in_particles) and momentum.(psp.out_particles
The text was updated successfully, but these errors were encountered:
Proposal for a rework of the PhaseSpacePoint, according to Issue #58
I did a lot of type magic with recursive variadic templates to find out
type information and get functions perfectly type stable. Constructing
phase space points is now always type stable and takes a maximum of
~11ns for me when constructing from momenta.
Some of the tests are failing for now because some of the interfaces
currently don't expect tuples from the PSP implementation. It might make
sense to fix this in #59
---------
Co-authored-by: Uwe Hernandez Acosta <u.hernandez@hzdr.de>
Co-authored-by: Uwe Hernandez Acosta <szabo137@users.noreply.github.com>
Co-authored-by: AntonReinhard <anton.reinhard@protonmail.com>
The current implementation of
ParticleStateful
andPhaseSpacePoint
could be improved. Here we collect some ideas:particle stateful
phase space point
generate_phase_space
private and all it in a constructor ofPhaseSpacePoint
,_generate_incoming_momenta
and_generate_outgoing_momenta
from the process interface.momentum.(psp.in_particles)
andmomentum.(psp.out_particles
The text was updated successfully, but these errors were encountered: