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
Merge requests
!106
Resolve "Include synchrotron radiation benchmark"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Include synchrotron radiation benchmark"
31-include-synchrotron-radiation-benchmark
into
master
Overview
0
Commits
8
Pipelines
0
Changes
2
Merged
Wouter Deconinck
requested to merge
31-include-synchrotron-radiation-benchmark
into
master
3 years ago
Overview
0
Commits
8
Pipelines
0
Changes
2
Expand
Closes
#31 (closed)
Edited
3 years ago
by
Wouter Deconinck
0
0
Merge request reports
Viewing commit
3d6fbb0a
Prev
Next
Show latest version
2 files
+
31
−
1
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
3d6fbb0a
Analysis script
· 3d6fbb0a
Wouter Deconinck
authored
3 years ago
benchmarks/synchrotron/analysis/synchrotron_tests.cxx
0 → 100644
+
30
−
0
Options
#include
<cmath>
#include
<iostream>
#include
<string>
#include
<vector>
#include
"ROOT/RDataFrame.hxx"
#include
"Math/Vector4D.h"
#include
"TCanvas.h"
#include
<nlohmann/json.hpp>
using
json
=
nlohmann
::
json
;
R__LOAD_LIBRARY
(
libfmt
.
so
)
#include
"fmt/core.h"
#include
"fmt/color.h"
R__LOAD_LIBRARY
(
libeicd
.
so
)
R__LOAD_LIBRARY
(
libDD4pod
.
so
)
#include
"eicd/ReconstructedParticleCollection.h"
void
synchrotron_tests
(
const
char
*
fname
=
"rec.root"
){
fmt
::
print
(
fmt
::
emphasis
::
bold
|
fg
(
fmt
::
color
::
forest_green
),
"Running synchrotron analysis...
\n
"
);
// Run this in multi-threaded mode if desired
ROOT
::
EnableImplicitMT
();
ROOT
::
RDataFrame
df
(
"events"
,
fname
);
}
Loading