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
b85b0d10
Commit
b85b0d10
authored
12 years ago
by
Markus Frank
Browse files
Options
Downloads
Patches
Plain Diff
Bug-fix
parent
2b5b12a1
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/CLICSiDDisplay/main.cpp
+2
-4
2 additions, 4 deletions
DDExamples/CLICSiDDisplay/main.cpp
with
2 additions
and
4 deletions
DDExamples/CLICSiDDisplay/main.cpp
+
2
−
4
View file @
b85b0d10
...
...
@@ -28,7 +28,6 @@ Geometry::LCDD& compact2geo(int argc, char **argv) {
Geometry
::
LCDD
&
lcdd
=
Geometry
::
LCDD
::
getInstance
();
cout
<<
argc
<<
" Input file : "
<<
input
<<
endl
;
lcdd
.
fromCompact
(
input
);
lcdd
.
dump
();
return
lcdd
;
}
...
...
@@ -45,9 +44,10 @@ int run_interpreter(int argc, char **argv) {
TRint
*
theApp
=
new
TRint
(
"Rint"
,
&
r_argc
,
r_argv
);
Geometry
::
LCDD
&
lcdd
=
compact2geo
((
int
)
args
.
size
(),
&
args
[
0
]);
for
(
size_t
j
=
1
;
j
<
args
.
size
();
++
j
)
for
(
size_t
j
=
1
;
j
<
args
.
size
()
-
1
;
++
j
)
compact2geo
((
int
)(
args
.
size
()
-
j
),
&
args
[
j
]);
lcdd
.
dump
();
//TGDMLWrite wr;
//wr.WriteGDMLfile(gGeoManager,"ILCEx.gdml","");
...
...
@@ -58,7 +58,5 @@ int run_interpreter(int argc, char **argv) {
}
int
main
(
int
argc
,
char
**
argv
)
{
//return read_compact();
//return compact2lcdd();
return
run_interpreter
(
argc
,
argv
);
}
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