Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
detector_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
detector_benchmarks
Commits
014fd8fd
Commit
014fd8fd
authored
4 years ago
by
Marshall Scott
Browse files
Options
Downloads
Patches
Plain Diff
Fixed according to local branch
parent
faf58e2f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
benchmarks/barrel_ecal/scripts/emcal_barrel_pi0_analysis.cxx
+3
-3
3 additions, 3 deletions
benchmarks/barrel_ecal/scripts/emcal_barrel_pi0_analysis.cxx
with
3 additions
and
3 deletions
benchmarks/barrel_ecal/scripts/emcal_barrel_pi0_analysis.cxx
+
3
−
3
View file @
014fd8fd
...
...
@@ -177,7 +177,7 @@ void emcal_barrel_pi0_analysis(const char* input_fname = "sim_output/sim_emcal_b
c6
->
SaveAs
(
"results/emcal_barrel_pi0_dau.pdf"
);
// Energy Resolution Calculation
std
::
string
test_tag
=
"Barrel_emcal_pi0"
;
//TODO: Change test_tag to something else
std
::
string
test_tag
=
"Barrel_emcal_pi0"
;
//
TODO: Change test_tag to something else
std
:
string
detEle
=
"Barrel_emcal"
;
// Energy resolution in the barrel region (-1 < eta < 1)
...
...
@@ -203,11 +203,11 @@ void emcal_barrel_pi0_analysis(const char* input_fname = "sim_output/sim_emcal_b
double
*
res
=
hdE
->
GetFunction
(
"gaus"
)
->
GetParameters
();
double
sigmaOverE
=
res
[
2
]
/
meanE
;
//Pass/Fail
//
Pass/Fail
sigmaOverE
<=
resolutionTarget
?
pi0_energy_resolution
.
pass
(
sigmaOverE
)
:
pi0_energy_resolution
.
fail
(
sigmaOverE
);
std
::
printf
(
"Energy Resolution is %f
\n
"
,
res
[
2
]);
//Energy Resolution Histogram Plotting
//
Energy Resolution Histogram Plotting
auto
*
cdE
=
new
TCanvas
(
"cdE"
,
"cdE"
,
700
,
500
);
cdE
->
SetLogy
(
1
);
hdE
->
GetYaxis
()
->
SetTitleOffset
(
1.4
);
...
...
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