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
!69
Using small number of s3 data events for benchmark
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Using small number of s3 data events for benchmark
dvcs_s3_data_test
into
master
Overview
0
Commits
20
Pipelines
0
Changes
13
Merged
Whitney Armstrong
requested to merge
dvcs_s3_data_test
into
master
3 years ago
Overview
0
Commits
20
Pipelines
0
Changes
13
Expand
modified: dvcs.sh
0
0
Merge request reports
Compare
master
version 19
00b68631
3 years ago
version 18
65a751e6
3 years ago
version 17
b350f084
3 years ago
version 16
07692f46
3 years ago
version 15
a8535cbe
3 years ago
version 14
027d154f
3 years ago
version 13
5ba48b3d
3 years ago
version 12
c1f045ab
3 years ago
version 11
118233a8
3 years ago
version 10
0cc4e470
3 years ago
version 9
6442b3f5
3 years ago
version 8
b126283a
3 years ago
version 7
8235a74c
3 years ago
version 6
53edd340
3 years ago
version 5
933c82fb
3 years ago
version 4
34dbf927
3 years ago
version 3
212602a9
3 years ago
version 2
66a0fc7a
3 years ago
version 1
b92555ba
3 years ago
master (base)
and
latest version
latest version
eeb35cb5
20 commits,
3 years ago
version 19
00b68631
19 commits,
3 years ago
version 18
65a751e6
18 commits,
3 years ago
version 17
b350f084
17 commits,
3 years ago
version 16
07692f46
16 commits,
3 years ago
version 15
a8535cbe
15 commits,
3 years ago
version 14
027d154f
14 commits,
3 years ago
version 13
5ba48b3d
13 commits,
3 years ago
version 12
c1f045ab
12 commits,
3 years ago
version 11
118233a8
11 commits,
3 years ago
version 10
0cc4e470
10 commits,
3 years ago
version 9
6442b3f5
9 commits,
3 years ago
version 8
b126283a
8 commits,
3 years ago
version 7
8235a74c
7 commits,
3 years ago
version 6
53edd340
6 commits,
3 years ago
version 5
933c82fb
5 commits,
3 years ago
version 4
34dbf927
4 commits,
3 years ago
version 3
212602a9
3 commits,
3 years ago
version 2
66a0fc7a
2 commits,
3 years ago
version 1
b92555ba
1 commit,
3 years ago
13 files
+
406
−
597
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
13
Search (e.g. *.vue) (Ctrl+P)
benchmarks/dvcs/scripts/dvcs_ps_gen.cxx
0 → 100644
+
33
−
0
Options
void
dvcs_ps_gen
()
{
double
E_p
=
100.0
;
double
M_p
=
0.938
;
double
E_e
=
5.0
;
TLorentzVector
target
(
0.0
,
0.0
,
std
::
sqrt
(
E_p
*
E_p
-
M_p
*
M_p
),
E_p
);
TLorentzVector
beam
(
0.0
,
0.0
,
E_e
,
std
::
sqrt
(
E_e
*
E_e
+
0.000511
*
0.000511
));
TLorentzVector
W
=
beam
+
target
;
//(Momentum, Energy units are Gev/C, GeV)
Double_t
masses
[
3
]
=
{
0.000511
,
0.938
,
0.0
}
;
TGenPhaseSpace
event
;
if
(
!
event
.
SetDecay
(
W
,
3
,
masses
))
std
::
cout
<<
"derp
\n
"
;
;
TH2F
*
h2
=
new
TH2F
(
"h2"
,
"h2; Q^{2} ; t"
,
100
,
0
,
5
,
100
,
-
0.120
,
0
);
for
(
Int_t
n
=
0
;
n
<
1000000
;
n
++
)
{
Double_t
weight
=
event
.
Generate
();
TLorentzVector
*
pElectron
=
event
.
GetDecay
(
0
);
TLorentzVector
*
pProton
=
event
.
GetDecay
(
1
);
TLorentzVector
*
pGamma
=
event
.
GetDecay
(
2
);
TLorentzVector
pq
=
beam
-
*
pElectron
;
TLorentzVector
Delta
=
target
-
*
pProton
;
h2
->
Fill
(
-
1.0
*
(
pq
.
M2
())
,
Delta
.
M2
()
,
weight
);
//std::cout << -1.0*(pq.M2()) << " , " << Delta.M2() << " , " << weight << "\n";
}
h2
->
Draw
(
"colz"
);
}
Loading