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
435c2b20
Commit
435c2b20
authored
3 years ago
by
Marshall Scott
Browse files
Options
Downloads
Patches
Plain Diff
Changed number of bins for resolution from 100 to 20
parent
63267210
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_pions_analysis.cxx
+2
-2
2 additions, 2 deletions
...marks/barrel_ecal/scripts/emcal_barrel_pions_analysis.cxx
with
2 additions
and
2 deletions
benchmarks/barrel_ecal/scripts/emcal_barrel_pions_analysis.cxx
+
2
−
2
View file @
435c2b20
...
@@ -178,8 +178,8 @@ void emcal_barrel_pions_analysis(const char* input_fname = "sim_output/sim_emcal
...
@@ -178,8 +178,8 @@ void emcal_barrel_pions_analysis(const char* input_fname = "sim_output/sim_emcal
c4
->
SaveAs
(
"results/emcal_barrel_pions_fsam.pdf"
);
c4
->
SaveAs
(
"results/emcal_barrel_pions_fsam.pdf"
);
//Energy Resolution Work
//Energy Resolution Work
auto
hdE
=
d1
.
Histo1D
({
"hdE"
,
"dE; dE[GeV]; Events"
,
10
0
,
-
7.5
,
7.5
},
"dE"
);
auto
hdE
=
d1
.
Histo1D
({
"hdE"
,
"dE; dE[GeV]; Events"
,
2
0
,
-
7.5
,
7.5
},
"dE"
);
//changed from 100
auto
hdE_rel
=
d1
.
Histo1D
({
"hdE_rel"
,
"dE Relative; dE Relative; Events"
,
10
0
,
-
7.5
,
7.5
},
"dE_rel"
);
auto
hdE_rel
=
d1
.
Histo1D
({
"hdE_rel"
,
"dE Relative; dE Relative; Events"
,
2
0
,
-
7.5
,
7.5
},
"dE_rel"
);
//changed from 100
TFitResultPtr
f1
=
hdE_rel
->
Fit
(
"gaus"
,
"S"
);
TFitResultPtr
f1
=
hdE_rel
->
Fit
(
"gaus"
,
"S"
);
const
double
*
res
=
f1
->
GetParams
();
const
double
*
res
=
f1
->
GetParams
();
auto
tf1
=
new
TF1
(
""
,
"TMath::Gaus(x, [0], [1], [2])"
,
-
7.5
,
7.5
);
auto
tf1
=
new
TF1
(
""
,
"TMath::Gaus(x, [0], [1], [2])"
,
-
7.5
,
7.5
);
...
...
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