Skip to content
Snippets Groups Projects
plugin_runner.cpp 1.04 KiB
Newer Older
//==========================================================================
Markus Frank's avatar
Markus Frank committed
//  AIDA Detector description implementation 
//--------------------------------------------------------------------------
Markus Frank's avatar
Markus Frank committed
// Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
Markus Frank's avatar
Markus Frank committed
//
// For the licensing terms see $DD4hepINSTALL/LICENSE.
// For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
Markus Frank's avatar
Markus Frank committed
//
// Author     : M.Frank
//
//==========================================================================
Markus Frank's avatar
Markus Frank committed
#ifdef __GNUC__
#pragma GCC diagnostic ignored "-Wunused-function"
#endif
#include <cerrno>

/// Main entry point as a program
int main(int argc, char** argv)   {
  try  {
    return dd4hep::execute::invoke_plugin_runner("", argc, argv);
  catch(const std::exception& e)  {
    std::cout << "geoPluginRun: Got uncaught exception: " << e.what() << std::endl;
    std::cout << "geoPluginRun: Got UNKNOWN uncaught exception." << std::endl;