Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
physics_benchmarks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIC
benchmarks
physics_benchmarks
Commits
a0a50176
Commit
a0a50176
authored
3 years ago
by
Wouter Deconinck
Browse files
Options
Downloads
Patches
Plain Diff
analysis script fixes
parent
eb7bbccf
No related branches found
No related tags found
1 merge request
!106
Resolve "Include synchrotron radiation benchmark"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
benchmarks/synchrotron/analysis/synchrotron_sim.cxx
+4
-4
4 additions, 4 deletions
benchmarks/synchrotron/analysis/synchrotron_sim.cxx
with
4 additions
and
4 deletions
benchmarks/synchrotron/analysis/synchrotron_sim.cxx
+
4
−
4
View file @
a0a50176
...
@@ -19,7 +19,7 @@ R__LOAD_LIBRARY(libDD4pod.so)
...
@@ -19,7 +19,7 @@ R__LOAD_LIBRARY(libDD4pod.so)
#include
"eicd/ReconstructedParticleCollection.h"
#include
"eicd/ReconstructedParticleCollection.h"
void
synchrotron_
raw
(
const
char
*
fname
=
"sim_synchrotron.root"
){
void
synchrotron_
sim
(
const
char
*
fname
=
"sim_synchrotron.root"
){
fmt
::
print
(
fmt
::
emphasis
::
bold
|
fg
(
fmt
::
color
::
forest_green
),
"Running synchrotron analysis...
\n
"
);
fmt
::
print
(
fmt
::
emphasis
::
bold
|
fg
(
fmt
::
color
::
forest_green
),
"Running synchrotron analysis...
\n
"
);
...
@@ -34,8 +34,8 @@ void synchrotron_raw(const char* fname = "sim_synchrotron.root"){
...
@@ -34,8 +34,8 @@ void synchrotron_raw(const char* fname = "sim_synchrotron.root"){
;
;
auto
n_VertexBarrelHits
=
df0
.
Mean
(
"n_VertexBarrelHits"
);
auto
n_VertexBarrelHits
=
df0
.
Mean
(
"n_VertexBarrelHits"
);
auto
n_VertexEndcapHits
=
df0
.
Mean
(
"n_VertexEn
c
dapHits"
);
auto
n_VertexEndcapHits
=
df0
.
Mean
(
"n_VertexEnd
c
apHits"
);
std
::
cout
<<
"n_VertexBarrelHits = "
<<
n_VertexBarrelHits
<<
" / ev"
<<
std
::
endl
;
std
::
cout
<<
"n_VertexBarrelHits = "
<<
*
n_VertexBarrelHits
<<
" / ev"
<<
std
::
endl
;
std
::
cout
<<
"n_VertexEndcapHits = "
<<
n_VertexEndcapHits
<<
" / ev"
<<
std
::
endl
;
std
::
cout
<<
"n_VertexEndcapHits = "
<<
*
n_VertexEndcapHits
<<
" / ev"
<<
std
::
endl
;
}
}
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