Log of /trunk/hist/hist/src/TProfile3D.cxx
Parent Directory
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
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
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
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
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
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
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.