IAP GITLAB

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

fixed copyright years, removed cross section tuple

parent 98501e63
No related branches found
No related tags found
No related merge requests found
/* /*
* (c) Copyright 2018 CORSIKA Project, corsika-project@lists.kit.edu * (c) Copyright 2020 CORSIKA Project, corsika-project@lists.kit.edu
* *
* See file AUTHORS for a list of contributors. * See file AUTHORS for a list of contributors.
* *
...@@ -64,7 +64,7 @@ namespace corsika::process::qgsjetII { ...@@ -64,7 +64,7 @@ namespace corsika::process::qgsjetII {
} }
} }
tuple<units::si::CrossSectionType, units::si::CrossSectionType> units::si::CrossSectionType
Interaction::GetCrossSection(const particles::Code BeamId, Interaction::GetCrossSection(const particles::Code BeamId,
const particles::Code TargetId, const particles::Code TargetId,
const units::si::HEPEnergyType CoMenergy, const units::si::HEPEnergyType CoMenergy,
...@@ -106,7 +106,7 @@ namespace corsika::process::qgsjetII { ...@@ -106,7 +106,7 @@ namespace corsika::process::qgsjetII {
sigProd = qgsect_(dEcm, iBeam, iProjectile, iTarget); sigProd = qgsect_(dEcm, iBeam, iProjectile, iTarget);
} }
return std::make_tuple(sigProd * 1_mb, 0_mb); return sigProd * 1_mb;
} }
template <> template <>
......
/* /*
* (c) Copyright 2018 CORSIKA Project, corsika-project@lists.kit.edu * (c) Copyright 2020 CORSIKA Project, corsika-project@lists.kit.edu
* *
* See file AUTHORS for a list of contributors. * See file AUTHORS for a list of contributors.
* *
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
#include <corsika/units/PhysicalUnits.h> #include <corsika/units/PhysicalUnits.h>
#include <string> #include <string>
#include <tuple>
namespace corsika::process::qgsjetII { namespace corsika::process::qgsjetII {
...@@ -45,7 +44,7 @@ namespace corsika::process::qgsjetII { ...@@ -45,7 +44,7 @@ namespace corsika::process::qgsjetII {
corsika::particles::IsNucleus(TargetId); corsika::particles::IsNucleus(TargetId);
} }
std::tuple<corsika::units::si::CrossSectionType, corsika::units::si::CrossSectionType> corsika::units::si::CrossSectionType
GetCrossSection(const corsika::particles::Code, const corsika::particles::Code, GetCrossSection(const corsika::particles::Code, const corsika::particles::Code,
const corsika::units::si::HEPEnergyType, const unsigned int Abeam = 0, const corsika::units::si::HEPEnergyType, const unsigned int Abeam = 0,
const unsigned int Atarget = 0) const; const unsigned int Atarget = 0) const;
......
/* /*
* (c) Copyright 2018 CORSIKA Project, corsika-project@lists.kit.edu * (c) Copyright 2020 CORSIKA Project, corsika-project@lists.kit.edu
* *
* See file AUTHORS for a list of contributors. * See file AUTHORS for a list of contributors.
* *
......
/* /*
* (c) Copyright 2018 CORSIKA Project, corsika-project@lists.kit.edu * (c) Copyright 2020 CORSIKA Project, corsika-project@lists.kit.edu
* *
* See file AUTHORS for a list of contributors. * See file AUTHORS for a list of contributors.
* *
......
/* /*
* (c) Copyright 2018 CORSIKA Project, corsika-project@lists.kit.edu * (c) Copyright 2020 CORSIKA Project, corsika-project@lists.kit.edu
* *
* See file AUTHORS for a list of contributors. * See file AUTHORS for a list of contributors.
* *
......
/* /*
* (c) Copyright 2018 CORSIKA Project, corsika-project@lists.kit.edu * (c) Copyright 2020 CORSIKA Project, corsika-project@lists.kit.edu
* *
* See file AUTHORS for a list of contributors. * See file AUTHORS for a list of contributors.
* *
......
#!/usr/bin/env python3 #!/usr/bin/env python3
# (c) Copyright 2018-2019 CORSIKA Project, corsika-project@lists.kit.edu # (c) Copyright 2020 CORSIKA Project, corsika-project@lists.kit.edu
# #
# See file AUTHORS for a list of contributors. # See file AUTHORS for a list of contributors.
# #
......
/* /*
* (c) Copyright 2018 CORSIKA Project, corsika-project@lists.kit.edu * (c) Copyright 2020 CORSIKA Project, corsika-project@lists.kit.edu
* *
* See file AUTHORS for a list of contributors. * See file AUTHORS for a list of contributors.
* *
......
/* /*
* (c) Copyright 2019 CORSIKA Project, corsika-project@lists.kit.edu * (c) Copyright 2020 CORSIKA Project, corsika-project@lists.kit.edu
* *
* See file AUTHORS for a list of contributors. * See file AUTHORS for a list of contributors.
* *
......
/* /*
* (c) Copyright 2019 CORSIKA Project, corsika-project@lists.kit.edu * (c) Copyright 2020 CORSIKA Project, corsika-project@lists.kit.edu
* *
* See file AUTHORS for a list of contributors. * See file AUTHORS for a list of contributors.
* *
......
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