From 26469d5698b6f79bdfd4743703503a2631863d9b Mon Sep 17 00:00:00 2001
From: ralfulrich <ralf.ulrich@kit.edu>
Date: Wed, 7 Oct 2020 21:00:11 +0200
Subject: [PATCH] fixed hybrid_MC run options

---
 Documentation/Examples/CMakeLists.txt | 2 +-
 Documentation/Examples/hybrid_MC.cc   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/Examples/CMakeLists.txt b/Documentation/Examples/CMakeLists.txt
index 87d6fb3ee..2b8607711 100644
--- a/Documentation/Examples/CMakeLists.txt
+++ b/Documentation/Examples/CMakeLists.txt
@@ -114,7 +114,7 @@ if (Pythia8_FOUND)
     CORSIKAhistory # for HistoryObservationPlane
     )
 
-  CORSIKA_ADD_EXAMPLE (hybrid_MC)
+  CORSIKA_ADD_EXAMPLE (hybrid_MC RUN_OPTIONS 4 2 10000.)
   target_link_libraries (hybrid_MC
     CORSIKAsetup
     CORSIKAunits
diff --git a/Documentation/Examples/hybrid_MC.cc b/Documentation/Examples/hybrid_MC.cc
index 93531a2a0..407107f63 100644
--- a/Documentation/Examples/hybrid_MC.cc
+++ b/Documentation/Examples/hybrid_MC.cc
@@ -81,10 +81,10 @@ int main(int argc, char** argv) {
 
   logging::SetLevel(logging::level::info);
 
-  C8LOG_INFO("vertical_EAS");
+  C8LOG_INFO("hybrid_MC");
 
   if (argc < 4) {
-    std::cerr << "usage: vertical_EAS <A> <Z> <energy/GeV> [seed]" << std::endl;
+    std::cerr << "usage: hybrid_MC <A> <Z> <energy/GeV> [seed]" << std::endl;
     std::cerr << "       if no seed is given, a random seed is chosen" << std::endl;
     return 1;
   }
-- 
GitLab