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
a5090ce1
Commit
a5090ce1
authored
8 years ago
by
Markus Frank
Committed by
MarkusFrankATcernch
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Try to improve efficiency using C++11 default operations
parent
98488bb3
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
DDCond/src/plugins/ConditionsPlugins.cpp
+6
-6
6 additions, 6 deletions
DDCond/src/plugins/ConditionsPlugins.cpp
examples/DDDB/CMakeLists.txt
+0
-1
0 additions, 1 deletion
examples/DDDB/CMakeLists.txt
with
6 additions
and
7 deletions
DDCond/src/plugins/ConditionsPlugins.cpp
+
6
−
6
View file @
a5090ce1
...
@@ -128,20 +128,20 @@ static int ddcond_conditions_pool_print(lcdd_t& lcdd, bool print_conditions, int
...
@@ -128,20 +128,20 @@ static int ddcond_conditions_pool_print(lcdd_t& lcdd, bool print_conditions, int
ConditionsPrinter
default_printer
(
""
);
ConditionsPrinter
default_printer
(
""
);
Condition
::
Processor
*
printer
=
&
default_printer
;
Condition
::
Processor
*
printer
=
&
default_printer
;
if
(
argc
>
0
)
{
if
(
argc
>
0
)
{
for
(
int
i
=
0
;
i
<
argc
;
++
i
)
{
//
for(int i=0; i<argc; ++i) {
printout
(
INFO
,
""
,
"arg[%d]=%s"
,
i
,
argv
[
i
]);
//
printout(INFO,"","arg[%d]=%s",i,argv[i]);
}
//
}
//
printer = (Condition::Processor*)argv[0];
printer
=
(
Condition
::
Processor
*
)
argv
[
0
];
}
}
const
void
*
args
[]
=
{
printer
,
0
};
const
void
*
args
[]
=
{
printer
,
0
};
return
ddcond_conditions_pool_processor
(
lcdd
,
true
,
print_conditions
,
1
,(
char
**
)
args
);
return
ddcond_conditions_pool_processor
(
lcdd
,
true
,
print_conditions
,
1
,(
char
**
)
args
);
}
}
static
int
ddcond_dump_pools
(
LCDD
&
lcdd
,
int
argc
,
char
**
argv
)
{
static
int
ddcond_dump_pools
(
LCDD
&
lcdd
,
int
argc
,
char
**
argv
)
{
return
ddcond_conditions_pool_print
(
lcdd
,
false
,
argc
,
argv
);
return
ddcond_conditions_pool_print
(
lcdd
,
false
,
argc
,
argv
);
}
}
static
int
ddcond_dump_conditions
(
LCDD
&
lcdd
,
int
argc
,
char
**
argv
)
{
static
int
ddcond_dump_conditions
(
LCDD
&
lcdd
,
int
argc
,
char
**
argv
)
{
return
ddcond_conditions_pool_print
(
lcdd
,
true
,
argc
,
argv
);
return
ddcond_conditions_pool_print
(
lcdd
,
true
,
argc
,
argv
);
}
}
DECLARE_APPLY
(
DD4hep_ConditionsPoolDump
,
ddcond_dump_pools
)
DECLARE_APPLY
(
DD4hep_ConditionsPoolDump
,
ddcond_dump_pools
)
DECLARE_APPLY
(
DD4hep_ConditionsDump
,
ddcond_dump_conditions
)
DECLARE_APPLY
(
DD4hep_ConditionsDump
,
ddcond_dump_conditions
)
...
...
This diff is collapsed.
Click to expand it.
examples/DDDB/CMakeLists.txt
+
0
−
1
View file @
a5090ce1
# $Id$
#==========================================================================
#==========================================================================
# AIDA Detector description implementation for LCD
# AIDA Detector description implementation for LCD
#--------------------------------------------------------------------------
#--------------------------------------------------------------------------
...
...
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