Newer
Older
Markus Frank
committed
//==========================================================================
Markus Frank
committed
//--------------------------------------------------------------------------
// Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
Markus Frank
committed
// All rights reserved.
Markus Frank
committed
// For the licensing terms see $DD4hepINSTALL/LICENSE.
// For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
Markus Frank
committed
// Author : M.Frank
//
//==========================================================================
#ifdef __GNUC__
#pragma GCC diagnostic ignored "-Wunused-function"
#endif
Markus Frank
committed
// Framework include files
Markus Frank
committed
#include "run_plugin.h"
/// Main entry point as a program
int main(int argc, char** argv) {
try {
return dd4hep::execute::invoke_plugin_runner("", argc, argv);
Markus Frank
committed
}
catch(const std::exception& e) {
std::cout << "geoPluginRun: Got uncaught exception: " << e.what() << std::endl;
Markus Frank
committed
}
catch (...) {
std::cout << "geoPluginRun: Got UNKNOWN uncaught exception." << std::endl;
return EINVAL;