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

CTA observation simulator tool main code. More...

#include "support.hpp"
#include "ctobssim.hpp"

Go to the source code of this file.

Functions

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

Detailed Description

CTA observation simulator tool main code.

Author
Juergen Knoedlseder

Definition in file main.cpp.

Function Documentation

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

Main entry point.

Parameters
[in]argcNumber of arguments.
[in]argvArguments.

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

Definition at line 46 of file main.cpp.

References execute_ctool(), and report_ctool_failure().