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
!295
fix: invert has_ecal_barrel_scfi logic
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
fix: invert has_ecal_barrel_scfi logic
scfi-now-default
into
master
Overview
0
Commits
1
Pipelines
0
Changes
4
Merged
Wouter Deconinck
requested to merge
scfi-now-default
into
master
1 year ago
Overview
0
Commits
1
Pipelines
0
Changes
4
Expand
0
0
Merge request reports
Compare
master
version 1
77e2a355
1 year ago
master (base)
and
latest version
latest version
77e2a355
1 commit,
1 year ago
version 1
77e2a355
1 commit,
1 year ago
4 files
+
20
−
20
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
benchmarks/clustering/options/full_cal_reco.py
+
5
−
5
Options
@@ -17,11 +17,11 @@ detector_path = str(os.environ.get("DETECTOR_PATH", "."))
@@ -17,11 +17,11 @@ detector_path = str(os.environ.get("DETECTOR_PATH", "."))
compact_path
=
os
.
path
.
join
(
detector_path
,
detector_config
)
compact_path
=
os
.
path
.
join
(
detector_path
,
detector_config
)
# Detector features that affect reconstruction
# Detector features that affect reconstruction
has_ecal_barrel_scfi
=
False
has_ecal_barrel_scfi
=
True
if
'
epic
'
in
detector_name
and
'
imaging
'
in
detector_config
:
if
"
epic
"
in
detector_name
and
"
sciglass
"
in
detector_config
:
has_ecal_barrel_scfi
=
Tru
e
has_ecal_barrel_scfi
=
Fals
e
if
'
epic
'
in
detector_name
and
'
brycecanyon
'
in
detector_config
:
if
'
epic
'
in
detector_name
and
'
arches
'
in
detector_config
:
has_ecal_barrel_scfi
=
Tru
e
has_ecal_barrel_scfi
=
Fals
e
# input arguments from calibration file
# input arguments from calibration file
with
open
(
f
'
{
detector_path
}
/calibrations/emcal_barrel_calibration.json
'
)
as
f
:
with
open
(
f
'
{
detector_path
}
/calibrations/emcal_barrel_calibration.json
'
)
as
f
:
Loading