Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
reconstruction_benchmarks
Manage
Activity
Members
Labels
Plan
Issues
22
Issue boards
Milestones
Wiki
Code
Merge requests
21
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
Commits
3b1854f8
Commit
3b1854f8
authored
3 years ago
by
Maria Zurek
Browse files
Options
Downloads
Patches
Plain Diff
Use only two energies
parent
31049362
No related branches found
Branches containing commit
No related tags found
1 merge request
!153
Draft: Resolve "Add energy scan for Barrel Ecal"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
benchmarks/imaging_ecal/config.yml
+1
-1
1 addition, 1 deletion
benchmarks/imaging_ecal/config.yml
benchmarks/imaging_ecal/scripts/emcal_barrel_energy_scan_analysis.cxx
+4
-4
4 additions, 4 deletions
...maging_ecal/scripts/emcal_barrel_energy_scan_analysis.cxx
with
5 additions
and
5 deletions
benchmarks/imaging_ecal/config.yml
+
1
−
1
View file @
3b1854f8
...
...
@@ -51,7 +51,7 @@ imaging_ecal_energy_scan_ph:
-
bash benchmarks/imaging_ecal/run_emcal_barrel.sh -t emcal_barrel_${PARTICLE}_${ENERGY} -n 100 -p "${PARTICLE}" -e "${ENERGY}" && echo "${ENERGY}" >> "$E_file"
parallel
:
matrix
:
-
ENERGY
:
[
"
0.5"
,
"
1"
,
"
2"
,
"
5"
,
"
10"
]
-
ENERGY
:
[
"
0.5"
,
"
1"
]
PARTICLE
:
[
photon
]
imaging_ecal_energy_scan_analysis_electrons
:
...
...
This diff is collapsed.
Click to expand it.
benchmarks/imaging_ecal/scripts/emcal_barrel_energy_scan_analysis.cxx
+
4
−
4
View file @
3b1854f8
...
...
@@ -225,8 +225,8 @@ std::tuple <double, double, double, double, double, double, double, double> extr
hfsamImg
->
SetLineColor
(
kBlue
);
set_histo_range
(
hfsamImg
);
hfsamImg
->
DrawClone
();
double
up_fit
=
hfsamImg
->
GetMean
()
+
5
*
hfsamImg
->
GetStdDev
();
double
down_fit
=
hfsamImg
->
GetMean
()
-
5
*
hfsamImg
->
GetStdDev
();
auto
up_fit
=
hfsamImg
->
GetMean
()
+
5
*
hfsamImg
->
GetStdDev
();
auto
down_fit
=
hfsamImg
->
GetMean
()
-
5
*
hfsamImg
->
GetStdDev
();
if
(
down_fit
<=
0
)
down_fit
=
hfsamImg
->
GetXaxis
()
->
GetBinUpEdge
(
1
);
hfsamImg
->
Fit
(
"gaus"
,
""
,
""
,
down_fit
,
up_fit
);
TF1
*
gausImg
=
hfsamImg
->
GetFunction
(
"gaus"
);
...
...
@@ -246,8 +246,8 @@ std::tuple <double, double, double, double, double, double, double, double> extr
set_histo_range
(
hfsamScFi
);
hfsamScFi
->
DrawClone
();
hfsamScFi
->
Fit
(
"gaus"
,
""
,
""
,
0.01
,
0.1
);
up_fit
=
hfsamScFi
->
GetMean
()
+
5
*
hfsamScFi
->
GetStdDev
();
down_fit
=
hfsamScFi
->
GetMean
()
-
5
*
hfsamScFi
->
GetStdDev
();
auto
up_fit
=
hfsamScFi
->
GetMean
()
+
5
*
hfsamScFi
->
GetStdDev
();
auto
down_fit
=
hfsamScFi
->
GetMean
()
-
5
*
hfsamScFi
->
GetStdDev
();
if
(
down_fit
<=
0
)
down_fit
=
hfsamScFi
->
GetXaxis
()
->
GetBinUpEdge
(
1
);
hfsamScFi
->
Fit
(
"gaus"
,
""
,
""
,
down_fit
,
up_fit
);
TF1
*
gaus
=
hfsamScFi
->
GetFunction
(
"gaus"
);
...
...
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