diff --git a/Processes/CONEX/testConex.cc b/Processes/CONEX/testConex.cc index db1551544ce2f41068ffe91d7f3bcaf75f274d96..5f0c221da1e5c7745736d6db738eb4da79f707f9 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); + } }