GraphSysErr
0.10-2
A class to hold results with statistical and systematic errors A class to hold results with statistical and systematic errors
|
This class defines an (X,Y) with any number of error sources. More...
Classes | |
struct | Combiner |
Combining measurements. More... | |
struct | Holder |
Base class to hold systematic errors. More... | |
struct | HolderCommon |
Holder of common errors. More... | |
struct | HolderP2P |
A holder for Point-to-Point systematic errors. More... | |
struct | LinearSigmaCombiner |
A combiner that uses a linear approximation. More... | |
struct | LinearVarianceCombiner |
A combiner that uses a linear variance approximation. More... | |
Public Types | |
enum | { kDraw = 0x1, kImport = 0x2, kExport = 0x4, kRatio = 0x8, kVerbose = 0 } |
enum | EDrawOption_t { kNormal = 0, kNoTick = 1, kArrow = 2, kRect = 3, kBox = 4, kFill = 5, kCurve = 6, kHat = 7, kBar = 8, kNone = 9, kLine = 10, kConnect = 11 } |
Drawing options. More... | |
enum | EChi2Type { kExperimentExperiment, kExperimentModel, kModelModel, kExperimentTruth } |
Types of comparisons. More... | |
enum | ERatioOption { kMax = 0x00001, kMin = 0x00002, kCancel = 0x00004, kDenomRel = 0x00008, kRatioDefault = kCancel } |
Options for ratios. More... | |
enum | { kUsedBit = (1 << 18), kOnlyWeightBit = (1 << 19) } |
typedef TGraphAsymmErrors | Graph |
A short-hand type definition. More... | |
Public Member Functions | |
Bool_t | FindYandError (Double_t x, Bool_t cmn, Bool_t stat, Bool_t quad, Bool_t nosqrt, Double_t &y, Double_t &eyl, Double_t &eyh, Double_t &seyl, Double_t &seyh) const |
Find Y value and errors corresponding X. More... | |
Bool_t | FindYandError (Double_t x, Bool_t cmn, Bool_t stat, Bool_t quad, Bool_t nosqrt, Double_t &y, Double_t &eyl, Double_t &eyh) const |
Find Y value and errors corresponding X. More... | |
Double_t | GetYandError (Int_t i, Bool_t cmn, Bool_t stat, Bool_t quad, Bool_t nosqrt, Double_t &eyl, Double_t &eyh) const |
Get the point value and low and high errors. More... | |
Double_t | GetYandError (Int_t i, Bool_t cmn, Bool_t stat, Bool_t quad, Bool_t nosqrt, Double_t &eyl, Double_t &eyh, Double_t &wyl, Double_t &wyh) const |
Get the point value and low and high errors. More... | |
Allocation, dealloction, copy, and assignment | |
GraphSysErr () | |
Default CTOR - use only for I/O. More... | |
GraphSysErr (Int_t n) | |
CTOR with number of points. More... | |
GraphSysErr (const char *name, const char *title, Int_t n=0) | |
Constructor with name, title, and optional pre-allocated size. More... | |
GraphSysErr (const GraphSysErr &other) | |
Copy CTOR. More... | |
virtual | ~GraphSysErr () |
DTOR. More... | |
GraphSysErr & | operator= (const GraphSysErr &other) |
Assignment operator. More... | |
TObject functions | |
virtual void | ls (Option_t *option="") const |
List the content. More... | |
virtual void | Print (Option_t *option="R") const |
Print this. More... | |
virtual Bool_t | IsFolder () const |
Say that this should be shown as a folder. More... | |
virtual void | Browse (TBrowser *b) |
Browse this object. More... | |
Drawing/Fitting | |
void | Draw (Option_t *option="") |
Draw this data. More... | |
TFitResultPtr | Fit (TF1 *f1, Option_t *fitOption, Option_t *drawOption, Axis_t min=0, Axis_t max=0) |
Fit a function to the data. More... | |
TFitResultPtr | Fit (const char *formula, Option_t *fitOption, Option_t *drawOption, Axis_t min=0, Axis_t max=0) |
Fit a function to the data. More... | |
TMultiGraph * | GetMulti (Option_t *option="") |
Get last drawn multigraph or create a new one. More... | |
Declaring systematic errors | |
UInt_t | DefineCommon (const char *title, Bool_t relative, Double_t ey, EDrawOption_t option=kFill) |
Define a common systematic error. More... | |
UInt_t | DefineCommon (const char *title, Bool_t relative, Double_t eyl, Double_t eyh, EDrawOption_t option=kRect) |
Define a common systematic error. More... | |
UInt_t | DeclarePoint2Point (const char *title, Bool_t relative, EDrawOption_t option=kBar) |
Delcare a point-to-point systematic error. More... | |
void | RemoveSysError (Int_t id) |
UInt_t | FindId (const char *title) const |
Find the ID of an error with the given title. More... | |
Int_t | GetNSys () const |
Setting the data and errors | |
void | SetPoint (Int_t i, Double_t x, Double_t y) |
Set the ith data point. More... | |
void | SetPointError (Int_t i, Double_t ex) |
Set the X error (bin width) of the ith point. More... | |
void | SetPointError (Int_t i, Double_t exl, Double_t exh) |
Set the X error (bin width) of the ith point. More... | |
void | SetStatRelative (Bool_t rel) |
Set whether statistical errors should be considered relative. More... | |
Bool_t | IsStatRelative () const |
Check if statistical errors are relative. More... | |
void | SetStatError (Int_t i, Double_t ey) |
Set the statistical error on the ith data point. More... | |
void | SetStatError (Int_t i, Double_t eyl, Double_t eyh) |
void | SetSysError (Int_t id, Double_t eyl, Double_t eyh) |
void | SetSysError (Int_t id, Int_t i, Double_t ex, Double_t ey) |
Set the systematic error identified by id on the ith data point. More... | |
void | SetSysError (Int_t id, Int_t i, Double_t exl, Double_t exh, Double_t eyl, Double_t eyh) |
Set the systematic error identified by id on the ith data point. More... | |
Setting drawing options | |
void | SetTitle (const char *name) |
Set the title of the data. More... | |
void | SetDataOption (EDrawOption_t opt) |
Set the draw option for the data and statistical errors. More... | |
void | SetXTitle (const char *title) |
Set title on X axis. More... | |
void | SetYTitle (const char *title) |
Set title on y axis. More... | |
Getting information | |
Int_t | GetN () const |
Double_t | GetX (Int_t p) const |
Double_t | GetErrorXLeft (Int_t p) const |
Double_t | GetErrorXRight (Int_t p) const |
Double_t | GetY (Int_t point) const |
Double_t | GetStatError (Int_t point) const |
Double_t | GetStatErrorUp (Int_t point) const |
Double_t | GetStatErrorDown (Int_t point) const |
Bool_t | IsCommon (Int_t id) const |
Bool_t | IsRelative (Int_t id) const |
Check if an error is relative. More... | |
Double_t | GetSysErrorX (Int_t id, Int_t point) const |
Double_t | GetSysErrorY (Int_t id, Int_t point) const |
Double_t | GetSysErrorXLeft (Int_t id, Int_t point) const |
Double_t | GetSysErrorXRight (Int_t id, Int_t point) const |
Double_t | GetSysErrorYUp (Int_t id, Int_t point) const |
Double_t | GetSysErrorYDown (Int_t id, Int_t point) const |
const char * | GetSysTitle (Int_t id) const |
Get title of systematic error. More... | |
Style_t | GetSysFillStyle (Int_t id) const |
Get fill style of systematic uncertainty. More... | |
Style_t | GetSysLineStyle (Int_t id) const |
Get line style of systematic uncertainty. More... | |
Color_t | GetSysFillColor (Int_t id) const |
Get fill color of systematic uncertainty. More... | |
Color_t | GetSysLineColor (Int_t id) const |
Get line color of systematic uncertainty. More... | |
Width_t | GetSysLineWidth (Int_t id) const |
Get line width of systematic uncertainty. More... | |
const char * | GetSumTitle () const |
Get title of summed systematic error. More... | |
UInt_t | GetSumOption () const |
Style_t | GetSumFillStyle () const |
Get fill style of sum systematic uncertainty. More... | |
Style_t | GetSumLineStyle () const |
Get line style of sum systematic uncertainty. More... | |
Color_t | GetSumFillColor () const |
Get fill color of sum systematic uncertainty. More... | |
Color_t | GetSumLineColor () const |
Get line color of sum systematic uncertainty. More... | |
Width_t | GetSumLineWidth () const |
Get line width of sum systematic uncertainty. More... | |
const char * | GetCommonSumTitle () const |
Get title of summed systematic error. More... | |
UInt_t | GetCommonSumOption () const |
Style_t | GetCommonSumFillStyle () const |
Get fill style of sum systematic uncertainty. More... | |
Style_t | GetCommonSumLineStyle () const |
Get line style of sum systematic uncertainty. More... | |
Color_t | GetCommonSumFillColor () const |
Get fill color of sum systematic uncertainty. More... | |
Color_t | GetCommonSumLineColor () const |
Get line color of sum systematic uncertainty. More... | |
Width_t | GetCommonSumLineWidth () const |
Get line width of sum systematic uncertainty. More... | |
Double_t | GetCommonErrorYUp (Int_t id) const |
Get the common systematic error. More... | |
Double_t | GetCommonErrorYDown (Int_t id) const |
Get the common systematic error. More... | |
const char * | GetXTitle () const |
Get name of X axis. More... | |
const char * | GetYTitle () const |
Get name of Y axis. More... | |
void | GetMinMax (Option_t *option, Double_t &ymin, Double_t &ymax) const |
Get minimum and maximum. More... | |
void | GetMinMax (Option_t *option, Double_t &ymin, Double_t &ymax, Double_t &xmin, Double_t &xmax, Int_t &imin, Int_t &imax) const |
Get minimum and maximum. More... | |
void | FindFwhm (Int_t start, Int_t dir, Double_t ymax, Bool_t cmn, Bool_t stat, Bool_t quad, Int_t &i1, Int_t &i2) const |
Find the full-width at half-maximum. More... | |
Double_t | FWHM (Double_t &el, Double_t &eh) const |
Calculate the full-width at half-maximum. More... | |
Double_t | FWHM (Double_t &el, Double_t &eh, Double_t &xl, Double_t &xh) const |
Calculate the full-width at half-maximum. More... | |
Double_t | MeanX (Double_t &error, Bool_t cmn=false, Bool_t stat=true, Bool_t quad=true) const |
Calculate the mean along X. More... | |
Double_t | MeanX (Bool_t cmn=false, Bool_t stat=true, Bool_t quad=true) const |
Calculate the mean along X. More... | |
Double_t | StandardDeviationX (Double_t &error, Bool_t cmn=false, Bool_t stat=true, Bool_t quad=true) const |
Calculate the standard deviatin along X. More... | |
Double_t | StandardDeviationX (Bool_t cmn=false, Bool_t stat=true, Bool_t quad=true) const |
Calculate the standard deviatin along X. More... | |
Double_t | StandardDeviationXMean (Double_t mean, Double_t &error, Bool_t cmn=false, Bool_t stat=true, Bool_t quad=true) const |
void | StatisticsX (Double_t &meanX, Double_t &stdDevX, Double_t &n, Bool_t cmn=false, Bool_t stat=true, Bool_t quad=true) const |
Calculates the statistics of X. More... | |
Setting attributes on systematic errors | |
void | SetSysLineColor (Int_t id, Color_t color) |
Set the line color of the systematice error identified by ID. More... | |
void | SetSysLineStyle (Int_t id, Style_t style) |
Set the line style of the systematice error identified by ID. More... | |
void | SetSysLineWidth (Int_t id, Width_t width) |
Set the line width of the systematice error identified by ID. More... | |
void | SetSysFillColor (Int_t id, Color_t color) |
Set the fill color of the systematice error identified by ID. More... | |
void | SetSysFillStyle (Int_t id, Style_t style) |
Set the fill style of the systematice error identified by ID. More... | |
void | SetSysTitle (Int_t id, const char *name) |
Set the systematic error title. More... | |
void | SetSysOption (Int_t id, EDrawOption_t opt) |
Set the draw option for a specific systematic error. More... | |
Setting attributes on summed errors | |
void | SetSumOption (EDrawOption_t opt) |
Set the draw option for summed errors. More... | |
void | SetSumTitle (const char *title) |
Set the title uses for summed errors. More... | |
void | SetSumLineColor (Color_t color) |
Set the line color of the sumtematice error identified by ID. More... | |
void | SetSumLineStyle (Style_t style) |
Set the line style of the sumtematice error identified by ID. More... | |
void | SetSumLineWidth (Width_t width) |
Set the line width of the sumtematice error identified by ID. More... | |
void | SetSumFillColor (Color_t color) |
Set the fill color of the sumtematice error identified by ID. More... | |
void | SetSumFillStyle (Style_t style) |
Set the fill style of the sumtematice error identified by ID. More... | |
void | SetCommonSumOption (EDrawOption_t opt) |
Set the draw option for summed errors. More... | |
void | SetCommonSumTitle (const char *title) |
Set the title uses for summed errors. More... | |
void | SetCommonSumLineColor (Color_t color) |
Set the line color of the sumtematice error identified by ID. More... | |
void | SetCommonSumLineStyle (Style_t style) |
Set the line style of the sumtematice error identified by ID. More... | |
void | SetCommonSumLineWidth (Width_t width) |
Set the line width of the sumtematice error identified by ID. More... | |
void | SetCommonSumFillColor (Color_t color) |
Set the fill color of the sumtematice error identified by ID. More... | |
void | SetCommonSumFillStyle (Style_t style) |
Set the fill style of the sumtematice error identified by ID. More... | |
Key interface | |
void | SetKey (const char *key, const char *value, Bool_t replace=false) |
Set a key/value pair. More... | |
const char * | GetKey (const char *key) const |
Get (first) value of a key. More... | |
void | CopyKeys (const GraphSysErr *g, Option_t *option="fr") |
Copy key/value and qualifiers from one graph to this graph. More... | |
void | CopyAttr (const GraphSysErr *f) |
Qualifiers | |
void | AddQualifier (const TString &key, const TString &value, Bool_t replace=false) |
Adds a qualifier. More... | |
void | RemoveQualifier (const TString &key) |
Remove a qualifier. More... | |
const char * | GetQualifier (const char *name) const |
Get qualifier. More... | |
Static Public Member Functions | |
static Double_t | Round (Double_t v, Int_t p, Int_t &rexpo) |
Round number v to n significant digits. More... | |
Protected Member Functions | |
ClassDef (GraphSysErr, 4) | |
Calculations | |
void | SqrtPoint (Graph *g, Int_t i) |
Take the square root of the errors at point. More... | |
void | SqrtGraph (Graph *g) |
Take the square root of the errors. More... | |
Graphics | |
const char * | FormatOption (UInt_t opt) |
Parse options. More... | |
void | MakeDataGraph (Int_t n) |
Make our data graph. More... | |
Int_t | FindPoint (Double_t x, Int_t &i1, Int_t &i2, Double_t fac=1) const |
Find point (or possibly two points) that match X. More... | |
TMultiGraph * | MakeMulti (Option_t *option) |
Make our stack. More... | |
Internal searches | |
HolderP2P * | FindP2P (UInt_t id) const |
Find a point-2-point error graph. More... | |
HolderCommon * | FindCommon (UInt_t id) const |
Find a common error graph. More... | |
HolderCommon * | FindCompat (const HolderCommon *o, Double_t tol=1e-6, bool verb=false) const |
Find an error in this graph that is compatible with the passed error. More... | |
HolderP2P * | FindCompat (const HolderP2P *o, Bool_t verb=false) const |
Find an error in this graph that is compatible with the passed error. More... | |
Holder * | Find (UInt_t id) const |
Find any error. More... | |
Static Protected Member Functions | |
static void | SwapPoints (Graph *g, Int_t i, Int_t j, Bool_t reflect) |
Protected Attributes | |
TList | fPoint2Point |
List of graphs. More... | |
TList | fCommon |
List of common errors. More... | |
TGraphAsymmErrors * | fData |
Our data points. More... | |
TMultiGraph * | fDrawn |
The drawn graphs. More... | |
UInt_t | fCounter |
Counter. More... | |
TAttFill | fSumFill |
Attributes of summed errors. More... | |
TAttLine | fSumLine |
Attributes of summed errors. More... | |
TString | fSumTitle |
Title on summed errors. More... | |
UInt_t | fSumOption |
TAttFill | fCommonSumFill |
Attributes of summed errors. More... | |
TAttLine | fCommonSumLine |
Attributes of summed errors. More... | |
TString | fCommonSumTitle |
Title on summed errors. More... | |
UInt_t | fCommonSumOption |
UInt_t | fDataOption |
TString | fXTitle |
X title. More... | |
TString | fYTitle |
Y title. More... | |
TList * | fMap |
Map of keys. More... | |
TList * | fQualifiers |
List of qualifiers. More... | |
Bool_t | fStatRelative |
Whether statistical errors are relative. More... | |
Various operations | |
void | Scale (TF1 *f, Double_t s=1) |
Scale graph by a constant. More... | |
void | Scale (Double_t s) |
Scale graph by a constant. More... | |
Int_t | Average (const TCollection *others, Bool_t sep=true) |
Average one or more graphs. More... | |
Double_t | Integral (Double_t &error, Option_t *option="quad sum stat", UShort_t first=0, Short_t last=-1) |
Calculate the intergral and error on integral of the graph. More... | |
void | ClearUsed () const |
Clear bit we set during the processing. More... | |
void | RemovePoint (Int_t i) |
Remove a point from the graph. More... | |
void | SwapPoints (Int_t i, Int_t j, Bool_t reflect=false) |
Swap two points. More... | |
GraphSysErr * | Reflect (Double_t x0=0) const |
Make a copy of the graph, and reflect around x0. More... | |
Bool_t | Symmetrize (GraphSysErr *other) |
Symmetrice the other graph and store result here. More... | |
static Bool_t | NextPoint (Int_t i, const GraphSysErr *num, const GraphSysErr *denom, Double_t &x, Double_t &dY, Double_t &dEyl, Double_t &dEyh, Double_t &nY, Double_t &nEyl, Double_t &nEyh) |
Find the next point and for ratio. More... | |
static GraphSysErr * | Ratio (const GraphSysErr *num, const GraphSysErr *den, UInt_t flags=kRatioDefault, Double_t fac=1) |
Take the ratio of 2 graphs. More... | |
static Double_t | KolomogorovTest (const GraphSysErr *g1, const GraphSysErr *g2) |
Perform a Kolomogorov-Smironov test. More... | |
static Double_t | KolomogorovTest (const GraphSysErr *g1, const GraphSysErr *g2, Double_t &z) |
Perform a Kolomogorov-Smironov test. More... | |
static Int_t | CacheGraphs (const GraphSysErr *g1, const GraphSysErr *g2, TArrayD &a1y, TArrayD &a2y, TArrayD &a1e2, TArrayD &a2e2) |
Get the Y and error values for the two passed graphs. More... | |
static Double_t | ChisquareTest (const GraphSysErr *g1, const GraphSysErr *g2, EChi2Type type=kExperimentTruth) |
Calculate the test of equivilance between two graphs. More... | |
static Double_t | ChisquareTest (const GraphSysErr *g1, const GraphSysErr *g2, Int_t &ndf, EChi2Type type) |
Calculate the test of equivilance between two graphs. More... | |
Import/export | |
void | SavePrimitive (std::ostream &out, Option_t *option="") |
void | Save (const char *fileName) |
Save to a ROOT script. More... | |
void | Export (std::ostream &out=std::cout, Option_t *option="", Int_t nsign=2) |
Dump on stream a table suitable (After some editing) for uploading to the Durham database. More... | |
static void | EscapeLtx (TString &val, const TString &fill="") |
Utility to escape out TLatex stuff, and put '$...$' around LaTeX. More... | |
static void | Export (const TSeqCollection *col, std::ostream &out, Option_t *option="H", Int_t nsign=0) |
Export a set of data sets to a single table. More... | |
static TSeqCollection * | Import (const TString &fileName) |
Import all data sets from a Durham input formatted file. More... | |
static GraphSysErr * | Import (std::istream &in, UShort_t idx=0, UShort_t *nIdx=0) |
Import data from input formatted Durham database file. More... | |
Helpers for importing/exporting | |
static const char * | FormatKey (const char *key) |
static const char * | ExtractField (const TString &value, Int_t idx) |
Extract a field from a string. More... | |
static void | StoreQual (TList &quals, Int_t idx, const char *name, const char *val) |
Store a qualifier in a table. More... | |
static void | StoreQual (TList &quals, Int_t idx, TObject *q) |
Store a qualifier in a table. More... | |
static Int_t | ExportError (std::ostream &o, Double_t low, Double_t high, Bool_t nopm, Bool_t rel, Int_t nsign) |
Export an error. More... | |
static Double_t | RoundN (Double_t tens, Double_t tmp) |
Round number. More... | |
static TString & | Token (TObjArray *c, UShort_t idx, Bool_t verbose=true) |
Get the ith token from the array of tokens c. More... | |
static Bool_t | ImportError (const TString &s, Double_t &el, Double_t &eh, Bool_t &rel) |
Import errors from a string. More... | |
static Bool_t | ImportPoint (const TString &s, Double_t &v, Double_t &el, Double_t &eh, Bool_t &rel) |
Service function to import a point value (X or Y) with errors. More... | |
std::ostream & | ExportKey (std::ostream &out, const char *which, Bool_t alsoKey=true, const char *fill="<please fill in>") const |
Export all values of a key. More... | |
std::ostream & | ExportHeader (std::ostream &out, Bool_t alsoTop=false, Bool_t alsoComment=false, Int_t nsign=-1) const |
Export data set header, and possibly file header too. More... | |
std::ostream & | ExportPoint (std::ostream &out, Int_t i, Bool_t alsoX=true, Bool_t sysName=true, Int_t nsign=0) const |
Export a single point. More... | |
This class defines an (X,Y) with any number of error sources.
Sources that can be specified are
Systematic errors can be defined to relative to the point value or absolute numbers.
There are various options for drawing this data set (see Draw). A function can also be fitted to the data set, talking various kinds of errors into consideration (see Fit). The data set can be export to a format more or less acceptable by the Durham database (see Export), and one can import data sets from Durham database input formatted files (see Import)
Definition at line 174 of file GraphSysErr.C.
typedef TGraphAsymmErrors GraphSysErr::Graph |
A short-hand type definition.
Definition at line 186 of file GraphSysErr.C.
anonymous enum |
Enumerator | |
---|---|
kDraw | |
kImport | |
kExport | |
kRatio | |
kVerbose |
Definition at line 178 of file GraphSysErr.C.
anonymous enum |
Enumerator | |
---|---|
kUsedBit | |
kOnlyWeightBit |
Definition at line 230 of file GraphSysErr.C.
Types of comparisons.
See also
https://root.cern.ch/root/htmldoc/TH1#TH1:Chi2Test
Enumerator | |
---|---|
kExperimentExperiment | |
kExperimentModel | |
kModelModel | |
kExperimentTruth |
Definition at line 209 of file GraphSysErr.C.
Drawing options.
We re-encode them here as distinct enums.
Enumerator | |
---|---|
kNormal | |
kNoTick | |
kArrow | |
kRect | |
kBox | |
kFill | |
kCurve | |
kHat | |
kBar | |
kNone | |
kLine | |
kConnect |
Definition at line 190 of file GraphSysErr.C.
Options for ratios.
Enumerator | |
---|---|
kMax | |
kMin | |
kCancel | |
kDenomRel | |
kRatioDefault |
Definition at line 223 of file GraphSysErr.C.
|
inline |
Default CTOR - use only for I/O.
Definition at line 241 of file GraphSysErr.C.
Referenced by Example(), Import(), Ratio(), Reflect(), and Symmetrize().
|
inline |
CTOR with number of points.
n | Number of points to pre-allocate |
Definition at line 273 of file GraphSysErr.C.
References fCommon, fPoint2Point, and MakeDataGraph().
|
inline |
Constructor with name, title, and optional pre-allocated size.
name | Name |
title | Title |
n | Pre-allocated points |
Definition at line 311 of file GraphSysErr.C.
References fCommon, fPoint2Point, and MakeDataGraph().
|
inline |
Copy CTOR.
other | Object to copy from |
Definition at line 347 of file GraphSysErr.C.
References CopyKeys(), fCommon, fCounter, fData, and fPoint2Point.
|
inlinevirtual |
DTOR.
Definition at line 400 of file GraphSysErr.C.
References fCommon, fData, fDrawn, fMap, fPoint2Point, and fQualifiers.
|
inline |
Adds a qualifier.
key | The key |
value | he value |
replace | If true, replace exsiting value |
Definition at line 4749 of file GraphSysErr.C.
References fQualifiers, and SetTitle().
Referenced by CopyKeys(), Example(), and Import().
|
inline |
Average one or more graphs.
The resulting graph is the weighted mean of the input graphs. Common systematic errors common to all input graphs can be specified before hand.
All other errors are taken in to account and are propagated to point-to-point errors.
others | List of graphs |
sep | If true, then try to separate out point-to-point errors. |
Definition at line 1003 of file GraphSysErr.C.
References GraphSysErr::Combiner::Add(), GraphSysErr::Combiner::Calculate(), ClearUsed(), CopyKeys(), DeclarePoint2Point(), DefineCommon(), fCommon, GraphSysErr::Combiner::Observation::fEh, GraphSysErr::Combiner::Observation::fEl, FindCommon(), FindCompat(), FindP2P(), FindPoint(), fPoint2Point, GraphSysErr::Combiner::fResult, GraphSysErr::Combiner::Observation::fX, GetErrorXLeft(), GetErrorXRight(), GetN(), GetStatErrorDown(), GetStatErrorUp(), GetSysErrorYDown(), GetSysErrorYUp(), GetX(), GetY(), GetYandError(), GraphSysErr::HolderP2P::GetYDown(), GraphSysErr::HolderCommon::GetYDown(), GraphSysErr::HolderP2P::GetYUp(), GraphSysErr::HolderCommon::GetYUp(), IsRelative(), GraphSysErr::Holder::IsRelative(), IsStatRelative(), kBox, kOnlyWeightBit, kUsedBit, Print(), GraphSysErr::HolderP2P::Set(), SetPoint(), SetPointError(), SetStatError(), SetSysError(), SetSysFillColor(), SetSysFillStyle(), and SetSysLineColor().
|
inlinevirtual |
Browse this object.
b | Browser to use |
Definition at line 676 of file GraphSysErr.C.
References fCommon, fData, fDrawn, fMap, fPoint2Point, and fQualifiers.
|
inlinestatic |
Get the Y and error values for the two passed graphs.
The graphs are evaluated at the X values of Graph 1. This is used for Chi square and Kolomogorov-Smirnov tests
g1 | Graph 1 |
g2 | Graph 2 |
a1y | Y values of Graph 1 |
a2y | Y values of Graph 2 evaluated at X of Graph1 |
a1e2 | Y-error values of Graph 1 |
a2e2 | Y-error values of Graph 2 evaluated at X of Graph1 |
Definition at line 2121 of file GraphSysErr.C.
References GetN(), and NextPoint().
Referenced by ChisquareTest(), and KolomogorovTest().
|
inlinestatic |
Calculate the test of equivilance between two graphs.
See also
https://root.cern.ch/root/htmldoc/TH1#TH1:Chi2Test
g1 | First graph |
g2 | Second graph |
type | Type |
Definition at line 2174 of file GraphSysErr.C.
|
inlinestatic |
Calculate the test of equivilance between two graphs.
See also
https://root.cern.ch/root/htmldoc/TH1#TH1:Chi2Test
g1 | First graph |
g2 | Second graph |
ndf | On return, number degrees of freedom |
type | Type |
Definition at line 2194 of file GraphSysErr.C.
References CacheGraphs(), kExperimentExperiment, kExperimentModel, kExperimentTruth, and kModelModel.
|
protected |
|
inline |
Clear bit we set during the processing.
Definition at line 2030 of file GraphSysErr.C.
References fCommon, fPoint2Point, kOnlyWeightBit, and kUsedBit.
|
inline |
Definition at line 4701 of file GraphSysErr.C.
References fCommonSumOption, fDataOption, fSumOption, GetCommonSumFillColor(), GetCommonSumFillStyle(), GetCommonSumLineColor(), GetCommonSumLineStyle(), GetCommonSumLineWidth(), GetCommonSumTitle(), GetSumFillColor(), GetSumFillStyle(), GetSumLineColor(), GetSumLineStyle(), GetSumLineWidth(), GetSumTitle(), GetXTitle(), GetYTitle(), SetCommonSumFillColor(), SetCommonSumFillStyle(), SetCommonSumLineColor(), SetCommonSumLineStyle(), SetCommonSumLineWidth(), SetCommonSumTitle(), SetSumFillColor(), SetSumFillStyle(), SetSumLineColor(), SetSumLineStyle(), SetSumLineWidth(), SetSumTitle(), SetXTitle(), and SetYTitle().
Referenced by Ratio().
|
inline |
Copy key/value and qualifiers from one graph to this graph.
g | Graph to copy from |
option | Options specifying what to copy |
Definition at line 4651 of file GraphSysErr.C.
References AddQualifier(), fMap, fQualifiers, GetQualifier(), and SetKey().
Referenced by Average(), GraphSysErr(), Import(), and Ratio().
|
inline |
Delcare a point-to-point systematic error.
title | Title |
relative | Relative error mission |
option | Options |
Example of how make declare point-to-point errors
Definition at line 3383 of file GraphSysErr.C.
References fCounter, and fPoint2Point.
Referenced by Average(), Example(), Import(), Ratio(), and Symmetrize().
|
inline |
Define a common systematic error.
title | Title of error |
relative | True if this relative to data |
ey | Error |
option | Options |
Example of how make define common errors
Definition at line 3340 of file GraphSysErr.C.
|
inline |
Define a common systematic error.
title | Title of error |
relative | True if this relative to data |
eyl | Error |
eyh | Error |
option | Options |
Definition at line 3356 of file GraphSysErr.C.
References fCommon, fCounter, and GraphSysErr::HolderCommon::Set().
|
inline |
Draw this data.
Options:
If option COMMON isn't given and neither MIN nor MAX is not given, then the common errors are displayed near the middle of the Y range
some examples are shown in the image below
A function to set-up an object
A function to make a canvs
Function to draw the stuff
Some utilies
Steering function to do all tests
The various ways we can draw the data
First, combining all systematic errors
Then, stacking all systematics.
We can also combine all errors
We can also stack the errors
First, combining all errors
End of the tester class
The entry point for the script
Definition at line 781 of file GraphSysErr.C.
References fDrawn, fXTitle, fYTitle, and MakeMulti().
Referenced by Example().
|
inlinestatic |
Utility to escape out TLatex stuff, and put '$...$' around LaTeX.
val | String to modify |
fill | If val is null, use this value |
Definition at line 2668 of file GraphSysErr.C.
Referenced by Export().
|
inline |
Dump on stream a table suitable (After some editing) for uploading to the Durham database.
If one has many objects that should be uploaded together, one can do
out | Output stream to write to. |
option | Options |
nsign | Number of significant digits on errors |
Definition at line 2602 of file GraphSysErr.C.
References EscapeLtx(), ExportError(), ExportHeader(), ExportPoint(), fCommon, FormatKey(), fQualifiers, fXTitle, fYTitle, GetN(), GraphSysErr::HolderCommon::GetYDown(), GraphSysErr::HolderCommon::GetYUp(), and GraphSysErr::Holder::IsRelative().
|
inlinestatic |
Export a set of data sets to a single table.
All graphs must have the same format. The title of each graph is written as the "qual" field.
col | Collection of GraphSysErr objets |
out | Output stream |
option | Options |
nsign | Number of significant digits |
chekc if we have this error
Definition at line 2691 of file GraphSysErr.C.
References EscapeLtx(), ExportError(), ExportHeader(), ExportPoint(), fCommon, fData, FindId(), FormatKey(), fQualifiers, fXTitle, fYTitle, GetCommonErrorYDown(), GetCommonErrorYUp(), GetN(), GetX(), IsRelative(), and StoreQual().
|
inlinestaticprotected |
Export an error.
o | Output stream |
low | Low error |
high | High error |
nopm | If true, do not prefix symmetric errors with +/- |
rel | IF true, the error is relative |
nsign | Number of significant digits |
Definition at line 6985 of file GraphSysErr.C.
References Round().
Referenced by Export(), and ExportPoint().
|
inlineprotected |
Export data set header, and possibly file header too.
out | Output stream |
alsoTop | If true, export file header |
alsoComment | If true, also write out comment |
nsign | Number of significant digits |
Definition at line 6907 of file GraphSysErr.C.
References ExportKey(), FormatKey(), and GetKey().
Referenced by Export().
|
inlineprotected |
Export all values of a key.
out | Output stream |
which | Which key |
alsoKey | If true, output key value |
fill | Filler in case the key isn't defined |
Definition at line 6873 of file GraphSysErr.C.
References fMap, and FormatKey().
Referenced by ExportHeader().
|
inlineprotected |
Export a single point.
out | Output stream |
i | Point number |
alsoX | If true, also export X coordinate |
sysName | If true, export P2P names |
nsign | Number of significant digits |
Definition at line 7026 of file GraphSysErr.C.
References ExportError(), GraphSysErr::Combiner::fData, fPoint2Point, fStatRelative, GetStatErrorDown(), GetStatErrorUp(), GetX(), GetY(), GraphSysErr::HolderP2P::GetYDown(), GraphSysErr::HolderP2P::GetYUp(), GraphSysErr::Holder::IsRelative(), and Round().
Referenced by Export().
|
inlinestaticprotected |
Extract a field from a string.
value | The string |
idx | Which index |
Definition at line 6814 of file GraphSysErr.C.
Referenced by Import().
|
inlineprotected |
Find any error.
id | Identifier |
Definition at line 7853 of file GraphSysErr.C.
References fCommon, and FindP2P().
Referenced by GetSysFillColor(), GetSysFillStyle(), GetSysLineColor(), GetSysLineStyle(), GetSysLineWidth(), GetSysTitle(), SetSysFillColor(), SetSysFillStyle(), SetSysLineColor(), SetSysLineStyle(), SetSysLineWidth(), SetSysOption(), and SetSysTitle().
|
inlineprotected |
Find a common error graph.
id | identifier |
Definition at line 7734 of file GraphSysErr.C.
References fCommon.
Referenced by Average(), FindCompat(), GetCommonErrorYDown(), GetCommonErrorYUp(), GetSysErrorYDown(), GetSysErrorYUp(), IsCommon(), IsRelative(), Ratio(), RemoveSysError(), SetSysError(), and Symmetrize().
|
inlineprotected |
Find an error in this graph that is compatible with the passed error.
o | Test |
verb | Be verbose |
tol | Relative error tolerance |
Definition at line 7753 of file GraphSysErr.C.
References FindCommon(), FindId(), GraphSysErr::HolderCommon::GetYDown(), GraphSysErr::HolderCommon::GetYUp(), GraphSysErr::Holder::IsRelative(), and GraphSysErr::HolderCommon::Print().
Referenced by Average().
|
inlineprotected |
Find an error in this graph that is compatible with the passed error.
o | Test |
verb | Be verbose |
Definition at line 7820 of file GraphSysErr.C.
References FindId(), FindP2P(), and GraphSysErr::Holder::IsRelative().
|
inline |
Find the full-width at half-maximum.
start | Starting point |
dir | Direction (-1: to the left, +1: to the right) |
ymax | The maximum value |
cmn | Whether to include common systematics |
stat | Whether to include statistical errors |
quad | Whether to add in quadrature |
i1 | On return, the lower bound for found point |
i2 | On return, the upper bound for found point |
Definition at line 4044 of file GraphSysErr.C.
References GetN(), and GetYandError().
Referenced by FWHM().
|
inline |
Find the ID of an error with the given title.
title | Title |
Definition at line 3414 of file GraphSysErr.C.
References fCommon, and fPoint2Point.
Referenced by Export(), FindCompat(), Import(), Ratio(), and Symmetrize().
|
inlineprotected |
Find a point-2-point error graph.
id | identifier |
Definition at line 7717 of file GraphSysErr.C.
References fPoint2Point.
Referenced by Average(), Find(), FindCompat(), GetSysErrorX(), GetSysErrorXLeft(), GetSysErrorXRight(), GetSysErrorY(), GetSysErrorYDown(), GetSysErrorYUp(), Import(), IsRelative(), Ratio(), RemoveSysError(), and SetSysError().
|
inlineprotected |
Find point (or possibly two points) that match X.
x | X to mach |
i1 | On return, the two points |
i2 | On return, the two points |
fac | Factor on errors for searching |
Definition at line 7404 of file GraphSysErr.C.
References GetErrorXLeft(), GetErrorXRight(), GetN(), and GetX().
Referenced by Average(), FindYandError(), Ratio(), and Symmetrize().
|
inline |
Find Y value and errors corresponding X.
x | X value |
cmn | Include common errors |
stat | Include statistical error |
quad | Add errors in quadrature |
nosqrt | No not take square root of errors |
y | On return, the y value |
eyl | On return low error on y |
eyh | On return high error on y |
seyl | On return low error on y (with statistical errors) |
seyh | On return high error on y (with statistical errors) |
Definition at line 4815 of file GraphSysErr.C.
References fData, FindPoint(), GetStatErrorDown(), GetStatErrorUp(), and GetYandError().
Referenced by FindYandError(), NextPoint(), and Symmetrize().
|
inline |
Find Y value and errors corresponding X.
x | X value |
cmn | Include common errors |
stat | Include statistical error |
quad | Add errors in quadrature |
nosqrt | No not take square root of errors |
y | On return, the y value |
eyl | On return low error on y |
eyh | On return high error on y |
Definition at line 4881 of file GraphSysErr.C.
References FindYandError().
|
inline |
Fit a function to the data.
Which errors are considered depends on the options given in drawOption i.e.,
f1 | Pointer to function objet |
fitOption | The fit options (See TGraph::Fit) |
drawOption | Draw options (See Draw) |
min | Least X value to consider |
max | Largest X value to consider |
Definition at line 823 of file GraphSysErr.C.
References fDrawn, fXTitle, fYTitle, and MakeMulti().
|
inline |
Fit a function to the data.
Which errors are considered depends on the options given in drawOption i.e.,
formula | The fit formula |
fitOption | The fit options (See TGraph::Fit) |
drawOption | Draw options (See Draw) |
min | Least X value to consider |
max | Largest X value to consider |
Definition at line 891 of file GraphSysErr.C.
References Fit().
|
inlinestaticprotected |
Definition at line 6801 of file GraphSysErr.C.
Referenced by Export(), ExportHeader(), and ExportKey().
|
inlineprotected |
|
inline |
Calculate the full-width at half-maximum.
el | On return, lower error on FWHM |
eh | On return, higher error on FWHM |
Definition at line 4071 of file GraphSysErr.C.
|
inline |
Calculate the full-width at half-maximum.
el | On return, lower error on FWHM |
eh | On return, higher error on FWHM |
xl | On return, left-hand X value |
xh | On return, right-hand X value |
Definition at line 4086 of file GraphSysErr.C.
References GraphSysErr::Combiner::Add(), GraphSysErr::Combiner::Calculate(), GraphSysErr::Combiner::Observation::fEh, GraphSysErr::Combiner::Observation::fEl, FindFwhm(), GraphSysErr::Combiner::Observation::fX, GetErrorXLeft(), GetErrorXRight(), GetMinMax(), GetX(), GraphSysErr::Combiner::Result::Print(), and GraphSysErr::Combiner::Print().
|
inline |
Get the common systematic error.
Definition at line 3949 of file GraphSysErr.C.
References FindCommon(), GraphSysErr::HolderCommon::GetYDown(), and GraphSysErr::Holder::IsRelative().
Referenced by Export().
|
inline |
Get the common systematic error.
Definition at line 3937 of file GraphSysErr.C.
References FindCommon(), GraphSysErr::HolderCommon::GetYUp(), and GraphSysErr::Holder::IsRelative().
Referenced by Export().
|
inline |
Get fill color of sum systematic uncertainty.
Definition at line 3910 of file GraphSysErr.C.
References fCommonSumFill.
Referenced by CopyAttr().
|
inline |
Get fill style of sum systematic uncertainty.
Definition at line 3892 of file GraphSysErr.C.
References fCommonSumFill.
Referenced by CopyAttr().
|
inline |
Get line color of sum systematic uncertainty.
Definition at line 3919 of file GraphSysErr.C.
References fCommonSumLine.
Referenced by CopyAttr().
|
inline |
Get line style of sum systematic uncertainty.
Definition at line 3901 of file GraphSysErr.C.
References fCommonSumLine.
Referenced by CopyAttr().
|
inline |
Get line width of sum systematic uncertainty.
Definition at line 3928 of file GraphSysErr.C.
References fCommonSumLine.
Referenced by CopyAttr().
|
inline |
Definition at line 3886 of file GraphSysErr.C.
References fCommonSumOption.
|
inline |
Get title of summed systematic error.
Definition at line 3882 of file GraphSysErr.C.
References fCommonSumTitle.
Referenced by CopyAttr().
|
inline |
p | Point |
Definition at line 3611 of file GraphSysErr.C.
References fData.
Referenced by Average(), FindPoint(), FWHM(), GetYandError(), Integral(), Print(), Ratio(), SavePrimitive(), and Symmetrize().
|
inline |
p | Point |
Definition at line 3617 of file GraphSysErr.C.
References fData.
Referenced by Average(), FindPoint(), FWHM(), GetYandError(), Integral(), Print(), Ratio(), SavePrimitive(), and Symmetrize().
|
inline |
Get (first) value of a key.
key | Key |
Definition at line 4631 of file GraphSysErr.C.
References fMap.
Referenced by ExportHeader(), and SetKey().
|
inline |
Get minimum and maximum.
option | |
ymin | |
ymax |
Definition at line 3975 of file GraphSysErr.C.
Referenced by FWHM().
|
inline |
Get minimum and maximum.
option | Options |
ymin | On return, lease Y value |
ymax | On return, largest Y value |
xmin | On return, X value corresponding to least Y value |
xmax | On return, X value corresponding to largest Y value |
imin | On return, point number corresponding to lesat Y value |
imax | On return, point number corresponding to largest Y value |
Definition at line 3993 of file GraphSysErr.C.
References GetN(), GetX(), GetY(), and GetYandError().
|
inline |
Get last drawn multigraph or create a new one.
option | Options |
Definition at line 914 of file GraphSysErr.C.
References fDrawn, and MakeMulti().
|
inline |
Definition at line 3599 of file GraphSysErr.C.
References fData.
Referenced by Average(), CacheGraphs(), Export(), FindFwhm(), FindPoint(), GetMinMax(), Integral(), Print(), Ratio(), Reflect(), RemovePoint(), SavePrimitive(), Scale(), StatisticsX(), and Symmetrize().
|
inline |
Definition at line 3432 of file GraphSysErr.C.
References fCounter.
|
inline |
Get qualifier.
name | Key of qualifier |
Definition at line 4791 of file GraphSysErr.C.
References fQualifiers.
Referenced by CopyKeys().
|
inline |
point | Point |
Definition at line 3629 of file GraphSysErr.C.
References fData.
|
inline |
point | Point |
Definition at line 3644 of file GraphSysErr.C.
References fData.
Referenced by Average(), ExportPoint(), FindYandError(), GetYandError(), Print(), Ratio(), SavePrimitive(), Scale(), and Symmetrize().
|
inline |
point | Point |
Definition at line 3635 of file GraphSysErr.C.
References fData.
Referenced by Average(), ExportPoint(), FindYandError(), GetYandError(), Print(), Ratio(), SavePrimitive(), Scale(), and Symmetrize().
|
inline |
Get fill color of sum systematic uncertainty.
Definition at line 3855 of file GraphSysErr.C.
References fSumFill.
Referenced by CopyAttr().
|
inline |
Get fill style of sum systematic uncertainty.
Definition at line 3837 of file GraphSysErr.C.
References fSumFill.
Referenced by CopyAttr().
|
inline |
Get line color of sum systematic uncertainty.
Definition at line 3864 of file GraphSysErr.C.
References fSumLine.
Referenced by CopyAttr().
|
inline |
Get line style of sum systematic uncertainty.
Definition at line 3846 of file GraphSysErr.C.
References fSumLine.
Referenced by CopyAttr().
|
inline |
Get line width of sum systematic uncertainty.
Definition at line 3873 of file GraphSysErr.C.
References fSumLine.
Referenced by CopyAttr().
|
inline |
Definition at line 3831 of file GraphSysErr.C.
References fSumOption.
|
inline |
Get title of summed systematic error.
Definition at line 3827 of file GraphSysErr.C.
References fSumTitle.
Referenced by CopyAttr().
|
inline |
id | |
point | Point |
Definition at line 3674 of file GraphSysErr.C.
References FindP2P(), and GraphSysErr::HolderP2P::GetX().
|
inline |
id | |
point | Point |
Definition at line 3698 of file GraphSysErr.C.
References FindP2P(), and GraphSysErr::HolderP2P::GetXLeft().
Referenced by SavePrimitive().
|
inline |
id | |
point | Point |
Definition at line 3710 of file GraphSysErr.C.
References FindP2P(), and GraphSysErr::HolderP2P::GetXRight().
Referenced by SavePrimitive().
|
inline |
id | |
point | Point |
Definition at line 3686 of file GraphSysErr.C.
References FindP2P(), and GraphSysErr::HolderP2P::GetY().
Referenced by Symmetrize().
|
inline |
id | |
point | Point |
Definition at line 3736 of file GraphSysErr.C.
References FindCommon(), FindP2P(), GetY(), GraphSysErr::HolderP2P::GetYDown(), and GraphSysErr::HolderCommon::GetYDown().
Referenced by Average(), and SavePrimitive().
|
inline |
id | |
point | Point |
Definition at line 3722 of file GraphSysErr.C.
References FindCommon(), FindP2P(), GetY(), GraphSysErr::HolderP2P::GetYUp(), and GraphSysErr::HolderCommon::GetYUp().
Referenced by Average(), and SavePrimitive().
|
inline |
Get fill color of systematic uncertainty.
id | Identifier |
Definition at line 3790 of file GraphSysErr.C.
References Find().
|
inline |
Get fill style of systematic uncertainty.
id | Identifier |
Definition at line 3764 of file GraphSysErr.C.
References Find().
|
inline |
Get line color of systematic uncertainty.
id | Identifier |
Definition at line 3803 of file GraphSysErr.C.
References Find().
|
inline |
Get line style of systematic uncertainty.
id | Identifier |
Definition at line 3777 of file GraphSysErr.C.
References Find().
|
inline |
Get line width of systematic uncertainty.
id | Identifier |
Definition at line 3816 of file GraphSysErr.C.
References Find().
|
inline |
Get title of systematic error.
id | Identifier |
Definition at line 3751 of file GraphSysErr.C.
References Find().
|
inline |
p | Point |
Definition at line 3605 of file GraphSysErr.C.
References fData.
Referenced by Average(), Export(), ExportPoint(), FindPoint(), FWHM(), GetMinMax(), Integral(), NextPoint(), Print(), Ratio(), SavePrimitive(), Scale(), StatisticsX(), and Symmetrize().
|
inline |
Get name of X axis.
Definition at line 3961 of file GraphSysErr.C.
References fXTitle.
Referenced by CopyAttr().
|
inline |
point | Point |
Definition at line 3623 of file GraphSysErr.C.
References fData.
Referenced by Average(), ExportPoint(), GetMinMax(), GetSysErrorYDown(), GetSysErrorYUp(), Ratio(), SavePrimitive(), Scale(), and Symmetrize().
|
inline |
Get the point value and low and high errors.
i | Point number |
cmn | Consider commons |
stat | Consider statistics |
quad | Add in quadrature |
nosqrt | Do not take square root in case quad=true |
eyl | Output: Low error |
eyh | Output: high error |
Definition at line 6602 of file GraphSysErr.C.
Referenced by Average(), FindFwhm(), FindYandError(), GetMinMax(), Integral(), NextPoint(), Print(), Ratio(), StatisticsX(), and Symmetrize().
|
inline |
Get the point value and low and high errors.
Errors that have been marked as used (kUsedBit) are not considered. Errors marked as only for weights (kWeightsOnlyBit) are only factored in on the weights (weyl, weyh) calculation. Statistical errors are always factored in on the calculation of weights.
i | Point number |
cmn | Consider commons |
stat | Consider statistics |
quad | Add in quadrature |
nosqrt | Do not take square root in case quad=true |
eyl | Output: Low error |
eyh | Output: high error |
wyl | Output: Low weight |
wyh | Output: high weight |
Definition at line 6633 of file GraphSysErr.C.
References fCommon, GraphSysErr::Combiner::fData, fPoint2Point, fSumOption, GetErrorXLeft(), GetErrorXRight(), GetStatErrorDown(), GetStatErrorUp(), kOnlyWeightBit, kUsedBit, GraphSysErr::HolderP2P::SumPointError(), GraphSysErr::HolderCommon::SumPointError(), and GraphSysErr::Holder::XMode().
|
inline |
Get name of Y axis.
Definition at line 3967 of file GraphSysErr.C.
References fYTitle.
Referenced by CopyAttr().
|
inlinestatic |
Import all data sets from a Durham input formatted file.
The data sets are returned in a flat collection. The collection owns the contained the objects and it is the responsibility of the caller to manage the returned collection.
The returned GraphSysErr objects are named like
* ds_INDEX_SUB-INDEX *
fileName | Name of file to read. |
Definition at line 2983 of file GraphSysErr.C.
References CopyKeys(), kImport, and kVerbose.
|
inlinestatic |
Import data from input formatted Durham database file.
The source input file of the above graph is
To read multiple graphs, use GraphSysErr::Import(const TString&)
in | Input stream |
idx | Column of data set to import. |
nIdx | If non-null, holds the number of available columns on return. |
Definition at line 3033 of file GraphSysErr.C.
References AddQualifier(), DeclarePoint2Point(), DefineCommon(), ExtractField(), FindId(), FindP2P(), GraphSysErr(), ImportError(), ImportPoint(), GraphSysErr::Holder::IsRelative(), IsStatRelative(), kImport, kRect, kVerbose, SetKey(), SetPoint(), SetPointError(), SetStatError(), SetStatRelative(), SetSysError(), SetSysFillColor(), SetSysFillStyle(), SetSysLineColor(), SetTitle(), SetXTitle(), SetYTitle(), and Token().
|
inlinestaticprotected |
Import errors from a string.
s | String to parse |
el | On return, the low error |
eh | On return, the high error |
rel | On returm, true if relative |
Definition at line 7191 of file GraphSysErr.C.
References Token().
Referenced by Import().
|
inlinestaticprotected |
Service function to import a point value (X or Y) with errors.
s | String to parse |
v | On return, the value |
el | On return, the lower error |
eh | On return, the higher error |
rel | On return, true if the errors are relative to the value |
Definition at line 7255 of file GraphSysErr.C.
References Token().
Referenced by Import().
|
inline |
Calculate the intergral and error on integral of the graph.
error | On return, the error on the integral |
option | What to take into account (see Draw) |
first | First point to evalute at |
last | Last point to evaluate at |
Definition at line 1514 of file GraphSysErr.C.
References GetErrorXLeft(), GetErrorXRight(), GetN(), GetX(), and GetYandError().
|
inline |
Definition at line 3648 of file GraphSysErr.C.
References FindCommon().
|
inlinevirtual |
Say that this should be shown as a folder.
Definition at line 670 of file GraphSysErr.C.
|
inline |
Check if an error is relative.
id |
Definition at line 3660 of file GraphSysErr.C.
References FindCommon(), FindP2P(), and GraphSysErr::Holder::IsRelative().
Referenced by Average(), Export(), GraphSysErr::Holder::Print(), GraphSysErr::HolderCommon::Print(), Ratio(), and GraphSysErr::HolderP2P::SavePrimitive().
|
inline |
Check if statistical errors are relative.
Definition at line 3488 of file GraphSysErr.C.
References fStatRelative.
Referenced by Average(), Import(), and SavePrimitive().
|
inlinestatic |
Perform a Kolomogorov-Smironov test.
See als
https://root.cern.ch/root/htmldoc/TH1#TH1:KolmogorovTest
g1 | First graph. |
g2 | Second graph |
Definition at line 2055 of file GraphSysErr.C.
|
inlinestatic |
Perform a Kolomogorov-Smironov test.
See als
https://root.cern.ch/root/htmldoc/TH1#TH1:KolmogorovTest
g1 | First graph. |
g2 | Second graph |
z | On return, Kolomogorov-Smirnov test statistic |
Definition at line 2072 of file GraphSysErr.C.
References CacheGraphs().
|
inlinevirtual |
List the content.
option | option (not used) |
Definition at line 483 of file GraphSysErr.C.
References Print().
|
inlineprotected |
Make our data graph.
n | Optional number of pre-allocated points |
Definition at line 7388 of file GraphSysErr.C.
References GraphSysErr::Combiner::fData.
Referenced by GraphSysErr().
|
inlineprotected |
Make our stack.
option | Options - See method Draw for more |
Definition at line 7472 of file GraphSysErr.C.
References GraphSysErr::HolderCommon::BarError(), fCommon, fCommonSumFill, fCommonSumLine, fCommonSumOption, GraphSysErr::Combiner::fData, fDataOption, FormatOption(), fPoint2Point, fSumFill, fSumLine, fSumOption, fSumTitle, GraphSysErr::Holder::GetDOption(), kDraw, kVerbose, SqrtGraph(), SqrtPoint(), GraphSysErr::Holder::StackError(), GraphSysErr::Holder::SumError(), GraphSysErr::HolderCommon::SumPointError(), and GraphSysErr::Holder::XMode().
Referenced by Draw(), Fit(), and GetMulti().
|
inline |
Calculate the mean along X.
The strategy used here is the same as for TH1::GetMean - that is the weighted average using the Y values as weights.
If both the mean and standard deviation are needed, one can use the function StatisticsX directly, and calculate the errors as outlined there.
error | On return, the error on the mean |
cmn | If true, use common uncertainties |
stat | If true, use statistical errors |
quad | If true, add in quadrature |
Definition at line 4184 of file GraphSysErr.C.
References StatisticsX().
Referenced by MeanX().
|
inline |
Calculate the mean along X.
The strategy used here is the same as for TH1::GetMean - that is the weighted average using the Y values as weights.
If both the mean and standard deviation are needed, one can use the function StatisticsX directly, and calculate the errors as outlined there.
cmn | If true, use common uncertainties |
stat | If true, use statistical errors |
quad | If true, add in quadrature |
Definition at line 4209 of file GraphSysErr.C.
References MeanX().
|
inlinestatic |
Find the next point and for ratio.
i | Point numver |
num | Numerator |
denom | Denominator |
x | On return, the X value |
dY | On return, the denominator Y |
dEyl | On return, the denominator lower error on Y |
dEyh | On return, the denominator upper error on Y |
nY | On return, the numerator Y |
nEyl | On return, the numerator lower error on Y |
nEyh | On return, the numerator upper error on Y |
Definition at line 1566 of file GraphSysErr.C.
References FindYandError(), GetX(), and GetYandError().
Referenced by CacheGraphs().
|
inline |
Assignment operator.
other | Object to copy from |
Definition at line 416 of file GraphSysErr.C.
References fCommon, fCommonSumFill, fCommonSumLine, fCommonSumOption, fCommonSumTitle, fCounter, fData, fDrawn, fMap, fPoint2Point, fQualifiers, fStatRelative, fSumFill, fSumLine, fSumOption, fSumTitle, fXTitle, and fYTitle.
|
inlinevirtual |
Print this.
option | not used |
Definition at line 492 of file GraphSysErr.C.
References fCommon, fCommonSumFill, fCommonSumLine, fCommonSumOption, fCommonSumTitle, fDataOption, fMap, fPoint2Point, fQualifiers, fSumFill, fSumLine, fSumOption, fSumTitle, fXTitle, fYTitle, GetErrorXLeft(), GetErrorXRight(), GetN(), GetStatErrorDown(), GetStatErrorUp(), GetX(), GetYandError(), GraphSysErr::HolderP2P::GetYDown(), GraphSysErr::HolderP2P::GetYUp(), and GraphSysErr::Holder::IsRelative().
Referenced by Average(), ls(), and Symmetrize().
|
inlinestatic |
Take the ratio of 2 graphs.
num | Numerator |
den | Denominator |
flags | Flags for the ratio calculation. See also ERatioOption. |
fac | Factor for searching points |
Definition at line 1598 of file GraphSysErr.C.
References ClearUsed(), CopyAttr(), GraphSysErr::Holder::CopyAttr(), CopyKeys(), DeclarePoint2Point(), DefineCommon(), fCommon, FindCommon(), FindId(), FindP2P(), FindPoint(), fPoint2Point, GetErrorXLeft(), GetErrorXRight(), GetN(), GetStatErrorDown(), GetStatErrorUp(), GetX(), GetY(), GetYandError(), GraphSysErr::HolderP2P::GetYDown(), GraphSysErr::HolderCommon::GetYDown(), GraphSysErr::HolderP2P::GetYUp(), GraphSysErr::HolderCommon::GetYUp(), GraphSysErr(), IsRelative(), GraphSysErr::Holder::IsRelative(), kBox, kCancel, kDenomRel, kMax, kMin, kRatio, kUsedBit, kVerbose, SetPoint(), SetPointError(), SetStatError(), and SetSysError().
|
inline |
Make a copy of the graph, and reflect around x0.
x0 | Where to reflect around |
Definition at line 2301 of file GraphSysErr.C.
References GetN(), GraphSysErr(), and SwapPoints().
|
inline |
Remove a point from the graph.
i | Point to remove |
Definition at line 2267 of file GraphSysErr.C.
References fData, GraphSysErr::HolderP2P::fGraph, fPoint2Point, and GetN().
|
inline |
Remove a qualifier.
key | Which to remove |
Definition at line 4776 of file GraphSysErr.C.
References fQualifiers.
|
inline |
Definition at line 3394 of file GraphSysErr.C.
References fCommon, FindCommon(), FindP2P(), and fPoint2Point.
Referenced by Symmetrize().
|
inlinestatic |
Round number v to n significant digits.
It returns the mantisa and the exponent. To calculate the number, do
If one has a value x and and associated error dx, one can use this function to format the pair:
For asymmetric errors, this would be
v | Value to round |
p | Number of signficant digits |
rexpo | On return, the exponent |
Definition at line 6739 of file GraphSysErr.C.
References RoundN().
Referenced by ExportError(), and ExportPoint().
|
inlinestaticprotected |
Round number.
tens is the scaling divisor to convert tmp into an integer with n significant digits.
The algorightm looks at the n+1 significant digit d, and depending on the value of that, it does one of the following:
tens | The scaling of the number to integer |
tmp | The absolute value of the number |
Definition at line 7138 of file GraphSysErr.C.
Referenced by Round().
|
inline |
Save to a ROOT script.
fileName | Script to write to |
Definition at line 2557 of file GraphSysErr.C.
References SavePrimitive().
|
inline |
Definition at line 2450 of file GraphSysErr.C.
References fCommon, fCommonSumFill, fCommonSumLine, fCommonSumOption, fCommonSumTitle, fDataOption, fDrawn, fPoint2Point, fStatRelative, fSumFill, fSumLine, fSumOption, fSumTitle, fXTitle, fYTitle, GetErrorXLeft(), GetErrorXRight(), GetN(), GetStatErrorDown(), GetStatErrorUp(), GetSysErrorXLeft(), GetSysErrorXRight(), GetSysErrorYDown(), GetSysErrorYUp(), GetX(), GetY(), GraphSysErr::Holder::IsRelative(), IsStatRelative(), GraphSysErr::HolderP2P::SavePrimitive(), and GraphSysErr::HolderCommon::SavePrimitive().
Referenced by Save().
|
inline |
Scale graph by a constant.
f | Function |
s | Constant for non-relative common errors |
Definition at line 930 of file GraphSysErr.C.
References fCommon, fPoint2Point, GetN(), GetStatErrorDown(), GetStatErrorUp(), GetX(), GraphSysErr::HolderP2P::GetXLeft(), GraphSysErr::HolderP2P::GetXRight(), GetY(), GraphSysErr::HolderP2P::GetYDown(), GraphSysErr::HolderCommon::GetYDown(), GraphSysErr::HolderP2P::GetYUp(), GraphSysErr::HolderCommon::GetYUp(), GraphSysErr::Holder::IsRelative(), GraphSysErr::HolderCommon::Set(), SetPoint(), SetStatError(), and SetSysError().
|
inline |
Scale graph by a constant.
s |
Definition at line 963 of file GraphSysErr.C.
References fCommon, fPoint2Point, GetN(), GetStatErrorDown(), GetStatErrorUp(), GetX(), GraphSysErr::HolderP2P::GetXLeft(), GraphSysErr::HolderP2P::GetXRight(), GetY(), GraphSysErr::HolderP2P::GetYDown(), GraphSysErr::HolderCommon::GetYDown(), GraphSysErr::HolderP2P::GetYUp(), GraphSysErr::HolderCommon::GetYUp(), GraphSysErr::Holder::IsRelative(), GraphSysErr::HolderCommon::Set(), SetPoint(), SetStatError(), and SetSysError().
|
inline |
Set the fill color of the sumtematice error identified by ID.
color | Fill color |
Definition at line 4511 of file GraphSysErr.C.
References fCommonSumFill.
Referenced by CopyAttr().
|
inline |
Set the fill style of the sumtematice error identified by ID.
style | Fill style |
Definition at line 4517 of file GraphSysErr.C.
References fCommonSumFill.
Referenced by CopyAttr().
|
inline |
Set the line color of the sumtematice error identified by ID.
color | Line Color |
Definition at line 4493 of file GraphSysErr.C.
References fCommonSumLine.
Referenced by CopyAttr().
|
inline |
Set the line style of the sumtematice error identified by ID.
style | Line style |
Definition at line 4499 of file GraphSysErr.C.
References fCommonSumLine.
Referenced by CopyAttr().
|
inline |
Set the line width of the sumtematice error identified by ID.
width | Line width in pixels |
Definition at line 4505 of file GraphSysErr.C.
References fCommonSumLine.
Referenced by CopyAttr().
|
inline |
Set the draw option for summed errors.
opt | Draw option |
Definition at line 4481 of file GraphSysErr.C.
References fCommonSumOption.
|
inline |
Set the title uses for summed errors.
title | Title |
Definition at line 4487 of file GraphSysErr.C.
References fCommonSumTitle.
Referenced by CopyAttr().
|
inline |
Set the draw option for the data and statistical errors.
opt | Draw option |
Definition at line 3576 of file GraphSysErr.C.
References fDataOption.
Referenced by Example().
|
inline |
Set a key/value pair.
This can be used to fill out fields in a Durham input file for uploading.
File Keys
Data-set keys
At least one qual line will be written with the title of the data set as the Y value.
key | Key. |
value | Value. |
replace | If true, remove all values of key and set new value |
Definition at line 4577 of file GraphSysErr.C.
References fMap, GetKey(), and Token().
Referenced by CopyKeys(), Example(), and Import().
|
inline |
Set the ith data point.
i | |
x | |
y |
Definition at line 3447 of file GraphSysErr.C.
References fData.
Referenced by Average(), Example(), Import(), Ratio(), Scale(), and Symmetrize().
|
inline |
Set the X error (bin width) of the ith point.
i | Point |
ex | Error |
Definition at line 3458 of file GraphSysErr.C.
Referenced by Average(), Example(), Import(), Ratio(), and Symmetrize().
|
inline |
Set the X error (bin width) of the ith point.
i | Point |
exl | Lower error |
exh | Upper error |
Definition at line 3469 of file GraphSysErr.C.
References fData.
|
inline |
Set the statistical error on the ith data point.
i | Point number |
ey | Error on Y |
Definition at line 3495 of file GraphSysErr.C.
Referenced by Average(), Example(), Import(), Ratio(), Scale(), and Symmetrize().
|
inline |
Definition at line 3506 of file GraphSysErr.C.
References fData, and fStatRelative.
|
inline |
Set whether statistical errors should be considered relative.
rel | If true, statistical errors are specified relative to the y values. |
Definition at line 3482 of file GraphSysErr.C.
References fStatRelative.
Referenced by Import().
|
inline |
Set the fill color of the sumtematice error identified by ID.
color | Fill color |
Definition at line 4469 of file GraphSysErr.C.
References fSumFill.
Referenced by CopyAttr().
|
inline |
Set the fill style of the sumtematice error identified by ID.
style | Fill style |
Definition at line 4475 of file GraphSysErr.C.
References fSumFill.
Referenced by CopyAttr().
|
inline |
Set the line color of the sumtematice error identified by ID.
color | Line Color |
Definition at line 4451 of file GraphSysErr.C.
References fSumLine.
Referenced by CopyAttr(), and Example().
|
inline |
Set the line style of the sumtematice error identified by ID.
style | Line style |
Definition at line 4457 of file GraphSysErr.C.
References fSumLine.
Referenced by CopyAttr().
|
inline |
Set the line width of the sumtematice error identified by ID.
width | Line width in pixels |
Definition at line 4463 of file GraphSysErr.C.
References fSumLine.
Referenced by CopyAttr(), and Example().
|
inline |
Set the draw option for summed errors.
opt | Draw option |
Definition at line 4439 of file GraphSysErr.C.
References fSumOption.
Referenced by Example().
|
inline |
Set the title uses for summed errors.
title | Title |
Definition at line 4445 of file GraphSysErr.C.
References fSumTitle.
Referenced by CopyAttr(), and Example().
|
inline |
Definition at line 3518 of file GraphSysErr.C.
References FindCommon(), and GraphSysErr::HolderCommon::Set().
Referenced by Average(), Example(), Import(), Ratio(), Scale(), and Symmetrize().
|
inline |
Set the systematic error identified by id on the ith data point.
id | Systematic error identifier |
i | Point number (starting at 0) |
ex | X error |
ey | Y error |
Definition at line 3532 of file GraphSysErr.C.
References fData, FindP2P(), and GraphSysErr::HolderP2P::Set().
|
inline |
Set the systematic error identified by id on the ith data point.
id | Systematic error identifier |
i | Point number (starting at 0) |
exl | Left X error |
exh | Right X error |
eyl | Lower Y error |
eyh | Upper Y error |
Definition at line 3548 of file GraphSysErr.C.
References fData, FindP2P(), and GraphSysErr::HolderP2P::Set().
|
inline |
|
inline |
|
inline |
|
inline |
Set the line style of the systematice error identified by ID.
id | Systematic error identifier |
style | Line style |
Definition at line 4361 of file GraphSysErr.C.
References Find().
|
inline |
Set the line width of the systematice error identified by ID.
id | Systematic error identifier |
width | Line width |
Definition at line 4373 of file GraphSysErr.C.
References Find().
Referenced by Example().
|
inline |
Set the draw option for a specific systematic error.
id | Systematic error identifier |
opt | Draw option |
Definition at line 4421 of file GraphSysErr.C.
References Find(), and GraphSysErr::Holder::SetDOption().
Referenced by Example().
|
inline |
Set the systematic error title.
id | Systematic error identifier |
name | The title |
Definition at line 4409 of file GraphSysErr.C.
References Find().
|
inline |
Set the title of the data.
name | Title |
Definition at line 3566 of file GraphSysErr.C.
References fData.
Referenced by AddQualifier(), and Import().
|
inline |
Set title on X axis.
title |
Definition at line 3582 of file GraphSysErr.C.
References fXTitle.
Referenced by CopyAttr(), Example(), and Import().
|
inline |
Set title on y axis.
title |
Definition at line 3588 of file GraphSysErr.C.
References fYTitle.
Referenced by CopyAttr(), Example(), and Import().
|
inlineprotected |
Take the square root of the errors.
g | Graph |
Definition at line 7348 of file GraphSysErr.C.
References SqrtPoint().
Referenced by MakeMulti().
|
inlineprotected |
Take the square root of the errors at point.
g | Graph |
i | Point |
Definition at line 7331 of file GraphSysErr.C.
References kDraw, and kVerbose.
Referenced by MakeMulti(), and SqrtGraph().
|
inline |
Calculate the standard deviatin along X.
The strategy used here is the same as for TH1::GetMean - that is the weighted average using the Y values as weights.
If both the mean and standard deviation are needed, one can use the function StatisticsX directly, and calculate the errors as outlined there.
error | On return, the error on the standard deviation |
cmn | If true, use common uncertainties |
stat | If true, use statistical errors |
quad | If true, add in quadrature |
Definition at line 4232 of file GraphSysErr.C.
References StatisticsX().
Referenced by StandardDeviationX().
|
inline |
Calculate the standard deviatin along X.
The strategy used here is the same as for TH1::GetMean - that is the weighted average using the Y values as weights.
If both the mean and standard deviation are needed, one can use the function StatisticsX directly, and calculate the errors as outlined there.
cmn | If true, use common uncertainties |
stat | If true, use statistical errors |
quad | If true, add in quadrature |
Definition at line 4257 of file GraphSysErr.C.
References StandardDeviationX().
|
inline |
Definition at line 4264 of file GraphSysErr.C.
References StatisticsX().
|
inline |
Calculates the statistics of X.
The errors on and is given by
inf
(use TMath::Infinity()) to get the calculated mean back. Any other value will be taken as the mean for the reminder of the calculaitions. This is useful if one wants to calculate the standard deviation around some pre-determined mean rather than the sample mean.meanX | On return, |
stdDevX | On return, |
n | On return, (effective entries) |
cmn | If true, use common uncertainties |
stat | If true, use statistical errors |
quad | If true, add in quadrature |
Definition at line 4308 of file GraphSysErr.C.
References GetN(), GetX(), and GetYandError().
Referenced by MeanX(), StandardDeviationX(), and StandardDeviationXMean().
|
inlinestaticprotected |
Store a qualifier in a table.
quals | Table. |
idx | Column number |
name | Row name |
val | The cell content |
Definition at line 6836 of file GraphSysErr.C.
Referenced by Export(), and StoreQual().
|
inlinestaticprotected |
Store a qualifier in a table.
quals | Table. |
idx | Column number |
q | Key, value pair. The key is the row name |
Definition at line 6859 of file GraphSysErr.C.
References StoreQual().
|
inline |
Swap two points.
i | Index |
j | Index |
reflect | if true, multiply X values with -1 |
Definition at line 2284 of file GraphSysErr.C.
References fData, GraphSysErr::HolderP2P::fGraph, and fPoint2Point.
Referenced by Reflect().
|
inlinestaticprotected |
Definition at line 6775 of file GraphSysErr.C.
|
inline |
Symmetrice the other graph and store result here.
other | Graph to summetrice |
s1, sp1, w1, s2, sp2, w2);
Definition at line 2316 of file GraphSysErr.C.
References DeclarePoint2Point(), fCommon, GraphSysErr::HolderCommon::fEyh, GraphSysErr::HolderCommon::fEyl, FindCommon(), FindId(), FindPoint(), FindYandError(), GetErrorXLeft(), GetErrorXRight(), GetN(), GetStatErrorDown(), GetStatErrorUp(), GetSysErrorY(), GetX(), GetY(), GetYandError(), GraphSysErr(), kBox, Print(), RemoveSysError(), GraphSysErr::HolderCommon::Set(), SetPoint(), SetPointError(), SetStatError(), and SetSysError().
|
inlinestaticprotected |
Get the ith token from the array of tokens c.
c | Array of tokens |
idx | Which to get |
verbose | Be verbose |
Definition at line 7169 of file GraphSysErr.C.
Referenced by Import(), ImportError(), ImportPoint(), and SetKey().
|
protected |
List of common errors.
Definition at line 7869 of file GraphSysErr.C.
Referenced by Average(), Browse(), ClearUsed(), DefineCommon(), Export(), Find(), FindCommon(), FindId(), GetYandError(), GraphSysErr(), MakeMulti(), operator=(), Print(), Ratio(), RemoveSysError(), SavePrimitive(), Scale(), Symmetrize(), and ~GraphSysErr().
|
protected |
Attributes of summed errors.
Definition at line 7886 of file GraphSysErr.C.
Referenced by GetCommonSumFillColor(), GetCommonSumFillStyle(), MakeMulti(), operator=(), Print(), SavePrimitive(), SetCommonSumFillColor(), and SetCommonSumFillStyle().
|
protected |
Attributes of summed errors.
Definition at line 7888 of file GraphSysErr.C.
Referenced by GetCommonSumLineColor(), GetCommonSumLineStyle(), GetCommonSumLineWidth(), MakeMulti(), operator=(), Print(), SavePrimitive(), SetCommonSumLineColor(), SetCommonSumLineStyle(), and SetCommonSumLineWidth().
|
protected |
Definition at line 7892 of file GraphSysErr.C.
Referenced by CopyAttr(), GetCommonSumOption(), MakeMulti(), operator=(), Print(), SavePrimitive(), and SetCommonSumOption().
|
protected |
Title on summed errors.
Definition at line 7890 of file GraphSysErr.C.
Referenced by GetCommonSumTitle(), operator=(), Print(), SavePrimitive(), and SetCommonSumTitle().
|
protected |
Counter.
Definition at line 7876 of file GraphSysErr.C.
Referenced by DeclarePoint2Point(), DefineCommon(), GetNSys(), GraphSysErr(), and operator=().
|
protected |
Our data points.
Definition at line 7872 of file GraphSysErr.C.
Referenced by Browse(), Export(), FindYandError(), GetErrorXLeft(), GetErrorXRight(), GetN(), GetStatError(), GetStatErrorDown(), GetStatErrorUp(), GetX(), GetY(), GraphSysErr(), operator=(), RemovePoint(), SetPoint(), SetPointError(), SetStatError(), SetSysError(), SetTitle(), SwapPoints(), and ~GraphSysErr().
|
protected |
Definition at line 7894 of file GraphSysErr.C.
Referenced by CopyAttr(), MakeMulti(), Print(), SavePrimitive(), and SetDataOption().
|
protected |
The drawn graphs.
Definition at line 7874 of file GraphSysErr.C.
Referenced by Browse(), Draw(), Fit(), GetMulti(), operator=(), SavePrimitive(), and ~GraphSysErr().
|
protected |
Map of keys.
Definition at line 7900 of file GraphSysErr.C.
Referenced by Browse(), CopyKeys(), ExportKey(), GetKey(), operator=(), Print(), SetKey(), and ~GraphSysErr().
|
protected |
List of graphs.
Definition at line 7867 of file GraphSysErr.C.
Referenced by Average(), Browse(), ClearUsed(), DeclarePoint2Point(), ExportPoint(), FindId(), FindP2P(), GetYandError(), GraphSysErr(), MakeMulti(), operator=(), Print(), Ratio(), RemovePoint(), RemoveSysError(), SavePrimitive(), Scale(), SwapPoints(), and ~GraphSysErr().
|
protected |
List of qualifiers.
Definition at line 7902 of file GraphSysErr.C.
Referenced by AddQualifier(), Browse(), CopyKeys(), Export(), GetQualifier(), operator=(), Print(), RemoveQualifier(), and ~GraphSysErr().
|
protected |
Whether statistical errors are relative.
Definition at line 7904 of file GraphSysErr.C.
Referenced by ExportPoint(), IsStatRelative(), operator=(), SavePrimitive(), SetStatError(), and SetStatRelative().
|
protected |
Attributes of summed errors.
Definition at line 7878 of file GraphSysErr.C.
Referenced by GetSumFillColor(), GetSumFillStyle(), MakeMulti(), operator=(), Print(), SavePrimitive(), SetSumFillColor(), and SetSumFillStyle().
|
protected |
Attributes of summed errors.
Definition at line 7880 of file GraphSysErr.C.
Referenced by GetSumLineColor(), GetSumLineStyle(), GetSumLineWidth(), MakeMulti(), operator=(), Print(), SavePrimitive(), SetSumLineColor(), SetSumLineStyle(), and SetSumLineWidth().
|
protected |
Definition at line 7884 of file GraphSysErr.C.
Referenced by CopyAttr(), GetSumOption(), GetYandError(), MakeMulti(), operator=(), Print(), SavePrimitive(), and SetSumOption().
|
protected |
Title on summed errors.
Definition at line 7882 of file GraphSysErr.C.
Referenced by GetSumTitle(), MakeMulti(), operator=(), Print(), SavePrimitive(), and SetSumTitle().
|
protected |
X title.
Definition at line 7896 of file GraphSysErr.C.
Referenced by Draw(), Export(), Fit(), GetXTitle(), operator=(), Print(), SavePrimitive(), and SetXTitle().
|
protected |
Y title.
Definition at line 7898 of file GraphSysErr.C.
Referenced by Draw(), Export(), Fit(), GetYTitle(), operator=(), Print(), SavePrimitive(), and SetYTitle().