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
cddc6529
Commit
cddc6529
authored
Mar 10, 2022
by
Kong Tu
Browse files
Options
Downloads
Patches
Plain Diff
change of include name?
parent
5aacd8fe
Branches
Branches containing commit
No related tags found
1 merge request
!100
Draft: Diffractive phi benchmark development
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
benchmarks/diffractive_phi/analysis/pleaseIncludeMe.h
+2
-2
2 additions, 2 deletions
benchmarks/diffractive_phi/analysis/pleaseIncludeMe.h
with
2 additions
and
2 deletions
benchmarks/diffractive_phi/analysis/pleaseIncludeMe.h
+
2
−
2
View file @
cddc6529
...
@@ -96,7 +96,7 @@ auto scatID_cand_value = [](const ROOT::VecOps::RVec<int>& x){
...
@@ -96,7 +96,7 @@ auto scatID_cand_value = [](const ROOT::VecOps::RVec<int>& x){
return
value
;
return
value
;
};
};
auto
momenta_from_reconstruction_plus
(
const
std
::
vector
<
eic
::
ReconstructedParticleData
>&
parts
)
{
auto
momenta_from_reconstruction_plus
(
const
std
::
vector
<
eic
d
::
ReconstructedParticleData
>&
parts
)
{
std
::
vector
<
ROOT
::
Math
::
PxPyPzMVector
>
momenta
{
parts
.
size
()};
std
::
vector
<
ROOT
::
Math
::
PxPyPzMVector
>
momenta
{
parts
.
size
()};
std
::
transform
(
parts
.
begin
(),
parts
.
end
(),
momenta
.
begin
(),
[](
const
auto
&
part
)
{
std
::
transform
(
parts
.
begin
(),
parts
.
end
(),
momenta
.
begin
(),
[](
const
auto
&
part
)
{
if
(
part
.
charge
>
0
){
if
(
part
.
charge
>
0
){
...
@@ -109,7 +109,7 @@ auto momenta_from_reconstruction_plus(const std::vector<eic::ReconstructedPartic
...
@@ -109,7 +109,7 @@ auto momenta_from_reconstruction_plus(const std::vector<eic::ReconstructedPartic
return
momenta
;
return
momenta
;
}
}
auto
momenta_from_reconstruction_minus
(
const
std
::
vector
<
eic
::
ReconstructedParticleData
>&
parts
,
auto
momenta_from_reconstruction_minus
(
const
std
::
vector
<
eic
d
::
ReconstructedParticleData
>&
parts
,
std
::
vector
<
int
>
scat_id
,
std
::
vector
<
int
>
scat_id
,
std
::
vector
<
int
>
scat_source
)
std
::
vector
<
int
>
scat_source
)
...
...
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