IAP GITLAB
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
corsika
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Air Shower Physics
corsika
Commits
cebb5311
Commit
cebb5311
authored
2 years ago
by
Felix Riehn
Committed by
Maximilian Reininghaus
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
copyright, doxygen
parent
1db03312
No related branches found
No related tags found
1 merge request
!430
Resolve "Connection between PROPOSAL and hadronic interaction models"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
corsika/detail/modules/proposal/HadronicPhotonModel.inl
+8
-5
8 additions, 5 deletions
corsika/detail/modules/proposal/HadronicPhotonModel.inl
corsika/modules/proposal/HadronicPhotonModel.hpp
+8
-1
8 additions, 1 deletion
corsika/modules/proposal/HadronicPhotonModel.hpp
with
16 additions
and
6 deletions
corsika/detail/modules/proposal/HadronicPhotonModel.inl
+
8
−
5
View file @
cebb5311
/*
* (c) Copyright 2022 CORSIKA Project, corsika-project@lists.kit.edu
*
* This software is distributed under the terms of the GNU General Public
* Licence version 3 (GPL Version 3). See file LICENSE for a full version of
* the license.
*/
#pragma once
//#include <corsika/media/IMediumModel.hpp>
//#include <corsika/media/NuclearComposition.hpp>
#include
<corsika/framework/core/PhysicalUnits.hpp>
#include
<corsika/framework/core/EnergyMomentumOperations.hpp>
//#include <limits>
//#include <memory>
//#include <random>
#include
<tuple>
namespace
corsika
::
proposal
{
...
...
This diff is collapsed.
Click to expand it.
corsika/modules/proposal/HadronicPhotonModel.hpp
+
8
−
1
View file @
cebb5311
...
...
@@ -14,6 +14,13 @@
namespace
corsika
::
proposal
{
//! Implements the production of secondary hadrons for the hadronic interaction of real
//! 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.
//! @tparam THadronicModel
template
<
class
THadronicModel
>
class
HadronicPhotonModel
{
public:
...
...
@@ -29,7 +36,7 @@ namespace corsika::proposal {
private:
THadronicModel
&
heHadronicInteraction_
;
static
HEPEnergyType
constexpr
heHadronicModelThresholdLab_
=
80.
*
1e9
*
electronvolt
;
80.
*
1e9
*
electronvolt
;
//!< energy threshold between LE and HE model
};
}
// namespace corsika::proposal
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment