Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-29 07:35:53

0001 #include <cerrno>
0002 #include <DD4hep/Detector.h>
0003 
0004 int main(int argc, char** argv) {
0005   if( argc > 1 )  {
0006     dd4hep::Detector& desc = dd4hep::Detector::getInstance();
0007     desc.fromXML( argv[1] );
0008     auto& det = dd4hep::Detector::getInstance();
0009     delete &det;
0010     return 0;
0011   }
0012   ::printf("Invalid argumants. Usage: testLoad <geometry XML file>\n\n");
0013   return EINVAL;
0014 }