IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 3c4f8281 authored by Felix Riehn's avatar Felix Riehn
Browse files

fixed test, reset example

parent 9fed7ec0
No related branches found
No related tags found
1 merge request!65Resolve "add sibyll process NuclearInteraction"
......@@ -264,9 +264,8 @@ int main() {
// setup particle stack, and add primary particle
setup::Stack stack;
stack.Clear();
const Code beamCode = Code::Carbon;
const HEPEnergyType E0 = 1200_GeV;
// 100_TeV; // 1_PeV crashes with bad COMboost in second interaction (crash later)
const Code beamCode = Code::Proton;
const HEPEnergyType E0 = 100_TeV; // 1_PeV crashes with bad COMboost in second interaction (crash later)
double theta = 0.;
double phi = 0.;
......
......@@ -117,7 +117,7 @@ TEST_CASE("SibyllInterface", "[processes]") {
SECTION("InteractionInterface") {
setup::Stack stack;
const HEPEnergyType E0 = 10_GeV;
const HEPEnergyType E0 = 100_GeV;
HEPMomentumType P0 =
sqrt(E0 * E0 - particles::Proton::GetMass() * particles::Proton::GetMass());
auto plab = stack::super_stupid::MomentumVector(cs, {0_GeV, 0_GeV, -P0});
......@@ -136,7 +136,7 @@ TEST_CASE("SibyllInterface", "[processes]") {
SECTION("NuclearInteractionInterface") {
setup::Stack stack;
const HEPEnergyType E0 = 10_GeV;
const HEPEnergyType E0 = 100_GeV;
HEPMomentumType P0 =
sqrt(E0 * E0 - particles::Proton::GetMass() * particles::Proton::GetMass());
auto plab = stack::super_stupid::MomentumVector(cs, {0_GeV, 0_GeV, -P0});
......
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