IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 98bdb967 authored by Maximilian Reininghaus's avatar Maximilian Reininghaus :vulcan: Committed by Ralf Ulrich
Browse files

documentation

parent e5913aae
No related branches found
No related tags found
1 merge request!351Adding wrapper process to modify interaction lengths
......@@ -35,6 +35,10 @@ namespace corsika {
//! energy
using functor_signature = GrammageType(GrammageType, corsika::Code, HEPEnergyType);
/**
* Create wrapper around InteractionProcess. Note that the passed process object
* itself may no longer be used, only through this class.
*/
IntLengthModifyingProcess(TUnderlyingProcess&& process,
std::function<functor_signature> modifier);
......@@ -46,6 +50,7 @@ namespace corsika {
template <typename TParticle>
GrammageType getInteractionLength(TParticle const& particle);
///! obtain reference to wrapped process
TUnderlyingProcess const& getProcess() const;
TUnderlyingProcess& getProcess();
......
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