Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
wire-cell-build
apps
apps
wire-cell.cxx
Go to the documentation of this file.
1
/** CLI to WireCell::Main. */
2
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
}
genie::units::m
static const double m
Definition:
Units.h:79
Exceptions.h
WireCell::Main::cmdline
int cmdline(int argc, char *argv[])
Definition:
Main.cxx:38
main
int main(int argc, char *argv[])
Definition:
wire-cell.cxx:11
std
STL namespace.
freeze_graph.argv
argv
Definition:
freeze_graph.py:218
errstr
#define errstr(e)
Definition:
Exceptions.h:26
python.emptydir.rc
rc
Definition:
emptydir.py:174
e
const double e
Definition:
gUpMuFluxGen.cxx:165
Main.h
WireCell::Main
Definition:
Main.h:23
WireCell
Definition:
Main.h:22
WireCell::Exception
The base wire cell exception.
Definition:
Exceptions.h:31
WireCell::Main::initialize
void initialize()
Definition:
Main.cxx:184
test_gen_rays_pdsp.argc
argc
Definition:
test_gen_rays_pdsp.py:6
endl
QTextStream & endl(QTextStream &s)
Definition:
qtextstream.cpp:2030
Generated by
1.8.11