fill the array stats from the contents of this plot/series
The array stats must be correctly dimensionned in the calling program.
stats[0] = sumw
stats[1] = sumw2
stats[2] = sumwx
stats[3] = sumwx2
stats[4] = sumwy if 2-d or 3-d
stats[5] = sumwy2
stats[6] = sumwz if 3-d
stats[7] = sumwz2
If no axis-subrange is specified (via TAxis::SetRange), the array stats
is simply a copy of the statistics quantities computed at filling time.
If a sub-range is specified, the function recomputes these quantities
from the bin contents in the current axis range.
Shift the contents of the VSPlot.
"nval" is the length of the "values" input array, nval values are removed
from the beginning of the VSPlot and the new nval values are appended
to the end. If nval is bigger than the number of points in the plot,
nothing is done.
The start GPS time is adjusted accordingly.
Returns 1 in case of success, 0 otherwise
-*-*-*-*-*-*-*-*-*Compute distance from point px,py to a line*-*-*-*-*-*
===========================================
Compute the closest distance of approach from point px,py to elements
of a VSPlot. Special treatment due to x axis being time axis.
in the case of "sameti" option, have to shift the plots so they
coincide in time.
The distance is computed in pixels units.
*-*-*-*-*-*-*-*-*Control routine to paint the VSPlots*-*-*-*-*-*-*
*-* ===============================================
This function is automatically called by TCanvas::Update.
(see TH1::Draw for the list of options)
*-*-*-*-*-*-*-*-*-*-*-*Draw the statistics box*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-* =======================
The type of information printed in the VSPlot statistics box
can be selected via gVStyle->SetOptStat(mode).
The parameter mode can be = rasn (default = 1111)
n = 1; name of histogram is printed
s = 1; start time of the vector
a = 1; average value printed
r = 1; rms printed
Example: gStyle->SetOptStat(11);
print only name of vsplot and start time.
The type of information about fit parameters printed in the histogram
statistics box can be selected via the parameter mode.
The parameter mode can be = pcev (default = 0111)
v = 1; print name/values of parameters
e = 1; print errors (if e=1, v must be 1)
c = 1; print Chisquare/Number of degress of freedom
p = 1; print Probability
Example: gStyle->SetOptFit(1011);
print fit probability, parameter names/values and errors.
- ROOT page - VEGA page - Class index - Top of the page This page has been automatically generated. If you have any comments or suggestions
about the page layout send a mail to
, or
contact
with any questions or problems regarding ROOT or VEGA.