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
!269
fix: switch back to single hit collections
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
fix: switch back to single hit collections
single-hit-collection
into
master
Overview
0
Commits
1
Pipelines
0
Changes
5
Merged
Wouter Deconinck
requested to merge
single-hit-collection
into
master
2 years ago
Overview
0
Commits
1
Pipelines
0
Changes
5
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
2e7df167
1 commit,
2 years ago
5 files
+
14
−
39
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
Search (e.g. *.vue) (Ctrl+P)
benchmarks/far_forward/analysis/hits_far_forward_protons.cxx
+
3
−
3
Options
@@ -104,11 +104,11 @@ int hits_far_forward_protons(const char* fname = "sim_far_forward_protons.edm4he
//.Define("delta_p_over_p1",delta_p_over_p, {"p_track1", "p_thrown"})
//.Define("delta_p_over_p2",delta_p_over_p, {"p_track2", "p_thrown"})
//.Define("N_VtxBarrelHits",[](std::vector<edm4hep::SimTrackerHitData> hits) { return hits.size();},{"VertexBarrelRecHits"})
.
Define
(
"N_BarrelHits"
,
[](
std
::
vector
<
edm4hep
::
SimTrackerHitData
>
hits
)
{
return
hits
.
size
();},
{
"
Outer
SiBarrelHits"
})
.
Define
(
"N_EndcapHits"
,
[](
std
::
vector
<
edm4hep
::
SimTrackerHitData
>
hits
)
{
return
hits
.
size
();},
{
"
Outer
TrackerEndcapPHits"
})
.
Define
(
"N_BarrelHits"
,
[](
std
::
vector
<
edm4hep
::
SimTrackerHitData
>
hits
)
{
return
hits
.
size
();},
{
"SiBarrelHits"
})
.
Define
(
"N_EndcapHits"
,
[](
std
::
vector
<
edm4hep
::
SimTrackerHitData
>
hits
)
{
return
hits
.
size
();},
{
"TrackerEndcapPHits"
})
;
auto
hBarrel_x_vs_y
=
df0
.
Histo2D
({
"hBarrel_x_vs_y"
,
"; x ; y "
,
100
,
-
900
,
900
,
100
,
-
900
,
900
},
"
Outer
SiBarrelHits.position.x"
,
"
Outer
SiBarrelHits.position.y"
);
auto
hBarrel_x_vs_y
=
df0
.
Histo2D
({
"hBarrel_x_vs_y"
,
"; x ; y "
,
100
,
-
900
,
900
,
100
,
-
900
,
900
},
"SiBarrelHits.position.x"
,
"SiBarrelHits.position.y"
);
auto
hBarrel_N_vs_theta
=
df0
.
Histo1D
({
"hBarrel_N_vs_theta"
,
"; #theta [deg.]"
,
20
,
0
,
180
},
"theta0"
,
"N_BarrelHits"
);
auto
hEndcap_N_vs_theta
=
df0
.
Histo1D
({
"hEndcap_N_vs_theta"
,
"; #theta [deg.]"
,
20
,
0
,
180
},
"theta0"
,
"N_EndcapHits"
);
Loading