GraphSysErr
0.10-2
A class to hold results with statistical and systematic errors A class to hold results with statistical and systematic errors
|
A combiner that uses a linear approximation. More...
Public Member Functions | |
Double_t | W (const Observation &r) const |
Calculate the weight. More... | |
Double_t | StepW (Double_t guess, const Observation &r) const |
Calculate the weight based on a guess of best . More... | |
Double_t | StepOffset (Double_t, const Observation &) const |
Calculate the bias. More... | |
Double_t | VarTerm (Double_t guess, const Observation &r) const |
Calculate the contribution variance to the with the guess . More... | |
Wrapper_t | Wrapper () const |
Return function pointer to wrapper. More... | |
ClassDef (LinearSigmaCombiner, 1) | |
Public Member Functions inherited from GraphSysErr::Combiner | |
Combiner () | |
Constructor. More... | |
virtual | ~Combiner () |
Virtual destructor. More... | |
Double_t | ChiTerm (Double_t guess, const Observation &r) const |
Calculate the contribution variance to the with the guess . More... | |
Double_t | F (Double_t guess, Double_t chi2) const |
Calculate the where is current guess at the observation. More... | |
Double_t | E (UShort_t nIter, Int_t sign, Double_t best, Double_t chi2, Double_t s) |
Try to find best error. More... | |
Double_t | X (UShort_t nIter, Double_t lowest, Double_t highest) |
Find best estimate of . More... | |
Result * | Calculate (UShort_t nIter=50) |
Do the calculation. More... | |
TF1 * | MakeF (const Observation &r, Int_t j) const |
Make a function that represents to Log-likehood for a given observation. More... | |
TLine * | MakeL (TF1 *f) const |
Make a line that represents the best found errors. More... | |
void | Draw (Option_t *option="") |
ClassDef (Combiner, 1) | |
void | Clear (Option_t *option="") |
Clear the internal data. More... | |
void | Add (const Observation &r) |
Add an obervation. More... | |
void | Add (Double_t x, Double_t el, Double_t eh) |
Add an observation. More... | |
void | Print (Option_t *option="") const |
Print content of the list. More... | |
Static Public Member Functions | |
static Double_t | L (Double_t guess, Double_t x, Double_t el, Double_t eh) |
Return the likely-hood function value at : More... | |
static Double_t | WrapL (Double_t *xp, Double_t *pp) |
Wrap likely-hood function for ROOT. More... | |
Additional Inherited Members | |
Public Types inherited from GraphSysErr::Combiner | |
typedef Double_t(* | Wrapper_t) (Double_t *, Double_t *) |
Public Attributes inherited from GraphSysErr::Combiner | |
TClonesArray | fData |
Result * | fResult |
A combiner that uses a linear approximation.
Definition at line 5407 of file GraphSysErr.C.
GraphSysErr::LinearSigmaCombiner::ClassDef | ( | LinearSigmaCombiner | , |
1 | |||
) |
|
inlinestatic |
Return the likely-hood function value at :
where
guess | |
x | |
el | |
eh |
Definition at line 5495 of file GraphSysErr.C.
References GraphSysErr::Combiner::Observation::Svar().
|
inlinevirtual |
Calculate the bias.
Implements GraphSysErr::Combiner.
Definition at line 5452 of file GraphSysErr.C.
|
inlinevirtual |
Calculate the weight based on a guess of best .
guess | Current guess |
r | Observation |
Implements GraphSysErr::Combiner.
Definition at line 5440 of file GraphSysErr.C.
References GraphSysErr::Combiner::Observation::S(), and GraphSysErr::Combiner::Observation::Svar().
|
inlinevirtual |
Calculate the contribution variance to the with the guess .
guess | Current guess |
r | Observation |
Implements GraphSysErr::Combiner.
Definition at line 5469 of file GraphSysErr.C.
References GraphSysErr::Combiner::Observation::Svar().
|
inlinevirtual |
Calculate the weight.
r | Observation |
Implements GraphSysErr::Combiner.
Definition at line 5420 of file GraphSysErr.C.
References GraphSysErr::Combiner::StepW().
|
inlinestatic |
Wrap likely-hood function for ROOT.
xp | Pointer to independent variables |
pp | Pointer to parameters |
Definition at line 5513 of file GraphSysErr.C.
|
inlinevirtual |
Return function pointer to wrapper.
Implements GraphSysErr::Combiner.
Definition at line 5522 of file GraphSysErr.C.
References GraphSysErr::Combiner::Observation::ClassDef().