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

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

Parent Directory Parent Directory


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

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 46382 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 8 14:08:27 2012 UTC (2 years, 3 months ago) by moneta
File length: 8782 byte(s)
Diff to previous 43495
when calling Sumw2() on THnsparse or THn copy the current bin content in the array containing the sum of weight square 

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

Revision 43495 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 27 10:31:41 2012 UTC (2 years, 9 months ago) by axel
File length: 8569 byte(s)
Diff to previous 43016
Force initialization of fCoordBuf; fixes problem with GetBin() on THn read from file reported by Marian.

Revision 43016 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 15 15:25:12 2012 UTC (2 years, 11 months ago) by axel
File length: 8332 byte(s)
Diff to previous 42995
Fix template type name in doc.

Revision 42995 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 14 10:16:31 2012 UTC (2 years, 11 months ago) by axel
File length: 8362 byte(s)
Diff to previous 42758
THn: Documentation, documentation.

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 42719 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 19 10:17:36 2012 UTC (3 years ago) by axel
File length: 6730 byte(s)
Diff to previous 42694
Fix coverity reports.

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.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9