Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
reconstruction_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
reconstruction_benchmarks
Merge requests
!209
Draft: Resolve "Add TOF benchmark"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Draft: Resolve "Add TOF benchmark"
74-add-tof-benchmark
into
master
Overview
0
Commits
14
Pipelines
0
Changes
1
Open
Zhenyu Ye
requested to merge
74-add-tof-benchmark
into
master
3 years ago
Overview
0
Commits
14
Pipelines
0
Changes
1
Expand
Closes
#74
0
0
Merge request reports
Viewing commit
a02002c3
Prev
Next
Show latest version
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
a02002c3
debug TOF benchmark
· a02002c3
Zhenyu Ye
authored
3 years ago
benchmarks/track_finding/scripts/gen_multiple_tracks.cxx
+
1
−
1
Options
@@ -44,7 +44,7 @@ void gen_multiple_tracks(int n_events = 100,
// Define momentum
Double_t
p
=
r1
->
Uniform
(
1.0
,
10.0
);
Double_t
phi
=
r1
->
Uniform
(
0.0
,
2.0
*
M_PI
);
Double_t
costh
=
r1
->
Uniform
(
-
0.05
,
0.05
;
//r1->Uniform(cos_theta_min, cos_theta_max);
Double_t
costh
=
r1
->
Uniform
(
-
0.05
,
0.05
)
;
//r1->Uniform(cos_theta_min, cos_theta_max);
Double_t
th
=
std
::
acos
(
costh
);
Double_t
px
=
p
*
std
::
cos
(
phi
)
*
std
::
sin
(
th
);
Double_t
py
=
p
*
std
::
sin
(
phi
)
*
std
::
sin
(
th
);
Loading