From a3bc6c3887d541c95a854ffdd5164d59d72f8cac Mon Sep 17 00:00:00 2001 From: ralfulrich <ralf.ulrich@kit.edu> Date: Tue, 26 Jan 2021 08:40:35 +0100 Subject: [PATCH] pythia decay/interaction use now configurable xml-path --- .../pythia8/ConfigurationDirectory.hpp | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 corsika/modules/pythia8/ConfigurationDirectory.hpp diff --git a/corsika/modules/pythia8/ConfigurationDirectory.hpp b/corsika/modules/pythia8/ConfigurationDirectory.hpp new file mode 100644 index 000000000..813f03e40 --- /dev/null +++ b/corsika/modules/pythia8/ConfigurationDirectory.hpp @@ -0,0 +1,27 @@ +/* + * (c) Copyright 2020 CORSIKA Project, corsika-project@lists.kit.edu + * + * This software is distributed under the terms of the GNU General Public + * Licence version 3 (GPL Version 3). See file LICENSE for a full version of + * the license. + */ + +#pragma once + +#include <string> + +/** + * \file Interaction.inl + **/ + +///! Helper macros to convert definitions into strings +#define CORSIKA_STRINGIFY(x) #x +#define CORSIKA_TOSTRING(x) CORSIKA_STRINGIFY(x) + +/** + * + * Location of the pythia XML directory with crucial input and config data: + **/ +static std::string const CORSIKA_Pythia8_XML_DIR = + std::string(CORSIKA_Pythia8_PREFIX) // from cmake + + std::string("/share/Pythia8/xmldoc/"); -- GitLab