Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
physics_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
physics_benchmarks
Commits
126b0234
Commit
126b0234
authored
8 months ago
by
Zachary W Sweger
Browse files
Options
Downloads
Patches
Plain Diff
minbineff and maxbineff to ints
parent
40b79e72
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/your_benchmark/macros/plot_rho_physics_benchmark.C
+4
-4
4 additions, 4 deletions
...hmarks/your_benchmark/macros/plot_rho_physics_benchmark.C
with
4 additions
and
4 deletions
benchmarks/your_benchmark/macros/plot_rho_physics_benchmark.C
+
4
−
4
View file @
126b0234
...
@@ -173,8 +173,8 @@ void plot_rho_physics_benchmark(TString filename="./sim_output/plot_combined.roo
...
@@ -173,8 +173,8 @@ void plot_rho_physics_benchmark(TString filename="./sim_output/plot_combined.roo
h_VM_mass_MC_etacut
->
Draw
(
"HIST E same"
);
h_VM_mass_MC_etacut
->
Draw
(
"HIST E same"
);
h_VM_mass_REC_etacut
->
Draw
(
"HIST E same"
);
h_VM_mass_REC_etacut
->
Draw
(
"HIST E same"
);
double
minbineff
=
h_VM_mass_MC_etacut
->
FindBin
(
0
.
6
);
int
minbineff
=
h_VM_mass_MC_etacut
->
FindBin
(
0
.
6
);
double
maxbineff
=
h_VM_mass_MC_etacut
->
FindBin
(
1
.
0
);
int
maxbineff
=
h_VM_mass_MC_etacut
->
FindBin
(
1
.
0
);
double
thiseff
=
100
.
0
*
(
1
.
0
*
h_VM_mass_REC_etacut
->
Integral
(
minbineff
,
maxbineff
))
/
(
1
.
0
*
h_VM_mass_MC_etacut
->
Integral
(
minbineff
,
maxbineff
));
double
thiseff
=
100
.
0
*
(
1
.
0
*
h_VM_mass_REC_etacut
->
Integral
(
minbineff
,
maxbineff
))
/
(
1
.
0
*
h_VM_mass_MC_etacut
->
Integral
(
minbineff
,
maxbineff
));
r42
->
Draw
(
"same"
);
r42
->
Draw
(
"same"
);
...
@@ -409,8 +409,8 @@ void plot_rho_physics_benchmark(TString filename="./sim_output/plot_combined.roo
...
@@ -409,8 +409,8 @@ void plot_rho_physics_benchmark(TString filename="./sim_output/plot_combined.roo
TString
figure3name
=
figure_directory
+
"/benchmark_rho_efficiencies.pdf"
;
TString
figure3name
=
figure_directory
+
"/benchmark_rho_efficiencies.pdf"
;
c5
->
Print
(
figure3name
);
c5
->
Print
(
figure3name
);
int
minbineff
=
h_VM_mass_MC_etacut
->
FindBin
(
0
.
6
);
minbineff
=
h_VM_mass_MC_etacut
->
FindBin
(
0
.
6
);
int
maxbineff
=
h_VM_mass_MC_etacut
->
FindBin
(
1
.
0
);
maxbineff
=
h_VM_mass_MC_etacut
->
FindBin
(
1
.
0
);
double
reconstuctionEfficiency
=
(
1
.
0
*
h_VM_mass_REC_etacut
->
Integral
(
minbineff
,
maxbineff
))
/
(
1
.
0
*
h_VM_mass_MC_etacut
->
Integral
(
minbineff
,
maxbineff
));
double
reconstuctionEfficiency
=
(
1
.
0
*
h_VM_mass_REC_etacut
->
Integral
(
minbineff
,
maxbineff
))
/
(
1
.
0
*
h_VM_mass_MC_etacut
->
Integral
(
minbineff
,
maxbineff
));
//set the benchmark status:
//set the benchmark status:
setbenchstatus
(
reconstuctionEfficiency
);
setbenchstatus
(
reconstuctionEfficiency
);
...
...
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