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
setup_marley.C
1void setup_marley() {
2
3 int return_code = 0;
4
5 // Load the MARLEY shared library
6 return_code = gSystem->Load( "libMARLEY" );
7 if ( return_code == 0 ) std::cout << "\nSuccessfully loaded MARLEY"
8 " shared library.\n";
9 else std::cout << "\nError loading MARLEY shared library.\n"
10 << "Please add the directory that contains this library to your\n"
11 << "LD_LIBRARY_PATH environment variable (or equivalent on\n"
12 << "non-Linux systems) and try again.\n";
13
14}