Hist
examples
Hist ZpT( "Z0 pT spectrum", 100, 0., 100.);
Hist ZpT; ZpT.book( "Z0 pT spectrum", 100, 0., 100.);
fill
ZpT.fill( 22.7, 1.);
data
theory
diff = (data - theory) / (data + theory);
diff
result
1. / result
allpT = ZpT + 2. * WpT
+=, -+, *=, /=
cout << ZpT;
3.50*10^ 2 9 3.00*10^ 2 X 7 2.50*10^ 2 X 1X 2.00*10^ 2 X6 XX 1.50*10^ 2 XX5XX 1.00*10^ 2 XXXXX 0.50*10^ 2 XXXXX Contents *10^ 2 31122 *10^ 1 47208 *10^ 0 79373 Low edge -- *10^ 1 10001 *10^ 0 05050
Contents
Low edge
3 * 10^2 + 4 * 10^1 + 7 * 10^0 = 347
-(1 * 10^1 + 0 * 10^0) = -10
-(0 * 10^1 + 5 * 10^0) = -5
X
3.00*10^2 = 300
3.50*10^2 = 350
Hist multMPI( "number of multiparton interactions", 20, -0.5, 19.5);
fill( xValue)
xValue
argument
default = 1.
ostream
printOverUnder = true
xMidBin = false
table
printError = true
iBin
numberOfBins
0
numberOfBins + 1
fill(...)
false
sameSize(...)