Log of /trunk/hist/hbook/src/THbookFile.cxx
Parent Directory
Revision
48467 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Feb 4 18:36:25 2013 UTC (23 months, 2 weeks ago) by
rdm
File length: 29558 byte(s)
Diff to
previous 48447
fix warnings reported by the latest Apple LLVM 4.2 clang++ (based
on llvm 3.2svn). Mostly were:
warning: private field 'fOneDim' is not used [-Wunused-private-field]
Revision
48447 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Feb 1 13:07:58 2013 UTC (23 months, 3 weeks ago) by
moneta
File length: 29535 byte(s)
Diff to
previous 46974
from Gabriel:
- deprecated GetCellContent / GetCellError / SetCellContent / SetCellError -> GetBinContent / GetBinError/ SetBinContent / SetBinError provide the same functionality ; replaced these methods across ROOT (still in graf2d and main)
- replaced SetCellError / SetCellContent / GetCellError / SetCellConten
- refactored redundant logic (GetContourLevel, SetContent, Interpolate, SetBufferSize)
- moved one-line methods to header file (SetMinimum, SetMaximum, GetXaxis, GetYaxis, GetZaxis, GetBinError)
- TH2::Rebin2D has been simplified (6 for loops -> 3 for loops) => 2-3x speedup
Revision
8271 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Feb 19 21:48:06 2004 UTC (10 years, 11 months ago) by
brun
Original Path:
trunk/hbook/src/THbookFile.cxx
File length: 28650 byte(s)
Diff to
previous 8186
From Khamit Ardashev
I have modified h2root to put integers of <=16 bit into shorts
for cwn ntuples. hntvar2.f needed one more argument for that.
Test on my data ntuple gave me 10% savings in disk space and therefore on
speed also since I need to do less I/O now.
use new option [optcwn] to turn on savings.
class THbookFile modified to be consistent with the additional argument in hntvar2.
Revision
5717 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Dec 2 18:50:12 2002 UTC (12 years, 1 month ago) by
rdm
Original Path:
trunk/hbook/src/THbookFile.cxx
File length: 28490 byte(s)
Diff to
previous 5554
mega patch to remove almost all compiler warnings on MacOS X where the
compiler is by default in pedantic mode (LHCb also like to use this option).
The following issues have been fixed:
- removal of unused arguments
- comparison between signed and unsigned integers
- not calling of base class copy ctor in copy ctor's
To be done, the TGeo classes where we get still many hundred warnings of
the above nature. List forwarded to Andrei.
Revision
5554 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Nov 7 05:23:26 2002 UTC (12 years, 2 months ago) by
brun
Original Path:
trunk/hbook/src/THbookFile.cxx
File length: 28528 byte(s)
Diff to
previous 5553
One more suggestion from Andrei Gaponenko:
"I suggest to put:
if(!IsOpen())
return;
as the first statement of THbookFile::Close(Option_t *).
When a user closes an hbook file explicitly, the destructor calls the
Close() function on the same file again and gets an HCDIR error
message."
Revision
5553 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Nov 7 05:20:39 2002 UTC (12 years, 2 months ago) by
brun
Original Path:
trunk/hbook/src/THbookFile.cxx
File length: 28502 byte(s)
Diff to
previous 5528
Fix from Andrei Gaponenko,
"For the lack of THbookChain, I tried to do an explicit loop over
ntuples. After processing about 50 files, the program started to
complain about "too many hbook files open". According to the code
logic, no more than one hbook file should have been opened at a time.
(TFile was an automatic object in a loop of a compiled program.)
I have fixed this by changing the THbookFile(const char*, int)
constructor, so that HROPEN() and HREND() are now called with the
same CHTOP parameter.
It also fixes another problem (PR#1378). There is nothing wrong with
opening an hbook file again if it's been closed."
Revision
5459 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 22 12:10:01 2002 UTC (12 years, 3 months ago) by
brun
Original Path:
trunk/hbook/src/THbookFile.cxx
File length: 28152 byte(s)
Diff to
previous 5359
Implement new function IsOpen (like in TFile).
Set the Zombie bit on if the file cannot be open.
There are now two ways to detect if a file is open:
TFile f("myfile.hbook");
if (f.IsOpen()); //if true f has been open successfully
if (f.IsZombie()); //if true f cannot be used
Revision
4041 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Feb 20 16:57:31 2002 UTC (12 years, 11 months ago) by
brun
Original Path:
trunk/hbook/src/THbookFile.cxx
File length: 27156 byte(s)
Diff to
previous 4035
First operational version of the Hbook interface classes.
With this new version, one can:
- import automatically any 1-d, 2-d or profile histograms. The Hbook types
are converted on the fly to Root types TH1F, TH2F and TProfile.
- import ntuple headers (Row or Column-Wise).
A new data type THbookTree (deriving from TTree) with functions like
hbookTree.Draw("x","selection") like for a normal TTree. The ntuple data
are read directly from the Hbook file.
- The Tree viewer can be used directly: hbookTree.StartViewer();
- Browse the THbookFile via TBrowser. Clicking on a Hbook ID in a file
draws the histogram.
- When in the browser, the context menu item "Convert2root" can be selected
to convert a THbookFile into a normal TFile (via h2root). The converted file
is by default connected to the browser.
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.