LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
mu2e.cc
Go to the documentation of this file.
1
#include "
art/Framework/Art/mu2eapp.h
"
2
#include "
art/Framework/Art/detail/info_success.h
"
3
4
#include "
messagefacility/MessageLogger/MessageLogger.h
"
5
6
#include <iostream>
7
8
int
main
(
int
argc,
char
* argv[] ) {
9
int
result =
mu2eapp
(argc,argv);
10
// Make sure the message logger is shut down and any backlog cleared
11
// so our message really is the last one put out.
12
mf::EndMessageFacility
();
13
// End message.
14
if
(result ==
art::detail::info_success
()) {
15
return
0;
16
}
17
std::cout
18
<<
"Art has completed and will exit with status "
19
<< result
20
<<
"."
21
<< std::endl;
22
return
result;
23
}
24
25
// Local Variables:
26
// mode: c++
27
// End:
mf::EndMessageFacility
void EndMessageFacility()
Definition:
MessageLogger.cc:617
mu2eapp.h
mu2eapp
int mu2eapp(int argc, char *argv[])
Definition:
mu2eapp.cc:23
MessageLogger.h
main
int main(int argc, char *argv[])
Definition:
mu2e.cc:8
info_success.h
art::detail::info_success
constexpr int info_success()
Definition:
info_success.h:9
art
Framework
Art
mu2e.cc
Generated on Thu Jul 26 2018 13:09:39 for LArSoft by
1.8.11