1 #include "Framework/Conventions/GBuild.h"
2 #ifdef __GENIE_INCL_ENABLED__
19 #ifndef INCLCONFIGPARSER_HH_
20 #define INCLCONFIGPARSER_HH_
22 #ifdef HAS_BOOST_PROGRAM_OPTIONS
25 #include "G4INCLConfig.hh"
27 #include <boost/program_options/options_description.hpp>
28 #include <boost/program_options/parsers.hpp>
29 #include <boost/program_options/positional_options.hpp>
30 #include <boost/program_options/variables_map.hpp>
32 namespace po = boost::program_options;
39 G4INCL::Config *parse(
int argc,
char *argv[]);
40 std::string echo(G4INCL::Config
const *
const aConfig);
43 G4INCL::Config config;
44 po::options_description runOptDesc;
45 po::options_description hiddenOptDesc;
46 po::options_description genericOptDesc;
47 po::options_description physicsOptDesc;
48 po::options_description cmdLineOptions;
49 po::options_description configFileOptions;
50 po::options_description visibleOptions;
51 po::positional_options_description p;
52 po::variables_map variablesMap;
54 static const int randomSeedMin = 1;
55 static const int randomSeedMax = ((1<<30)-1)+(1<<30);
57 static const std::string suggestHelpMsg;
60 static const std::string theNoneName;
61 #ifdef INCL_DEEXCITATION_SMM
62 static const std::string theSMMName;
64 #ifdef INCL_DEEXCITATION_GEMINIXX
65 static const std::string theGEMINIXXName;
67 #ifdef INCL_DEEXCITATION_ABLAXX
68 static const std::string theABLAv3pName;
70 #ifdef INCL_DEEXCITATION_ABLA07
71 static const std::string theABLA07Name;
74 static const std::string listSeparator;
76 std::string deExcitationModelList;
77 std::string defaultDeExcitationModel;
79 std::string echoOptionsDescription(
const po::options_description &aDesc);
83 typedef ConfigParser INCLConfigParser;
85 #endif // HAS_BOOST_PROGRAM_OPTIONS
87 #endif // INCLCONFIGPARSER_HH_
89 #endif // __GENIE_INCL_ENABLED__