[root] / trunk / hist / hist / src / TProfile3D.cxx Repository:
ViewVC logotype

Log of /trunk/hist/hist/src/TProfile3D.cxx

Parent Directory Parent Directory


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

Revision 49133 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 8 21:10:21 2013 UTC (21 months, 2 weeks ago) by moneta
File length: 48818 byte(s)
Diff to previous 48031
add a flag in Sumw2() to delete error array structure

Revision 48031 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 14 09:34:54 2012 UTC (2 years, 1 month ago) by moneta
File length: 48746 byte(s)
Diff to previous 47909
from Gabriel: rename Set/CanRebin Set/CanExtend

Revision 47909 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 7 10:28:04 2012 UTC (2 years, 1 month ago) by moneta
File length: 48731 byte(s)
Diff to previous 46380
from Gabriel: 

 Introduce possibility to rebin each axis individually
see https://savannah.cern.ch/bugs/?89628

Added a new bit in TAxis to tag an axis as alphanumeric 
(i.e. when it contains only labels)

fixed kDecimal problem. Put now as Bit 7 of TObject bits, instead of using TAxis::fBits2

Add new methods: 

  TH1::SetCanRebin() which can enable/disable rebinning for all axes or for each axis individually
  This will replace the TH1::kCanRebin bit which will be deprecated
 
  TH1::CanRebinAllAxes() added to provide the functionality of TestBit(TH1::kCanRebin)

inline some TAxis methods

update stressHistogram to use new methods SetCanRebin and CanRebin

Revision 46380 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 8 12:48:37 2012 UTC (2 years, 3 months ago) by moneta
File length: 48713 byte(s)
Diff to previous 46159
- when calling TH*:Fill with a weight different than 1, automatically call Sumw2()

Revision 46159 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 25 09:06:05 2012 UTC (2 years, 3 months ago) by moneta
File length: 48618 byte(s)
Diff to previous 44507
from Gabriel: 
 
removed redundant DrawCopy in all subclasses of TH1

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: 49146 byte(s)
Diff to previous 44272
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 44272 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 16 13:03:47 2012 UTC (2 years, 8 months ago) by moneta
File length: 49116 byte(s)
Diff to previous 43802
apply small fix from Gabriel to use sizeof instead of an hard-coded 8

Revision 43802 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 17 15:20:48 2012 UTC (2 years, 9 months ago) by moneta
File length: 49101 byte(s)
Diff to previous 43761
change also TH1::Divide and TH1::Multiply to return a Boolean 
apply the changes also to all the TProfile classes

Revision 43761 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 16 13:36:17 2012 UTC (2 years, 9 months ago) by moneta
File length: 48754 byte(s)
Diff to previous 43731
modify all TH1::Add (and those of the derived classes) to return a Bool_t which is false when 
the method fails because the histograms ar enot consistent
(see https://savannah.cern.ch/bugs/?92635 )

Revision 43731 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 13 13:29:55 2012 UTC (2 years, 9 months ago) by moneta
File length: 48692 byte(s)
Diff to previous 41358
Fix comments for error options in the Profile classes 

https://savannah.cern.ch/bugs/?90290

also fix option "I" by making independent of TProfile::Approximate

Revision 41358 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 12 13:15:35 2011 UTC (3 years, 3 months ago) by moneta
File length: 50020 byte(s)
Diff to previous 41352
re-commit fix in SetBins for TProfile2D and TProfile3D

Revision 41352 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 12 10:31:57 2011 UTC (3 years, 3 months ago) by rdm
File length: 49582 byte(s)
Diff to previous 41350
revert broken lunchtime commit.

Revision 41350 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 12 09:53:08 2011 UTC (3 years, 3 months ago) by moneta
File length: 50020 byte(s)
Diff to previous 40378
add missing SetBins for variable bin sizes 
(see http://root.cern.ch/phpBB3//viewtopic.php?f=3&t=13537 )

Revision 40378 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 27 20:45:07 2011 UTC (3 years, 5 months ago) by pcanal
File length: 49582 byte(s)
Diff to previous 40319
Revert r40319 that introductes a lazy allocation of the TArray[x] of histograms and profiles,
so that we can resolve a few outstanding question (performance of AddBinContent, interface,
default behavior, forward compatibility.)

Revision 40319 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 21 11:24:40 2011 UTC (3 years, 6 months ago) by moneta
File length: 51033 byte(s)
Diff to previous 39430
aaply patch from Andrei to have a lazy allocation of the TArray[x] of histograms and profiles. 
The allocation is done only if a SetBinContent() or AddBinContent() is called.
This feature can be activated via the static TH1::SetLazyAllocation(kTRUE)

Revision 39430 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 26 17:30:23 2011 UTC (3 years, 7 months ago) by moneta
File length: 49582 byte(s)
Diff to previous 38776
- add support for filling histogram with weights < 0 
  by removing the abs(w) in the various TH1::Fill(x,w) methods 

 Doing this the histogram statistics should be correctly computed

Revision 38776 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 8 09:28:53 2011 UTC (3 years, 9 months ago) by moneta
File length: 49576 byte(s)
Diff to previous 38686
add BufferEmpty(1) in all operations modifying the histgram contents (like Add, Divide, Multiply, etc..)

Revision 38686 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 31 07:00:15 2011 UTC (3 years, 9 months ago) by moneta
File length: 49479 byte(s)
Diff to previous 38569
add support for the option ICES in all Reset methods. Call this option in BufferEmpty and BufferFill to avoid deleting the list of functions (see https://savannah.cern.ch/bugs/index.php?71251)

Revision 38569 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 23 11:03:42 2011 UTC (3 years, 10 months ago) by moneta
File length: 49365 byte(s)
Diff to previous 37991
add protection agains NaN when filling a profile with a range set in Y

Revision 37991 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 7 14:30:02 2011 UTC (3 years, 11 months ago) by moneta
File length: 49325 byte(s)
Diff to previous 36071
fix calculation of global sum of w2 in TProfile::GetStats when Sumw2 was not set

This fixes bug https://savannah.cern.ch/bugs/?77751

Revision 36071 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 4 20:40:28 2010 UTC (4 years, 3 months ago) by moneta
File length: 49327 byte(s)
Diff to previous 34939
fix for coverity (SECURE_CODING) by removing sprintf and strcpy

Revision 34939 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 23 10:24:35 2010 UTC (4 years, 5 months ago) by brun
File length: 49446 byte(s)
Diff to previous 32930
Add protections infunctions calling TAxis::FindBin in case the result of FindBin is negative.

Revision 32930 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 9 16:18:32 2010 UTC (4 years, 9 months ago) by pcanal
File length: 49350 byte(s)
Diff to previous 31737
Prefer the use of InheritsFrom(TClass*) over InheritsFrom(const char*) as long as 
it does not increase the library dependencies.

Revision 31737 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 9 16:36:38 2009 UTC (5 years, 1 month ago) by moneta
File length: 49308 byte(s)
Diff to previous 31697
- revert to changes 31697 and redo 31693
- fix also case when fBinSumw2 is non zero (in GetEffectiveEntries) when reading an old file (< 5.22) with Sumw2 set 
This fixes stressHistogram

Revision 31697 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 8 21:45:52 2009 UTC (5 years, 1 month ago) by pcanal
File length: 49356 byte(s)
Diff to previous 31696
More direct fix for copy a default constructor Profile histogram (replace 31693)

Revision 31696 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 8 21:40:34 2009 UTC (5 years, 1 month ago) by pcanal
File length: 49283 byte(s)
Diff to previous 31693
Undo incorrect patch 31693 (it breaks stressHistogram)

Revision 31693 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 8 18:17:50 2009 UTC (5 years, 1 month ago) by pcanal
File length: 49308 byte(s)
Diff to previous 30001
Now that the default constructor for TH2 allocate 9 cells, (see revision 30630), the default constructor for the TProfile needs to call buildOptions otherwise their are malformed and a = new TProfile2D(); b = new TProfile2D(*a); crashes

Revision 30001 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 1 13:41:50 2009 UTC (5 years, 4 months ago) by brun
File length: 49283 byte(s)
Diff to previous 28022
Modify TH1::SavePrimitive such that temporary histograms (like htemp)
and histograms for which the directory is not set have unique pointer names.
This requires an additional argument in TH1::SavePrimitiveHelp.

Revision 28022 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 1 14:41:58 2009 UTC (5 years, 9 months ago) by moneta
File length: 49272 byte(s)
Diff to previous 26511
merge changes from math development branch. 
In details the changes are

TH1  
-----
add new functions IsBinUnderflow(bin), IsBinOverflow(bin) using global bin number
 - fix a problem in TH1::Sumw2() when called from constructor of TProfile()

TProfile,TProfile2D and TProfile3D
----------------------------------
  - add a new data member (TArrayD fBinSumw2) for storing the sum of weight square per bin. This is needed for correct error calculation in case of profile filled with weights different than 1. The new structure is filled only when TProfile::Sumw2() is called or when TH1::SetDefaultSumw2() is set. 
 
 - at the same time the TProfile classes have been improved by factoring out some common implementations of some methods like  Add and Merge

TH2, TH3
------------------

change projection into TProfile's in case Sumw2() is set to correctly project the 
errors.

Revision 26511 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 28 15:35:51 2008 UTC (6 years, 1 month ago) by moneta
File length: 53445 byte(s)
Diff to previous 26415
define kNStat as an enumeration in TH1 and not as a static type in all the implementation classes. 
This avoids having wrong values of kNstat. 

Before we had in TH1 kNstat=11, instead of 13, the value  needed by TProfile3D.
This bug was found by running stressHistogram with a TProfile3D

Revision 26415 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 24 15:22:41 2008 UTC (6 years, 2 months ago) by moneta
File length: 53470 byte(s)
Diff to previous 25067
fix a problem in re-using Minuit when fitting. Now a reset in TMinuit is done before setting again the parameters
Add support for SCAN as an algorithm of TMinuitMinimizer  (now it works also from the FitPanel)

from David: fix a bug in the copy constructor of TProfile3D

Revision 25067 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 6 06:44:05 2008 UTC (6 years, 5 months ago) by brun
File length: 53301 byte(s)
Diff to previous 22694
From Andrei:
fixes a typo in TProfile3D::GetStats() that prevented merging this kind of histograms.

Revision 22694 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 17 20:23:21 2008 UTC (6 years, 10 months ago) by rdm
File length: 53301 byte(s)
Diff to previous 22216
move hist, histpainter, spectrum and spectrumpainter in the hist package.

Revision 22216 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 19 08:24:45 2008 UTC (6 years, 11 months ago) by brun
Original Path: trunk/hist/src/TProfile3D.cxx
File length: 53301 byte(s)
Diff to previous 20882
In the Scale functions, add an optional argument Option_t *option=""
When the option "width is specified, the Scale function divides the bin
content and error by the bin width (works for 1, 2 and 3-D histograms).

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/hist/src/TProfile3D.cxx
File length: 53289 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/hist/src/TProfile3D.cxx
File length: 53289 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/hist/src/TProfile3D.cxx
File length: 53341 byte(s)
Diff to previous 19636
remove :$ from tag line

Revision 19636 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 17 09:12:38 2007 UTC (7 years, 5 months ago) by brun
Original Path: trunk/hist/src/TProfile3D.cxx
File length: 53351 byte(s)
Diff to previous 17612
Change the API for TH1::RebinAxis from
void     RebinAxis(Double_t x, const char *ax);
to
void     RebinAxis(Double_t x, TAxis *axis);

Revision 17612 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 1 14:58:44 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/hist/src/TProfile3D.cxx
File length: 53466 byte(s)
Diff to previous 15672
Use a forward declaration of TList instead of including TList.h

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/hist/src/TProfile3D.cxx
File length: 53443 byte(s)
Diff to previous 15090
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 15090 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 18 06:21:38 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/hist/src/TProfile3D.cxx
File length: 53435 byte(s)
Diff to previous 15075
Fix coding conventions violation

Revision 15075 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 17 10:01:04 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/hist/src/TProfile3D.cxx
File length: 53413 byte(s)
Diff to previous 15070
Cleanup code

Revision 15070 - (view) (download) (as text) (annotate) - [select for diffs]
Added Wed May 17 06:59:24 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/hist/src/TProfile3D.cxx
File length: 56485 byte(s)
Introduce new class TProfile3D

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