IAP GITLAB

Skip to content
Snippets Groups Projects
Commit e41cad09 authored by Felix Riehn's avatar Felix Riehn Committed by Maximilian Reininghaus
Browse files

comments

parent 30cd3e7d
No related branches found
No related tags found
1 merge request!430Resolve "Connection between PROPOSAL and hadronic interaction models"
......@@ -18,7 +18,8 @@ namespace corsika::proposal {
//! and virtual photons. At high energies an external model
//! is needed that implements the doInteraction(TSecondaries& view, Code const
//! projectile, Code const target,FourMomentum const& projectileP4, FourMomentum const&
//! targetP4) routine. Low energy interactions are currently not implemented.
//! targetP4) routine. Low energy interactions are currently not implemented. The
//! threshold between LE and HE interactions is defined in lab energy.
//! @tparam THadronicModel
template <class THadronicModel>
......
......@@ -27,9 +27,9 @@ namespace corsika::proposal {
//! reused by setting the \param PROPOSAL::InterpolationDef::path_to_tables variable.
//! Hadroninc interactions of photons with nuclei are included. The cross section is
//! calculated by PROPOSAL. For the production of hadronic secondaries an external model
//! is needed that implements the doInteraction(TSecondaries& view, Code const
//! projectile, Code const target,FourMomentum const& projectileP4, FourMomentum const&
//! targetP4) routine.
//! is needed that implements the
//! doInteraction(TSecondaries& view, Code const projectile, Code const
//! target,FourMomentum const& projectileP4, FourMomentum const& targetP4) routine.
//! @tparam THadronicModel
//!
......@@ -61,7 +61,24 @@ namespace corsika::proposal {
//! Calculate the rates for the different targets and interactions. Sample a
//! pair of interaction-type, component and rate, followed by sampling a loss and
//! produce the corresponding secondaries and store them on the particle stack.
//! interactions in PROPOSAL are:
//!
//! InteractionType::Particle
//! InteractionType::Brems
//! InteractionType::Ioniz
//! InteractionType::Epair
//! InteractionType::Photonuclear
//! InteractionType::MuPair
//! InteractionType::Hadrons
//! InteractionType::ContinuousEnergyLoss
//! InteractionType::WeakInt
//! InteractionType::Compton
//! InteractionType::Decay
//! InteractionType::Annihilation
//! InteractionType::Photopair
//!
//! more information can be found at:
//! https://github.com/tudo-astroparticlephysics/PROPOSAL
template <typename TSecondaryView>
ProcessReturn doInteraction(TSecondaryView&, Code const projectileId,
FourMomentum const& projectileP4);
......
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