Code Monkey home page Code Monkey logo

Comments (1)

lcorcodilos avatar lcorcodilos commented on July 30, 2024

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

from timber.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.