WireCellToolkit
Wire Cell Simulation, Signal Process and Reconstruction Toolki for Liquid Argon Detectors
wire-cell.cxx
Go to the documentation of this file.
1
3
#include "
WireCellApps/Main.h
"
4
#include "
WireCellUtil/Exceptions.h
"
5
6
#include <iostream>
7
8
using namespace
WireCell
;
9
using namespace
std
;
10
11
int
main
(
int
argc,
char
* argv[])
12
{
13
Main
m;
14
int
rc = 0;
15
16
try
{
17
rc = m.
cmdline
(argc, argv);
18
if
(rc) {
return
rc; }
19
m.
initialize
();
20
m();
21
}
22
catch
(
Exception
& e) {
23
cerr <<
errstr
(e) << endl;
24
return
1;
25
}
26
return
0;
27
}
WireCell
Definition:
Main.h:22
main
int main(int argc, char *argv[])
Definition:
wire-cell.cxx:11
std
If we are still before C++14, supply the fodder for doing the "indices trick".
Definition:
format.h:297
WireCell::Main::cmdline
int cmdline(int argc, char *argv[])
Definition:
Main.cxx:38
errstr
#define errstr(e)
Definition:
Exceptions.h:26
WireCell::Main
Definition:
Main.h:23
WireCell::Exception
The base wire cell exception.
Definition:
Exceptions.h:31
Main.h
WireCell::Main::initialize
void initialize()
Definition:
Main.cxx:184
Exceptions.h
apps
apps
wire-cell.cxx
Generated on Mon Jul 22 2019 10:47:02 for WireCellToolkit by
1.8.13