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;
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);
61 #ifdef INCL_DEEXCITATION_SMM 64 #ifdef INCL_DEEXCITATION_GEMINIXX 67 #ifdef INCL_DEEXCITATION_ABLAXX 70 #ifdef INCL_DEEXCITATION_ABLA07 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__
typename config_impl< T >::type Config