[root] / trunk / tree / treeplayer / inc / TChainIndex.h Repository:
ViewVC logotype

Log of /trunk/tree/treeplayer/inc/TChainIndex.h

Parent Directory Parent Directory


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

Revision 38496 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 18 10:04:01 2011 UTC (3 years, 10 months ago) by pcanal
File length: 3530 byte(s)
Diff to previous 22902
Update GetEntryNumberFriend to retun a Long64_t as needed (and as the other methods)

Revision 22902 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 31 09:48:42 2008 UTC (6 years, 9 months ago) by rdm
File length: 3515 byte(s)
Diff to previous 20882
move tree, treeplayer and treeviewer under tree meta directory.

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/treeplayer/inc/TChainIndex.h
File length: 3515 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/treeplayer/inc/TChainIndex.h
File length: 3515 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/treeplayer/inc/TChainIndex.h
File length: 3568 byte(s)
Diff to previous 19666
remove :$ from tag line

Revision 19666 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 22 17:36:46 2007 UTC (7 years, 5 months ago) by pcanal
Original Path: trunk/treeplayer/inc/TChainIndex.h
File length: 3578 byte(s)
Diff to previous 19116
If two chains are made friends and the files they contain do not have
the same number of entries, we need to informed the TTreeIndex of
the friend chain's tree when the main chain's tree is changed.
This correct the problem seen at http://root.cern.ch/phpBB2/viewtopic.php?p=21435

Revision 19116 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 21 19:14:21 2007 UTC (7 years, 7 months ago) by pcanal
Original Path: trunk/treeplayer/inc/TChainIndex.h
File length: 3559 byte(s)
Diff to previous 18928
Add new method TVirtualIndex::Append
Use it to insurge that the existing indexes are properly concatenated
when doing a TTree or TChain Merge.

Revision 18928 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 1 11:42:24 2007 UTC (7 years, 7 months ago) by pcanal
Original Path: trunk/treeplayer/inc/TChainIndex.h
File length: 3473 byte(s)
Diff to previous 17657
Implement TChainIndexEntry default constructor

Revision 17657 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 3 17:28:54 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/treeplayer/inc/TChainIndex.h
File length: 3392 byte(s)
Diff to previous 12602
Use forward declarations of TTreeIndex and TTreeFormula.

Revision 12602 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 3 02:26:31 2005 UTC (9 years, 4 months ago) by pcanal
Original Path: trunk/treeplayer/inc/TChainIndex.h
File length: 3486 byte(s)
Diff to previous 12187
Fix to follow coding conventions

Revision 12187 - (view) (download) (as text) (annotate) - [select for diffs]
Added Fri Jun 24 20:25:11 2005 UTC (9 years, 7 months ago) by pcanal
Original Path: trunk/treeplayer/inc/TChainIndex.h
File length: 3488 byte(s)
From Marek:
hen a user creates a TChainIndex (by invoking e.g. TChain::BuildIndex())

1. The TChainIndex constructor reads all the trees one by one
and for each:

  a. checks if there is an index if not or if that one is built on
     different formaulae it builds an index and keeps it (can't leave an
     index in a tree because when the next tree is loaded the index
     will be deleted).
  b. takes the min and max values of the index (perhaps only min is
     needed - I'll see later on).

2. checks if the min and max values of all the tree indices are sorted.
   If not it turns itself into z Zombie.

When the index is accessed:
1. using the min and max values finds a tree which should be accessed
2. loads the tree using Load(the first entry number in that tree)
3. If there is no index in that tree (it means it was created inside
   TChainIndex constructor) the index is set to that tree.
4. the entry is loaded using the tree index.
5. if the tree didn't have an index before its index is set back to 0
   (needed because otherwise the index would have been deleted in the
   tree  destructor called when loading another tree in the chain).

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