Giter VIP home page Giter VIP logo

bincentering's Introduction

----------------------------------------------------------------------
1. BASIC DESCRIPTION
----------------------------------------------------------------------
bincentering uses the MAID cross section tables to generate a bin by
bin correction factor for a histogram.  Because each different
histogram binning requires a different integration calculation, this
program uses an example histogram contained inside of a ROOT file to
find the binning, and then calculates the following "histograms":

1. center
2. integral
3. average
4. center_over_average

The "center" histogram is just the value of the MAID model at the
center of each bin.

The "integral" histogram is the integral of the MAID model over each
bin.

The "average" histogram is the integral divided by bin volume for each
bin.

The "center_over_average" histogram is the ratio between the MAID
model at the center of a bin and the average model value over that
same bin.  Therefore, center_over_average is a bin by bin correction
factor for a yield histogram, assuming that the MAID model provides a
good approximation to the curvature of the data.

----------------------------------------------------------------------
2. USING BINCENTERING
----------------------------------------------------------------------
bincentering.inp gives an example input file for bincentering.  Input
to bincentering needs to be given through standard input, so if you
store your configuration in a file, use bincentering like this:

./bincentering < bincentering.inp

to redirect the file to standard input.

The arguments in order are:

General control arguments:
1. The input file path,
2. The name of the histogram inside the input ROOT file,
3. The output file path,

MAID model arguments:
4. The beam energy of the experimental data,
5. The electron helicity,
6. The MAID model to use,
7. The reaction channel to investigate.

These are all commented in the input file as well.

bincentering's People

Contributors

ghollisjr avatar

Watchers

 avatar  avatar  avatar

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.