MARLEY (Model of Argon Reaction Low Energy Yields) v2.0.0
A Monte Carlo event generator for tens-of-MeV neutrino interactions
Loading...
Searching...
No Matches
marley.cc
1
4//
5// This file is part of MARLEY (Model of Argon Reaction Low Energy Yields)
6//
7// MARLEY is free software: you can redistribute it and/or modify it under the
8// terms of version 3 of the GNU General Public License as published by the
9// Free Software Foundation.
10//
11// For the full text of the license please see COPYING or
12// visit http://opensource.org/licenses/GPL-3.0
13//
14// Please respect the MCnet academic usage guidelines. See GUIDELINES
15// or visit https://www.montecarlonet.org/GUIDELINES for details.
16
17#include "marley/CommandHandler.hh"
18
19int main( int argc, char* argv[] ) {
20
21 // Initalize the CommandHandler which will manage calling
22 // the functions requested on the command line
23 marley::CommandHandler ch( argc, argv );
24
25 bool ok = ch.execute();
26 if ( !ok ) return 1;
27 return 0;
28}
Wrapper for handling commands in the main marley executable.