Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible bug in MakeSoverB? #41

Closed
lcorcodilos opened this issue Mar 18, 2021 · 1 comment
Closed

Possible bug in MakeSoverB? #41

lcorcodilos opened this issue Mar 18, 2021 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@lcorcodilos
Copy link
Owner

The integral of the actual s/sqrt(b) looked a little strange during the last DAS. Need to investigate.

@lcorcodilos lcorcodilos added the bug Something isn't working label Mar 18, 2021
@lcorcodilos lcorcodilos added this to the Beta 2.0 milestone Apr 13, 2021
@lcorcodilos
Copy link
Owner Author

lcorcodilos commented May 6, 2021

Did an investigation using top+H analysis. Printed bin values and then integrated manually via the following.

import math
sig = [333.0, 33.4, 23, 15.2, 10.7, 9.9]
bkg = [534.8, 78.2, 39, 54.4, 39.4, 27]

tot_s = 0
tot_b = 0
for i,s in enumerate(sig):
    b = bkg[i]
    tot_s += s
    tot_b += b
    print ('%.2f'%(tot_s/math.sqrt(tot_b)))
14.40
14.80
15.25
15.22
15.21
15.30

Of course, the hard-coded values here could be totally made up so I've attached the plot. I haven't printed the text because I couldn't get the S and B to both print without running over each other. I do promise these values match the histograms and I cross checked the printed values match those in the S/sqrt(B) pane on the bottom.
particleNet_top_cut_nminus1_Run2.pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant