IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 56aab330 authored by ralfulrich's avatar ralfulrich Committed by Ralf Ulrich
Browse files

std

parent 2d21e488
No related branches found
No related tags found
1 merge request!352Better examples
......@@ -133,9 +133,9 @@ namespace corsika::proposal {
std::max(energy * 0.9, // either 10% relative loss max., or
get_kinetic_energy_threshold(
code) // energy thresholds globally defined for individual particles
* 0.9999 // need to go slightly below global e-cut to assure removal in
// ParticleCut. This does not matter since at cut-time the
// entire energy is removed.
* 0.9999 // need to go slightly below global e-cut to assure removal
// in ParticleCut. This does not matter since at cut-time
// the entire energy is removed.
);
// solving the track integral for giving energy lim
......
......@@ -98,8 +98,7 @@ namespace corsika::proposal {
auto vec = QuantityVector(vecProposal.GetX() * E, vecProposal.GetY() * E,
vecProposal.GetZ() * E);
auto p = MomentumVector(labCS, vec);
auto sec_code =
convert_from_PDG(static_cast<PDGCode>(s.type));
auto sec_code = convert_from_PDG(static_cast<PDGCode>(s.type));
view.addSecondary(
std::make_tuple(sec_code, p, projectile.getPosition(), projectile.getTime()));
}
......
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