[root] / trunk / hist / hist / inc / TGraphAsymmErrors.h Repository:
ViewVC logotype

Log of /trunk/hist/hist/inc/TGraphAsymmErrors.h

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 45822 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 4 14:36:16 2012 UTC (2 years, 4 months ago) by moneta
File length: 4595 byte(s)
Diff to previous 44507
add new specialized Merge function for TGraphErrors and TGraphAsymmErrors

see https://savannah.cern.ch/bugs/?95642

Revision 44507 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 4 12:30:41 2012 UTC (2 years, 7 months ago) by axel
File length: 4551 byte(s)
Diff to previous 35227
Remove
  using namespace std;
from Riostream.h, which has huge consequences for all of ROOT.
Riostream.h is now a simple wrapper for fstream, iostream, iomanip for backward compatibility; Riosfwd.h simply wraps iosfwd.

Because of templates and their inline functions, Riostream.h needed to be included in headers, too (e.g. TParameter.h), which violated the assumption that Riostream.h is not exposing its using namespace std to headers.
ROOT now requires R__ANSISTREAM, R__SSTREAM, which does not change the set of supported compilers.

Without "using namespace std", several identifiers are now prefixed by std::; e.g. roofit/* source files now have a using namespace std to keep their coding style.
TFile::MakeProject() now generates "using namespace std" to convert the CINT-style class names into C++ ones.

Revision 35227 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 10 14:29:14 2010 UTC (4 years, 4 months ago) by moneta
File length: 4546 byte(s)
Diff to previous 24702
merge from development branch new TEfficiency class from Christian Gumpert

and : 

 - make TH1::FindFixBin const

Revision 24702 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 8 12:01:46 2008 UTC (6 years, 6 months ago) by brun
File length: 5087 byte(s)
Copied from: trunk/graf2d/graf/inc/TGraphAsymmErrors.h revision 24701
Diff to previous 24084
-Move the TGraph classes and derivatives from graf2d to hist
-The graf2d/graf has now only one dictionary instead of 2

Revision 24084 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jun 1 15:34:01 2008 UTC (6 years, 7 months ago) by brun
Original Path: trunk/graf2d/graf/inc/TGraphAsymmErrors.h
File length: 5087 byte(s)
Diff to previous 24065
From Olivier and me:

Split the TGraph classes to move the graphics code to separate classes.
These classes will be moved to the hist directory once the classes will be ok.
The TGraphs are painted via the TVirtualGraphPainter class and its concrete
implementation TGraphPainter.
At the difference of the TH1 classes for which a different painter is created
when drawing each histogram, one single TGraphPainter class is created.
The TGraphPainter class does not have internal state, all the information
from TGraph is passed to the drawing functions via parameters.

Revision 24065 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 30 08:54:58 2008 UTC (6 years, 7 months ago) by couet
Original Path: trunk/graf2d/graf/inc/TGraphAsymmErrors.h
File length: 5134 byte(s)
Diff to previous 24064
- Roll back last commit.

Revision 24064 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 30 08:16:54 2008 UTC (6 years, 7 months ago) by couet
Original Path: trunk/graf2d/graf/inc/TGraphAsymmErrors.h
File length: 5087 byte(s)
Diff to previous 23140
- All the methods doing graphics are now in TGraphPainter.

Revision 23140 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 11 11:01:39 2008 UTC (6 years, 9 months ago) by rdm
Original Path: trunk/graf2d/graf/inc/TGraphAsymmErrors.h
File length: 5134 byte(s)
Diff to previous 20882
move the following directories to "graf2d":

asimage, freetype, gpad, graf, postscript, qt, win32gdk, x11, x11ttf

move the following directories to "graf3d":

eve, ftgl, g3d, gl, x3d

Revision 20882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:31:26 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/graf/inc/TGraphAsymmErrors.h
File length: 5134 byte(s)
Diff to previous 19826
Set property svn:eol-style LF on all source and Makefiles. This should avoid
problems with Win32 line endings ending up in the repository. All MS tools
support LF eols fine.

Revision 19826 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:56:11 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/graf/inc/TGraphAsymmErrors.h
File length: 5134 byte(s)
Diff to previous 19825
imported svn:keywords Id property

Revision 19825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:49:10 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/graf/inc/TGraphAsymmErrors.h
File length: 5192 byte(s)
Diff to previous 15672
remove :$ from tag line

Revision 15672 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 3 16:10:46 2006 UTC (8 years, 6 months ago) by brun
Original Path: trunk/graf/inc/TGraphAsymmErrors.h
File length: 5202 byte(s)
Diff to previous 15134
from Axel:
Change the signature of SavePrimitive from

  void SavePrimitive(ofstream &out, Option_t *option);
to
  void SavePrimitive(ostream &out, Option_t *option = "");

With this change one can do, eg
   myhist.SavePrimitive(std::cout);

WARNING: do rm -f tree/src/*.o

Revision 15134 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 23 04:47:42 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/graf/inc/TGraphAsymmErrors.h
File length: 5198 byte(s)
Diff to previous 14903
From Federico Carminati:

"I have implemented all copy and equal operators needed to silence all
warnings in AliRoot, as requested. I have implemented shallow copies as
would do the default operators synthetized by the compiler.
Most operators are protected. If users complain, you just have to move
them into the public area, but class derivation is of course supported.
It has been a terrible job, I have modified 278 files, but the changes
are backward compabile, and this goes a long way to permitting user to
use the effc++ flag with root headers."

Revision 14903 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 3 13:33:23 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/graf/inc/TGraphAsymmErrors.h
File length: 5137 byte(s)
Diff to previous 13244
Replace all references to TVector by TVectorF

Revision 13244 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 15 15:13:59 2005 UTC (9 years, 2 months ago) by couet
Original Path: trunk/graf/inc/TGraphAsymmErrors.h
File length: 5136 byte(s)
Diff to previous 12643
- mods to make the rules checker happy

Revision 12643 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 5 07:25:22 2005 UTC (9 years, 4 months ago) by brun
Original Path: trunk/graf/inc/TGraphAsymmErrors.h
File length: 5300 byte(s)
Diff to previous 11251
Fix coding conventions violations.

Revision 11251 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 7 09:15:45 2005 UTC (9 years, 10 months ago) by brun
Original Path: trunk/graf/inc/TGraphAsymmErrors.h
File length: 5272 byte(s)
Diff to previous 11226
For back compatibility change names of some recently introduced functions.
	virtual Double_t GetErrorXhigh(Int_t bin) const;
	virtual Double_t GetErrorXlow(Int_t bin)  const;
	virtual Double_t GetErrorYhigh(Int_t bin) const;
	virtual Double_t GetErrorYlow(Int_t bin)  const;
	virtual Double_t *GetEXhigh() const
	virtual Double_t *GetEXlow()  const
	virtual Double_t *GetEYhigh() const
	virtual Double_t *GetEYlow()  const

Revision 11226 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 4 09:06:37 2005 UTC (9 years, 10 months ago) by brun
Original Path: trunk/graf/inc/TGraphAsymmErrors.h
File length: 5258 byte(s)
Diff to previous 10361
From Anna Kreshuk:
- TLinearFitter class: Linear fitter is used to fit a set of data points with a linear
  combination of specified functions (with or without weights). The "linear" in the name
  stands for "linear in parameters", not variables. The main advantages,
  compared to a general non-linear fitter, is that the linear fitter is considerably
  faster and doesn't require setting the initial values of parameters.
  The linear fitter can be used directly or through TH1::Fit and TGraph::Fit functions
  When it's used directly, functions of more than 3 dimensions can be fitted.

- TFormula: a new data member fLinearParts and methods to process it are added. Now
  one can create a function of the type that can be fit by the linear fitter.
  Example: TFormula f("f", "x++sin(x)") is equivalent to
  TFormula f("f","[0]*x + [1]*sin(x)"), but if a TH1::Fit or a TGraph::Fit is performed
  with the 1st formula, it goes through the linear fitter, if it's performed with the
  2nd formula, it goes through Minuit.

- TMultiGraph class: the Fit method is implemented, allowing to fit all the graphs
  of a multigraph simultaneously

- TGraph, TGraphErrors, TGraphAsymmErrors, TGraphBentErrors - functions GetEXhigh(),
  GetEXlow(), GetEYhigh(), GetEYlow() implemented to simplify the GraphFitChisquare()
  function of the TFitter class

- TH1, TGraph, TGraph2D, TMultiGraph - changes in the Fit functions, allowing to use
  the linear fitter. Fitting with "polN" functions redirected to use the linear fitter,
  in cases where no options, except "range", are specified.

Revision 10361 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 20 12:00:04 2004 UTC (10 years, 3 months ago) by brun
Original Path: trunk/graf/inc/TGraphAsymmErrors.h
File length: 5079 byte(s)
Diff to previous 10029
Add constructors accepting TVector and TVectorD

Revision 10029 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 14 06:38:44 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/graf/inc/TGraphAsymmErrors.h
File length: 4769 byte(s)
Diff to previous 10002
Fix in all the TGraph classes. CtorAllocate should NOT be made virtual.
This is misleading since the 'virtual' part can not be used from within a constructor.

Minor fix in the example given in TGraphBentErrors (thanks Maxim Nikulin)

Revision 10002 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 13 12:27:11 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/graf/inc/TGraphAsymmErrors.h
File length: 4785 byte(s)
Diff to previous 9389
From Maxim Nikulin:
Improvement of the general TGraph suite memory management functions

Revision 9389 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 5 06:43:30 2004 UTC (10 years, 6 months ago) by brun
Original Path: trunk/graf/inc/TGraphAsymmErrors.h
File length: 4504 byte(s)
Diff to previous 9264
The argument option is now optional in TGraphAsymmErrors::BayesDivide

Revision 9264 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 19 15:47:19 2004 UTC (10 years, 7 months ago) by brun
Original Path: trunk/graf/inc/TGraphAsymmErrors.h
File length: 4501 byte(s)
Diff to previous 8979
Remove the local protected function TGraphAsymmErrors::Betacf
and replace it by calls to the new function TMath::BetaCf.

Revision 8979 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 19 13:47:22 2004 UTC (10 years, 8 months ago) by brun
Original Path: trunk/graf/inc/TGraphAsymmErrors.h
File length: 4569 byte(s)
Diff to previous 8441
Implement a new TGraphAsymErrors constructor taking two histograms
in input. The resulting graph is obtained by dividing the two histograms.
The asymmetric errors are computed by the new function BayesDivide.

A new set of small utility functions (origin Marc Paterno) is introduced
in the class.

Code originally proposed by Andy Haas.

Revision 8441 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 19 12:35:24 2004 UTC (10 years, 10 months ago) by brun
Original Path: trunk/graf/inc/TGraphAsymmErrors.h
File length: 3676 byte(s)
Diff to previous 8287
Add new constructor taken a TH1 as input.
Add corresponding setter functions.
        TGraphAsymmErrors(const TH1 *h);
        virtual void    SetPointEXlow(Int_t i, Double_t exl);
        virtual void    SetPointEXhigh(Int_t i, Double_t exh);
        virtual void    SetPointEYlow(Int_t i, Double_t eyl);
        virtual void    SetPointEYhigh(Int_t i, Double_t eyh);

Revision 8287 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 22 11:31:17 2004 UTC (10 years, 11 months ago) by brun
Original Path: trunk/graf/inc/TGraphAsymmErrors.h
File length: 3385 byte(s)
Diff to previous 6418
Implement copy constructor for all TGraph family of classes

Revision 6418 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 10 20:12:22 2003 UTC (11 years, 9 months ago) by brun
Original Path: trunk/graf/inc/TGraphAsymmErrors.h
File length: 3329 byte(s)
Diff to previous 6349
New set of functions added to TGraph, TGraphErrors, TGraphAsymmErrors to sort
a graph via a standard predefined function in TGraph or a user defined function.
Thanks to Axel Naumann

Revision 6349 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 1 17:44:04 2003 UTC (11 years, 9 months ago) by brun
Original Path: trunk/graf/inc/TGraphAsymmErrors.h
File length: 3271 byte(s)
Diff to previous 5602
TGraphAsymmErrors::Set must be defined to overwrite TGraphErrors::Set
(thanks to Matt Palmer)

Revision 5602 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 16 15:17:47 2002 UTC (12 years, 2 months ago) by brun
Original Path: trunk/graf/inc/TGraphAsymmErrors.h
File length: 3231 byte(s)
Diff to previous 4713
Make const the function ComputeRange in TGraph, TGraphErrors
   and TGraphAsymmErrors.
Rewrite TGraph::GetHistogram to create the histogram without
painting the graph.

Revision 4713 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 14 20:30:35 2002 UTC (12 years, 7 months ago) by brun
Original Path: trunk/graf/inc/TGraphAsymmErrors.h
File length: 3224 byte(s)
Diff to previous 4073
Add new methods
  TGraph::RemovePoint(Int_t point)
  TGraphErrors::RemovePoint(Int_t point)
  TGraphAsymm::RemovePoint(Int_t point)

CagS: ----------------------------------------------------------------------

Revision 4073 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 23 15:45:57 2002 UTC (12 years, 11 months ago) by rdm
Original Path: trunk/graf/inc/TGraphAsymmErrors.h
File length: 3174 byte(s)
Diff to previous 3500
correct typo's and missing comments in ClassDefs so the automatically generated
HTML index looks ok.

Revision 3500 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 19 14:21:54 2001 UTC (13 years, 1 month ago) by brun
Original Path: trunk/graf/inc/TGraphAsymmErrors.h
File length: 3174 byte(s)
Diff to previous 3017
Add new functions to all the TGraph classes to interactively with the mouse
add a new point or remove a point. These new functions are available
from the context menu.
   Int_t InsertPoint();
   Int_t RemovePoint();

Add new function SetPointError in TGraphErrors and TGraphAsymmErrors.
This new function is also in the context menu.

Revision 3017 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 12 07:49:41 2001 UTC (13 years, 3 months ago) by brun
Original Path: trunk/graf/inc/TGraphAsymmErrors.h
File length: 2971 byte(s)
Diff to previous 1716
In all the TGraphX classes add a new method Apply suggested and implemented by

       Miroslav Helbich <helbich@mail.desy.de>
If one has points x,y of TGraph, sometimes it is convenient to apply a
function to those points e.g y=f(x,y). There are few examples I've been
dealing with, like scale the points by some number f(x,y)=y*scale factor
or if you try to fit some complicated formula it is sometimes better to do
the transformation first.

 For classes TGraphErrors and TGraphAssymErrors the situation becomes a
little bit more complicated since the error bars have to be changed.

Revision 1716 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 28 07:26:04 2001 UTC (13 years, 10 months ago) by brun
Original Path: trunk/graf/inc/TGraphAsymmErrors.h
File length: 2932 byte(s)
Diff to previous 1225
Change float* or double* to const float* or const double* in the constructors.

Revision 1225 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 15 12:05:24 2000 UTC (14 years, 1 month ago) by brun
Original Path: trunk/graf/inc/TGraphAsymmErrors.h
File length: 2860 byte(s)
Diff to previous 1205
Forgot to update the Streamer of these classes.

Revision 1205 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 13 15:13:57 2000 UTC (14 years, 1 month ago) by brun
Original Path: trunk/graf/inc/TGraphAsymmErrors.h
File length: 2860 byte(s)
Diff to previous 151
      W A R N I N G   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     ==================================================================
A very long list of changes in this pre-release of version 3.00.
We have modified the signature of many functions (in particular TObject)
to introduce more constness in the system.
You must change your code if your class derives from TObject and uses
one of the modified functions such as ls, Print, Compare, Hash, etc.
The modified functions in TObject have the following signature:
   virtual TObject    *Clone() const;
   virtual Int_t       Compare(const TObject *obj) const;
   virtual void        Delete(Option_t *option=""); // *MENU*
   virtual void        DrawClass() const; // *MENU*
   virtual void        DrawClone(Option_t *option="") const; // *MENU*
   virtual void        Dump() const; // *MENU*
   virtual TObject    *FindObject(const TObject *obj) const;
   virtual char       *GetObjectInfo(Int_t px, Int_t py) const;
   virtual ULong_t     Hash() const;
   virtual void        Inspect() const; // *MENU*
   virtual Bool_t      IsEqual(const TObject *obj) const;
   virtual void        ls(Option_t *option="") const;
   virtual void        Print(Option_t *option="") const;

A similar operation has been done with classes such as TH1, TVirtualPad,
TTree, etc.

Revision 151 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 13 10:58:50 2000 UTC (14 years, 7 months ago) by brun
Original Path: trunk/graf/inc/TGraphAsymmErrors.h
File length: 2821 byte(s)
Diff to previous 3
- Mods in TGraphAsymmErrors.h
  The internal dynamic arrays fEXlow,fEXhigh,fEYlow,fEYhigh  have their type changed from Float_t to Double_t
  class VersionID changed from 1 to 2.
  New constructor:
        TGraphAsymmErrors(Int_t n);
  The arguments of the other constructors are now mandatory:
        TGraphAsymmErrors(Int_t n, Float_t *x, Float_t *y, Float_t *exl=0, Float_t *exh=0, Float_t *eyl=0, Float_t *eyh=0);
        TGraphAsymmErrors(Int_t n, Double_t *x, Double_t *y, Double_t *exl=0, Double_t *exh=0, Double_t *eyl=0, Double_t *eyh=0);
   The following functions have their arguments or return type
   changed from Float_t to Double_t:
        virtual void    ComputeRange(Double_t &xmin, Double_t &ymin, Double_t &xmax, Double_t &ymax);
        Double_t        GetErrorX(Int_t bin);
        Double_t        GetErrorY(Int_t bin);
        Double_t       *GetEXlow()  {return fEXlow;}
        Double_t       *GetEXhigh() {return fEXhigh;}
        Double_t       *GetEYlow()  {return fEYlow;}
        Double_t       *GetEYhigh() {return fEYhigh;}
        virtual void    SetPoint(Int_t i, Double_t x, Double_t y);
        virtual void    SetPointError(Int_t i, Double_t exl, Double_t exh, Double_t eyl, Double_t eyh);

- Mods in TGraphAsymmErrors.cxx. See changes in TGraphAsymmErrors.h.
  TGraphAsymmErrors::Streamer modified to read old objects written in single precision.

Revision 3 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: trunk/graf/inc/TGraphAsymmErrors.h
File length: 2586 byte(s)
Copied from: branches/rdm/graf/inc/TGraphAsymmErrors.h revision 2
Diff to previous 2
This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.

Revision 2 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: branches/rdm/graf/inc/TGraphAsymmErrors.h
File length: 2586 byte(s)
Initial import of ROOT into CVS

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9