[root] / trunk / graf2d / graf / inc / TCutG.h Repository:
ViewVC logotype

Log of /trunk/graf2d/graf/inc/TCutG.h

Parent Directory Parent Directory


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

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: 2517 byte(s)
Diff to previous 43271
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 43271 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 7 05:53:52 2012 UTC (2 years, 10 months ago) by pcanal
File length: 2512 byte(s)
Diff to previous 37309
Add missing assign operator
Coverity number 35264,35265,35266,35267,35270,35273,35274,35275,
35281,35382,35383,35284,35285,35286,35286,35287,35288,35289,35290,35291,35292,35293,35294
35304,35305,35306,35307,35308,
35356,35371,35372,35378,35379,
35382

Revision 37309 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 6 00:10:29 2010 UTC (4 years, 1 month ago) by pcanal
File length: 2472 byte(s)
Diff to previous 36495
Fix memory leak (make SetObject consistent with the destructor)

Revision 36495 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 3 13:07:11 2010 UTC (4 years, 2 months ago) by couet
File length: 2506 byte(s)
Diff to previous 31952
- Remove IsInside(x,y). It is now inherited from TGraph.

Revision 31952 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 4 08:24:07 2010 UTC (5 years ago) by brun
File length: 2566 byte(s)
Diff to previous 29443
Add 2 new functions:
Double_t TCutG::Area() const
   // Compute the area inside this TCutG

void TCutG::Center(Double_t &cx, Double_t &cy) const
   // Compute the center x,y of this TCutG

Revision 29443 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 11 10:49:10 2009 UTC (5 years, 6 months ago) by brun
File length: 2448 byte(s)
Diff to previous 23140
Rename TCutG::Integral to TCutg::IntegralHist to avoid a clash with the new TGraph::Integral.

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
File length: 2444 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/TCutG.h
File length: 2444 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/TCutG.h
File length: 2444 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/TCutG.h
File length: 2489 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/TCutG.h
File length: 2499 byte(s)
Diff to previous 9329
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 9329 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 26 13:38:57 2004 UTC (10 years, 7 months ago) by brun
Original Path: trunk/graf/inc/TCutG.h
File length: 2495 byte(s)
Diff to previous 8287
Add a new function:
Double_t TCutG::Integral(TH2 *h, Option_t *option) const
   // Compute the integral of 2-d histogram h for all bins inside the cut
   // if option "width" is specified, the integral is the sum of
   // the bin contents multiplied by the bin width in x and in y.

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/TCutG.h
File length: 2420 byte(s)
Diff to previous 4186
Implement copy constructor for all TGraph family of classes

Revision 4186 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 15 22:11:47 2002 UTC (12 years, 10 months ago) by brun
Original Path: trunk/graf/inc/TCutG.h
File length: 2391 byte(s)
Diff to previous 1719
Increment class version to 2.
Members fObjectX, fObjectY declared non persistent.

Add additional comments to indicate how to create/close a TCutG
with the graphics editor.

Revision 1719 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 28 11:04:07 2001 UTC (13 years, 10 months ago) by brun
Original Path: trunk/graf/inc/TCutG.h
File length: 2389 byte(s)
Diff to previous 1205
More changes (hopefully last cleanup) introducing constness in the API.

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/TCutG.h
File length: 2365 byte(s)
Diff to previous 144
      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 144 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 13 10:51:17 2000 UTC (14 years, 7 months ago) by brun
Original Path: trunk/graf/inc/TCutG.h
File length: 2350 byte(s)
Diff to previous 3
- Mods in TCutG.
  New constructor:
   TCutG(const char *name, Int_t n, Double_t *x, Double_t *y);
  Signature for function IsInside changed to:
   virtual Int_t  IsInside(Double_t x, Double_t y);

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/TCutG.h
File length: 2201 byte(s)
Copied from: branches/rdm/graf/inc/TCutG.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/TCutG.h
File length: 2201 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