#include <string>
Go to the source code of this file.
int mu2eapp |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
Definition at line 23 of file mu2eapp.cc.
References ART_RETHROW_DEFAULT, and art::run_art().
Referenced by art_ut(), and main().
26 char const* fhicl_env = getenv(
"FHICL_FILE_PATH");
27 std::string search_path;
28 if (fhicl_env ==
nullptr) {
29 std::cerr <<
"Expected environment variable FHICL_FILE_PATH is " 30 <<
"missing or empty: using \".\"\n";
34 search_path = std::string{fhicl_env};
36 cet::filepath_first_absolute_or_lookup_with_dot lookupPolicy{search_path};
38 bpo::options_description all_desc;
48 boost::filesystem::path(argv[0]).filename().native()});
51 return art::run_art(argc, argv, all_desc, lookupPolicy, std::move(handlers));
int run_art(int argc, char **argv, bpo::options_description &in_desc, cet::filepath_maker &lookupPolicy, OptionsHandlers &&handlers)
std::vector< std::unique_ptr< art::OptionsHandler >> OptionsHandlers
#define ART_RETHROW_DEFAULT
int mu2eapp_string_config |
( |
const std::string & |
config_string | ) |
|