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

Log of /trunk/hist/hbook/src/THbookFile.cxx

Parent Directory Parent Directory


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

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 46974 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 1 15:27:03 2012 UTC (2 years, 2 months ago) by couet
File length: 29536 byte(s)
Diff to previous 36246
fix coverity report #34242

Revision 36246 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 10 10:13:03 2010 UTC (4 years, 3 months ago) by brun
File length: 29511 byte(s)
Diff to previous 35527
use strlcpy, strlcat

Revision 35527 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 21 12:27:01 2010 UTC (4 years, 4 months ago) by brun
File length: 29462 byte(s)
Diff to previous 35505
do not include snprintf.h

Revision 35505 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 21 08:18:20 2010 UTC (4 years, 4 months ago) by brun
File length: 29484 byte(s)
Diff to previous 35475
Fix strlcpy calls

Revision 35475 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 20 18:04:46 2010 UTC (4 years, 4 months ago) by brun
File length: 29514 byte(s)
Diff to previous 35463
Replace calls to strncpy by strlcpy

Revision 35463 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 20 14:07:20 2010 UTC (4 years, 4 months ago) by brun
File length: 29514 byte(s)
Diff to previous 35454
Fix calls to strncpy

Revision 35454 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 20 13:16:31 2010 UTC (4 years, 4 months ago) by brun
File length: 29510 byte(s)
Diff to previous 35425
Fix strncpy calls

Revision 35425 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 20 08:31:29 2010 UTC (4 years, 4 months ago) by brun
File length: 29478 byte(s)
Diff to previous 34985
Replace calls to strcpy and sprintf by strncpy and snprintf

Revision 34985 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 25 09:38:43 2010 UTC (4 years, 5 months ago) by brun
File length: 29375 byte(s)
Diff to previous 34942
Fix memory leak reported by coverity

Revision 34942 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 23 11:59:15 2010 UTC (4 years, 5 months ago) by brun
File length: 29354 byte(s)
Diff to previous 34885
Use dynamic allocation for strings in THbookFile::Convert2root

Revision 34885 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 20 13:33:08 2010 UTC (4 years, 5 months ago) by pcanal
File length: 29191 byte(s)
Diff to previous 23629
Fix uninitialized var

Revision 23629 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 1 07:54:49 2008 UTC (6 years, 8 months ago) by brun
File length: 29174 byte(s)
Diff to previous 23143
Fix shadowed varioables

Revision 23143 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 11 13:21:02 2008 UTC (6 years, 9 months ago) by rdm
File length: 29168 byte(s)
Diff to previous 21679
move hbook to hist.

Revision 21679 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 14 11:08:39 2008 UTC (7 years ago) by brun
Original Path: trunk/hbook/src/THbookFile.cxx
File length: 29168 byte(s)
Diff to previous 20882
Fix compiler warning

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/hbook/src/THbookFile.cxx
File length: 29128 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/hbook/src/THbookFile.cxx
File length: 29128 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/hbook/src/THbookFile.cxx
File length: 29181 byte(s)
Diff to previous 18404
remove :$ from tag line

Revision 18404 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 27 13:40:40 2007 UTC (7 years, 10 months ago) by pcanal
Original Path: trunk/hbook/src/THbookFile.cxx
File length: 29191 byte(s)
Diff to previous 17338
adapt to new TBranch interface

Revision 17338 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 15 16:10:11 2007 UTC (8 years ago) by brun
Original Path: trunk/hbook/src/THbookFile.cxx
File length: 29181 byte(s)
Diff to previous 15251
Remove TMath.h from TH1.h and add TMath.h to all files previously assuming TMath.h
via TH1.h
This should complete the changes related to TMath.

Revision 15251 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 31 07:48:56 2006 UTC (8 years, 7 months ago) by brun
Original Path: trunk/hbook/src/THbookFile.cxx
File length: 29162 byte(s)
Diff to previous 15031
Fix coding conventions violations

Revision 15031 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 14 07:22:20 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/hbook/src/THbookFile.cxx
File length: 29141 byte(s)
Diff to previous 15022
Fix coding conventions violations

Revision 15022 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 13 17:28:15 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/hbook/src/THbookFile.cxx
File length: 29140 byte(s)
Diff to previous 12574
Fix coding conventions violations

Revision 12574 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 30 14:00:27 2005 UTC (9 years, 4 months ago) by brun
Original Path: trunk/hbook/src/THbookFile.cxx
File length: 28653 byte(s)
Diff to previous 8271
Changes to make the rulechecker happy in directory hbook.

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 8186 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 11 18:05:42 2004 UTC (10 years, 11 months ago) by brun
Original Path: trunk/hbook/src/THbookFile.cxx
File length: 28608 byte(s)
Diff to previous 7147
Protection added in constructor and destructor in case of a non-existing file.

Revision 7147 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 23 00:08:13 2003 UTC (11 years, 5 months ago) by rdm
Original Path: trunk/hbook/src/THbookFile.cxx
File length: 28502 byte(s)
Diff to previous 7142
revert most cast issues reported by buggy gcc 3.4 snapshot of this week.
Checked with gcc 3.4 from cvs of today which does not report any
problems anymore.

Revision 7142 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 22 14:14:27 2003 UTC (11 years, 5 months ago) by brun
Original Path: trunk/hbook/src/THbookFile.cxx
File length: 28516 byte(s)
Diff to previous 5944
Fix to avoid a warning with gcc3.4 when calling TMath::Sqrt

Revision 5944 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 20 10:25:58 2003 UTC (12 years ago) by brun
Original Path: trunk/hbook/src/THbookFile.cxx
File length: 28501 byte(s)
Diff to previous 5717
*** empty log message ***

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 5528 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 2 09:41:17 2002 UTC (12 years, 2 months ago) by brun
Original Path: trunk/hbook/src/THbookFile.cxx
File length: 28502 byte(s)
Diff to previous 5504
Remove the file from the list of Browsables in the destructor

Revision 5504 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 25 21:19:25 2002 UTC (12 years, 3 months ago) by brun
Original Path: trunk/hbook/src/THbookFile.cxx
File length: 28451 byte(s)
Diff to previous 5459
Add a few protections in case two Hbook files containing the same histogram IDs
are open and the IDs read in memory.

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 5359 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 29 20:24:33 2002 UTC (12 years, 3 months ago) by brun
Original Path: trunk/hbook/src/THbookFile.cxx
File length: 27843 byte(s)
Diff to previous 4416
In THbookFile::Get, print an error message if the requested ID is not in the file.
Before the fix, if the requested ID did not exist, the last Hbook object
was returned.

Revision 4416 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 30 07:26:47 2002 UTC (12 years, 8 months ago) by brun
Original Path: trunk/hbook/src/THbookFile.cxx
File length: 27755 byte(s)
Diff to previous 4379
Add new logic to set branch addresses. With this change the code generated
by TTree::MakeClass can be used on THbookFile.

Revision 4379 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 19 07:39:31 2002 UTC (12 years, 9 months ago) by brun
Original Path: trunk/hbook/src/THbookFile.cxx
File length: 27320 byte(s)
Diff to previous 4047
Add a new member fLrecl (Hbook file record length).
Include the THbookFile name in the THbookTree title.
These changes are required to support THbookTree in MakeClass

Revision 4047 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 21 09:51:24 2002 UTC (12 years, 11 months ago) by brun
Original Path: trunk/hbook/src/THbookFile.cxx
File length: 27235 byte(s)
Diff to previous 4042
Fix a problem when calling hntvar3 under Windows.

Revision 4042 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 20 17:05:16 2002 UTC (12 years, 11 months ago) by brun
Original Path: trunk/hbook/src/THbookFile.cxx
File length: 27158 byte(s)
Diff to previous 4041
Fix a problem in THbookFile constructor (fatal on SGI/kCC)

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.

Revision 4035 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 19 17:08:08 2002 UTC (12 years, 11 months ago) by brun
Original Path: trunk/hbook/src/THbookFile.cxx
File length: 22285 byte(s)
Diff to previous 4029
Fix a compiler error for WIN32 when calling hgnt1

Revision 4029 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 18 23:11:50 2002 UTC (12 years, 11 months ago) by brun
Original Path: trunk/hbook/src/THbookFile.cxx
File length: 22322 byte(s)
Diff to previous 4020
Class THbookFile derives from TNamed instead of TFile

Revision 4020 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 18 18:15:39 2002 UTC (12 years, 11 months ago) by brun
Original Path: trunk/hbook/src/THbookFile.cxx
File length: 22195 byte(s)
Diff to previous 4015
Fix compiler warnings

Revision 4015 - (view) (download) (as text) (annotate) - [select for diffs]
Added Mon Feb 18 18:02:57 2002 UTC (12 years, 11 months ago) by rdm
Original Path: trunk/hbook/src/THbookFile.cxx
File length: 22157 byte(s)
new directory containing code for libHbook.so. This library provides an
interface to legacy HBOOK files and provides histogram and ntuple reading
capability.

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