IAP GITLAB

Skip to content
Snippets Groups Projects
Commit b676cc3a authored by Maximilian Reininghaus's avatar Maximilian Reininghaus :vulcan: Committed by Maximilian Reininghaus
Browse files

doxygen doInteraction()

parent 2f4a08e4
No related branches found
No related tags found
1 merge request!468Resolve "Add FLUKA"
Pipeline #10194 passed
......@@ -26,7 +26,6 @@ namespace corsika::fluka {
* initialized with a predefined set of target materials and a flag describing the type
* of interactions (elastic, inelastic, electromagnetic dissociation). Currently, only
* inelastic events are supported.
*
*/
class InteractionModel {
public:
......@@ -49,6 +48,10 @@ namespace corsika::fluka {
//! convert target Code to FLUKA material number
int getMaterialIndex(Code targetID) const;
/**
* Perform an interaction. Since FLUKA expects a fixed-target configuration, we
* perform a Lorentz transform into the rest frame of the target.
*/
template <typename TSecondaryView>
void doInteraction(TSecondaryView& view, Code const projectileId, Code const targetId,
FourMomentum const& projectileP4, FourMomentum const& targetP4);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment