From 51447136650ffc1fd9a331578ef22127f15ca098 Mon Sep 17 00:00:00 2001
From: rulrich <ralf.m.ulrich@kit.edu>
Date: Sun, 31 May 2020 15:50:06 +0200
Subject: [PATCH] running conex

---
 Processes/CONEX/testConex.cc | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/Processes/CONEX/testConex.cc b/Processes/CONEX/testConex.cc
index db1551544..5f0c221da 100644
--- a/Processes/CONEX/testConex.cc
+++ b/Processes/CONEX/testConex.cc
@@ -25,5 +25,30 @@ TEST_CASE("CONEX", "[processes]") {
   SECTION("linking conex") {
     using std::cout;
     using std::endl;
+
+    std::string parameterPathName = "";
+    auto cxModel = eSibyll23;
+    ConexDynamicInterface cx(cxModel);
+    
+    int randomSeeds[3];
+    randomSeeds[0] = 1234;
+    randomSeeds[1] = 0;
+    randomSeeds[2] = 0;
+
+    int nShower = 1; // large to avoid final stats.
+    int maxDetail = 0;
+    int particleListMode = 0;
+    cx.Init(nShower, randomSeeds, cxModel, maxDetail,
+	    particleListMode,
+	    parameterPathName);
+
+    double energyInGeV = 100.;
+    double zenith = 60;
+    double azimuth = 0;
+    double impactParameter = 0;
+    int particleType = 100;
+    
+    cx.RunConex(randomSeeds, energyInGeV, zenith, azimuth, impactParameter, particleType);
+    
   }
 }
-- 
GitLab