IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 8c33b8fd authored by ralfulrich's avatar ralfulrich
Browse files

fix pythia8 dependencies

parent 9d3eadaf
No related branches found
No related tags found
No related merge requests found
...@@ -22,29 +22,26 @@ target_link_libraries (stack_example SuperStupidStack CORSIKAunits ...@@ -22,29 +22,26 @@ target_link_libraries (stack_example SuperStupidStack CORSIKAunits
CORSIKAlogging) CORSIKAlogging)
CORSIKA_ADD_TEST (stack_example) CORSIKA_ADD_TEST (stack_example)
if (Pythia8_FOUND) add_executable (cascade_example cascade_example.cc)
add_executable (cascade_example cascade_example.cc) target_compile_options(cascade_example PRIVATE -g) # do not skip asserts
target_compile_options(cascade_example PRIVATE -g) # do not skip asserts target_link_libraries (cascade_example SuperStupidStack CORSIKAunits
target_link_libraries (cascade_example SuperStupidStack CORSIKAunits CORSIKAlogging
CORSIKAlogging CORSIKArandom
CORSIKArandom ProcessSibyll
ProcessSibyll CORSIKAcascade
ProcessPythia ProcessEnergyLoss
CORSIKAcascade ProcessStackInspector
ProcessEnergyLoss ProcessTrackWriter
ProcessStackInspector ProcessTrackingLine
ProcessTrackWriter CORSIKAprocesses
ProcessTrackingLine CORSIKAcascade
CORSIKAprocesses CORSIKAparticles
CORSIKAcascade CORSIKAgeometry
CORSIKAparticles CORSIKAenvironment
CORSIKAgeometry CORSIKAprocesssequence
CORSIKAenvironment )
CORSIKAprocesssequence install (TARGETS cascade_example DESTINATION share/examples)
) CORSIKA_ADD_TEST (cascade_example)
install (TARGETS cascade_example DESTINATION share/examples)
CORSIKA_ADD_TEST (cascade_example)
endif()
add_executable (boundary_example boundary_example.cc) add_executable (boundary_example boundary_example.cc)
target_compile_options(boundary_example PRIVATE -g) # do not skip asserts target_compile_options(boundary_example PRIVATE -g) # do not skip asserts
...@@ -60,7 +57,6 @@ target_link_libraries (boundary_example SuperStupidStack CORSIKAunits CORSIKAlog ...@@ -60,7 +57,6 @@ target_link_libraries (boundary_example SuperStupidStack CORSIKAunits CORSIKAlog
CORSIKAenvironment CORSIKAenvironment
CORSIKAprocesssequence CORSIKAprocesssequence
) )
install (TARGETS boundary_example DESTINATION share/examples) install (TARGETS boundary_example DESTINATION share/examples)
CORSIKA_ADD_TEST (boundary_example) CORSIKA_ADD_TEST (boundary_example)
...@@ -77,6 +73,7 @@ if (Pythia8_FOUND) ...@@ -77,6 +73,7 @@ if (Pythia8_FOUND)
ProcessTrackWriter ProcessTrackWriter
ProcessTrackingLine ProcessTrackingLine
ProcessHadronicElasticModel ProcessHadronicElasticModel
ProcessStackInspector
CORSIKAprocesses CORSIKAprocesses
CORSIKAcascade CORSIKAcascade
CORSIKAparticles CORSIKAparticles
...@@ -89,29 +86,27 @@ if (Pythia8_FOUND) ...@@ -89,29 +86,27 @@ if (Pythia8_FOUND)
CORSIKA_ADD_TEST (cascade_proton_example) CORSIKA_ADD_TEST (cascade_proton_example)
endif() endif()
if (Pythia8_FOUND) add_executable (vertical_EAS vertical_EAS.cc)
add_executable (vertical_EAS vertical_EAS.cc) target_compile_options(vertical_EAS PRIVATE -g) # do not skip asserts
target_compile_options(vertical_EAS PRIVATE -g) # do not skip asserts target_link_libraries (vertical_EAS SuperStupidStack CORSIKAunits
target_link_libraries (vertical_EAS SuperStupidStack CORSIKAunits CORSIKAlogging
CORSIKAlogging CORSIKArandom
CORSIKArandom ProcessSibyll
ProcessSibyll CORSIKAcascade
ProcessPythia ProcessEnergyLoss
CORSIKAcascade ProcessTrackWriter
ProcessEnergyLoss ProcessTrackingLine
ProcessTrackWriter ProcessHadronicElasticModel
ProcessTrackingLine ProcessStackInspector
ProcessHadronicElasticModel CORSIKAprocesses
CORSIKAprocesses CORSIKAcascade
CORSIKAcascade CORSIKAparticles
CORSIKAparticles CORSIKAgeometry
CORSIKAgeometry CORSIKAenvironment
CORSIKAenvironment CORSIKAprocesssequence
CORSIKAprocesssequence )
) install (TARGETS vertical_EAS DESTINATION share/examples)
install (TARGETS vertical_EAS DESTINATION share/examples) # CORSIKA_ADD_TEST (vertical_EAS) not yet...
# CORSIKA_ADD_TEST (vertical_EAS) not yet...
endif()
add_executable (staticsequence_example staticsequence_example.cc) add_executable (staticsequence_example staticsequence_example.cc)
target_compile_options(staticsequence_example PRIVATE -g) # do not skip asserts target_compile_options(staticsequence_example PRIVATE -g) # do not skip asserts
......
...@@ -29,8 +29,6 @@ ...@@ -29,8 +29,6 @@
#include <corsika/process/sibyll/Interaction.h> #include <corsika/process/sibyll/Interaction.h>
#include <corsika/process/sibyll/NuclearInteraction.h> #include <corsika/process/sibyll/NuclearInteraction.h>
#include <corsika/process/pythia/Decay.h>
#include <corsika/process/track_writer/TrackWriter.h> #include <corsika/process/track_writer/TrackWriter.h>
#include <corsika/units/PhysicalUnits.h> #include <corsika/units/PhysicalUnits.h>
...@@ -256,7 +254,6 @@ int main() { ...@@ -256,7 +254,6 @@ int main() {
particles::Code::KMinus, particles::Code::K0Long, particles::Code::K0Short}; particles::Code::KMinus, particles::Code::K0Long, particles::Code::K0Short};
random::RNGManager::GetInstance().RegisterRandomStream("s_rndm"); random::RNGManager::GetInstance().RegisterRandomStream("s_rndm");
random::RNGManager::GetInstance().RegisterRandomStream("pythia");
process::sibyll::Interaction sibyll; process::sibyll::Interaction sibyll;
process::sibyll::NuclearInteraction sibyllNuc(sibyll, env); process::sibyll::NuclearInteraction sibyllNuc(sibyll, env);
process::sibyll::Decay decay(trackedHadrons); process::sibyll::Decay decay(trackedHadrons);
......
...@@ -28,8 +28,6 @@ ...@@ -28,8 +28,6 @@
#include <corsika/process/sibyll/Interaction.h> #include <corsika/process/sibyll/Interaction.h>
#include <corsika/process/sibyll/NuclearInteraction.h> #include <corsika/process/sibyll/NuclearInteraction.h>
#include <corsika/process/pythia/Decay.h>
#include <corsika/process/track_writer/TrackWriter.h> #include <corsika/process/track_writer/TrackWriter.h>
#include <corsika/units/PhysicalUnits.h> #include <corsika/units/PhysicalUnits.h>
...@@ -252,8 +250,6 @@ int main() { ...@@ -252,8 +250,6 @@ int main() {
process::sibyll::Interaction sibyll; process::sibyll::Interaction sibyll;
process::sibyll::NuclearInteraction sibyllNuc(sibyll, env); process::sibyll::NuclearInteraction sibyllNuc(sibyll, env);
process::sibyll::Decay decay(trackedHadrons); process::sibyll::Decay decay(trackedHadrons);
// random::RNGManager::GetInstance().RegisterRandomStream("pythia");
// process::pythia::Decay decay(trackedHadrons);
ProcessCut cut(20_GeV); ProcessCut cut(20_GeV);
// random::RNGManager::GetInstance().RegisterRandomStream("HadronicElasticModel"); // random::RNGManager::GetInstance().RegisterRandomStream("HadronicElasticModel");
......
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