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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIC
benchmarks
physics_benchmarks
Commits
2a311cec
Commit
2a311cec
authored
Mar 1, 2021
by
Marshall Scott
Committed by
Sylvester Joosten
May 14, 2021
Browse files
Options
Downloads
Patches
Plain Diff
Changed the sorting function to report minimum momemta
parent
3d618a33
No related branches found
No related tags found
1 merge request
!37
Ongoing dis_electron Q2 analysis. An issue with Q2 being basically zero for the electrons.
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
benchmarks/dis/analysis/dis_electrons.cxx
+2
-2
2 additions, 2 deletions
benchmarks/dis/analysis/dis_electrons.cxx
with
2 additions
and
2 deletions
benchmarks/dis/analysis/dis_electrons.cxx
+
2
−
2
View file @
2a311cec
...
...
@@ -24,7 +24,7 @@
// Reconstuction functions
bool
mom_sort_recon
(
eic
::
ReconstructedParticleData
&
part1
,
eic
::
ReconstructedParticleData
&
part2
)
{
return
(
part1
.
p
.
x
*
part1
.
p
.
x
+
part1
.
p
.
y
*
part1
.
p
.
y
+
part1
.
p
.
z
*
part1
.
p
.
z
>
return
(
part1
.
p
.
x
*
part1
.
p
.
x
+
part1
.
p
.
y
*
part1
.
p
.
y
+
part1
.
p
.
z
*
part1
.
p
.
z
<
part2
.
p
.
x
*
part2
.
p
.
x
+
part2
.
p
.
y
*
part2
.
p
.
y
+
part2
.
p
.
z
*
part2
.
p
.
z
);
}
...
...
@@ -50,7 +50,7 @@ inline auto Q2_from_recon(const std::vector<eic::ReconstructedParticleData>& par
// Simulation functions
bool
mom_sort_sim
(
dd4pod
::
Geant4ParticleData
&
part1
,
dd4pod
::
Geant4ParticleData
&
part2
)
{
return
(
part1
.
psx
*
part1
.
psx
+
part1
.
psy
*
part1
.
psy
+
part1
.
psz
*
part1
.
psz
>
return
(
part1
.
psx
*
part1
.
psx
+
part1
.
psy
*
part1
.
psy
+
part1
.
psz
*
part1
.
psz
<
part2
.
psx
*
part2
.
psx
+
part2
.
psy
*
part2
.
psy
+
part2
.
psz
*
part2
.
psz
);
}
...
...
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