ctools  2.0.0
 All Classes Namespaces Files Functions Variables Macros Pages
main.cpp File Reference

CTA background cube tool main code. More...

#include "support.hpp"
#include "ctbkgcube.hpp"

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 Main entry point of application. More...
 

Detailed Description

CTA background cube tool main code.

Author
Chia-Chun Lu

Definition in file main.cpp.

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Main entry point of application.

Parameters
[in]argcNumber of command line arguments.
[in]argvCommand line arguments.

This is the main entry point of the ctbkgcube application. It allocates a ctbkgcube object and executes the application. Any exceptions that occur will be catched and corresponding error messages written in the application logger and into the standard output.

Definition at line 46 of file main.cpp.

References execute_ctool(), and report_ctool_failure().