Log of /trunk/hist/hist/src/THn.cxx
Parent Directory
Revision
46439 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Oct 10 14:47:28 2012 UTC (2 years, 3 months ago) by
axel
File length: 8845 byte(s)
Diff to
previous 46382
Fix an issue with fSumw2 not being told how many bins there are when going via default c'tor, as in the case of CreateHn.
Zero-initialize fCoordBuf to make Dump() valgrind-happy: accesses uninitialized memory otherwise to print the value that fCoordBuf points at.
Revision
42758 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Jan 23 08:47:17 2012 UTC (3 years ago) by
axel
File length: 5371 byte(s)
Diff to
previous 42719
Implement THn::CreateHn() and THnSparse::CreateSparse() taking a THnBase (which in turn call THnBase::CreateHnAny() taking a THnBase):
converts a THn to a THnSparse and vice versa, keeping the bin type.
Can also be used to clone a THnBase-derived object.
Move storage initialization into separate (pure virtual) function
such that the common initialization part can end up in a new function THnBase::Init() which is called by (the now non-virtual) CloneEmpty() and CreateHnAny().
Revision
42694 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Added
Wed Jan 18 13:09:09 2012 UTC (3 years ago) by
axel
File length: 6560 byte(s)
Add non-sparse, n-dimensional histogram THnD, THnF, THnI...
THn and THnSparse now both derive from THnBase, providing the common interfaces and algorithms.
Extend stress suite to cover THn, too.
THn uses TNDArray for bin storage, an n-dimensional array. It provides an interface to extract an element by a series of operator[]:
Double_t value = arr[0][2][1][5];
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.