Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /DD4hep/UtilityApps/src/plugin_runner.cpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 //==========================================================================
0002 //  AIDA Detector description implementation 
0003 //--------------------------------------------------------------------------
0004 // Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
0005 // All rights reserved.
0006 //
0007 // For the licensing terms see $DD4hepINSTALL/LICENSE.
0008 // For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
0009 //
0010 // Author     : M.Frank
0011 //
0012 //==========================================================================
0013 #ifdef __GNUC__
0014 #pragma GCC diagnostic ignored "-Wunused-function"
0015 #endif
0016 
0017 // Framework include files
0018 #include "run_plugin.h"
0019 #include <cerrno>
0020 
0021 /// Main entry point as a program
0022 int main(int argc, char** argv)   {
0023   try  {
0024     return dd4hep::execute::invoke_plugin_runner("", argc, argv);
0025   }
0026   catch(const std::exception& e)  {
0027     std::cout << "geoPluginRun: Got uncaught exception: " << e.what() << std::endl;
0028   }
0029   catch (...)  {
0030     std::cout << "geoPluginRun: Got UNKNOWN uncaught exception." << std::endl;
0031   }
0032   return EINVAL;    
0033 }