11 #define GOOFIT_PARSE(app, ...) \ 14 } catch(const GooFit::ParseError &e) { \ 25 using CLI::ExistingDirectory;
26 using CLI::ExistingFile;
29 using CLI::NonexistentPath;
31 using CLI::ParseError;
56 Application(std::string discription,
int argc,
char **argv);
66 void run() { parse(argc_, argv_); }
72 int exit(
const CLI::Error &e);
83 std::string
get_filename(
const std::string &input_str, std::string base =
"")
const;
void run()
simple run since argc and argv are stored
void signal_handler(int s)
will call the correct exit func, no unwinding of the stack though
~Application() override
Cleanup MPI if needed.
void print_goofit_info(int gpuDev_=0)
Print out information about GooFit.
struct sigaction sigIntHandler
Handle control-c codes.
Application(int argc, char **argv)
Shortcut for the lazy.
int exit(const CLI::Error &e)
Exit.
void pre_callback() override
Gets called in parse.
Application(std::string discription, int argc, char **argv)
Make a new Application.
int get_device() const
Get the set GPU device.
std::string get_filename(const std::string &input_str, std::string base="") const