Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

rivet-rescale(1) [debian man page]

RIVET-RESCALE(1)						   User Commands						  RIVET-RESCALE(1)

NAME
rivet-rescale - Rescale histos in observable-file of AIDAFILE to the area of the corresponding histos in REFDATAPATH SYNOPSIS
rivet-rescale [-r <REFDATAPATH>] [-O <observable-file>] [-b <bindef> [-b ...]] <AIDAFILE> [<OUTFILE>] DESCRIPTION
Rescale histos in observable-file of AIDAFILE to the area of the corresponding histos in REFDATAPATH. REFDATAPATH can either be a single AIDA-file or a directory containing AIDA-files. By default the standard Rivet reference files are used. Observable definitions of the form /CDF_2000_S4155203/d01-x01-y01 1.0 can be used to specify an absolute normalisation (1.0, here) for a histogram rather than using the reference histo. If the --multiply switch is used, the ref histo area will be scaled by the given factor to give the target normalisation. You can also define bins to chop out in the observable-file in the same way as in chop_bins: /CDF_2000_S4155203/d01-x01-y01:0:35 1.0 This will chop the bins with Z-pT > 35 GeV and obtain a rescaling factor from that restricted bin range: note that the output histograms will be rescaled but *unchopped*. Only one bin definition can be used for each histogram, so the last bindef specified for that histo path will be the one which is applied. The bindefs are constructed in order from those in the obsfile, and then those given on the command line with the -b flag, like this: -b "/CDF_2000_S4155203/d01-x01-y01:5:135 2.0" OPTIONS
-h, --help show this help message and exit -O OBSFILE, --obsfile=OBSFILE Specify a file with histograms (and bin ranges) that are to be normalised. -b BINRANGES, --bins=BINRANGES Specify a histogram and bin range that is to be used. The format is `AIDAPATH:start:stop'. -r REFDIR, --refdir=REFDIR File of folder with reference histos -a Produce AIDA output rather than FLAT -f Produce FLAT output rather than AIDA --multiply Rescale histos using weight given as factor rather than new area -i, --in-place Overwrite input file rather than making inputrescaled.aida --fast Try loading only reference files from refpath that match analyses in input-file EXAMPLES
rivet-rescale out.aida This will return the histos in out.aida, scaled to match the overall normalisations of the Rivet ref data. rivet-rescale -O observables.obs out.aida This will return the histos in out.aida, scaled by the bin definitions specified in observables.obs (and using the Rivet ref data again) rivet-rescale -r path/to/CDF_2000_S4155203.aida -b "/CDF_2000_S4155203/d01-x01-y01:2:5" out.aida For this Z-boson pT-distribution, the normalisation to the provided ref data file is only applied between 2 < x < 5 GeV. AUTHOR
This manual page was written by Lifeng Sun <lifongsun@gmail.com> for the Debian system (but may be used by others). Rivet June 2012 RIVET-RESCALE(1)

Check Out this Related Man Page

HISTO(1)						      General Commands Manual							  HISTO(1)

NAME
histo - compute 1-dimensional histogram of N data columns SYNOPSIS
histo [-c][-p] xmin xmax nbins histo [-c][-p] imin imax DESCRIPTION
Histo bins columnular data on the standard input between the given minimum and maximum values. If three command line arguments are given, the third is taken as the number of data bins between the first two real numbers. If only two arguments are given, they are both assumed to be integers, and the number of data bins will be equal to their difference plus one. The bins are always of equal size. The output is N+1 columns of data (for N columns input), where the first column is the centroid of each division, and each row corresponds to the frequencies for each column around that value. If the -c option is present, then histo computes the cumulative histogram for each column instead of the straight frequencies. The upper value of each bin is printed also instead of the centroid. This may be useful in computing percentiles, for example. Values below the minimum specified are still counted in the cumulative total. The -p option tells histo to report the percentage of the total number of input lines rather than the absolute counts. In the case of a cumulative total, this yields the percentile values directly. Values above the maximum are counted as well as values below in this case. All input data is interpreted as real values, and columns must be white-space separated. If any value is less than the minimum or greater than the maximum, it will be ignored unless the -c option is specified. EXAMPLE
To count data values between -1 and 1 in 50 bins: histo -1 1 50 < input.dat To count frequencies of integers between 0 and 255: histo 0 255 < input.dat AUTHOR
Greg Ward SEE ALSO
cnt(1), neaten(1), rcalc(1), rlam(1), tabfunc(1), total(1) RADIANCE
9/6/96 HISTO(1)
Man Page