Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DD4hep
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cepc
externals
mirroring
DD4hep
Commits
8ccdc136
Commit
8ccdc136
authored
12 years ago
by
Markus Frank
Browse files
Options
Downloads
Patches
Plain Diff
Have a common representation for all unicode macros.
parent
696192a9
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
DDExamples/UtilityApps/src/run_plugin.h
+39
-0
39 additions, 0 deletions
DDExamples/UtilityApps/src/run_plugin.h
with
39 additions
and
0 deletions
DDExamples/UtilityApps/src/run_plugin.h
0 → 100644
+
39
−
0
View file @
8ccdc136
// $Id:$
//====================================================================
// AIDA Detector description implementation for LCD
//--------------------------------------------------------------------
//
// Generic ROOT based geometry display program
//
// Author : M.Frank
//
//====================================================================
// Framework include files
#include
"DD4hep/LCDD.h"
// C/C++ include files
#include
<iostream>
#include
<cstdlib>
#include
<vector>
#include
<cerrno>
#include
<string>
using
namespace
std
;
using
namespace
DD4hep
::
Geometry
;
int
run_plugin
(
LCDD
&
lcdd
,
const
char
*
name
,
int
argc
,
char
**
argv
)
{
try
{
lcdd
.
apply
(
name
,
argc
,
argv
);
return
0
;
}
catch
(
const
exception
&
e
)
{
cout
<<
e
.
what
()
<<
endl
;
}
catch
(...)
{
cout
<<
"UNKNOWN Exception"
<<
endl
;
}
::
exit
(
EINVAL
);
return
EINVAL
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment