Skip to content

Commit

Permalink
Update minbineff and maxbineff double to int
Browse files Browse the repository at this point in the history
  • Loading branch information
zsweger authored Oct 2, 2024
1 parent 5daf729 commit a9808a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions files/plot_rho_physics_benchmark.C
Original file line number Diff line number Diff line change
Expand Up @@ -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_REC_etacut->Draw("HIST E same");

double minbineff = h_VM_mass_MC_etacut->FindBin(0.6);
double maxbineff = h_VM_mass_MC_etacut->FindBin(1.0);
int minbineff = h_VM_mass_MC_etacut->FindBin(0.6);
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));

r42->Draw("same");
Expand Down

0 comments on commit a9808a0

Please sign in to comment.