Log of /trunk/tree/treeplayer/src/TChainIndex.cxx
Parent Directory
Revision
43397 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Mar 19 22:22:43 2012 UTC (2 years, 10 months ago) by
pcanal
File length: 14410 byte(s)
Diff to
previous 43390
GetEntryNumberWith[Best]Index is not suppose to complain on stderr/stdout when the index is out of range, just return -1. (also remove debug '0' in if statement)
Revision
35344 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Sep 16 21:34:21 2010 UTC (4 years, 4 months ago) by
pcanal
File length: 13441 byte(s)
Diff to
previous 26795
Fix Coverity reports
G__ci.h: #11161 missing initialization
common.h: #11161 missing initialization
error.cxx: #20793 Array compared against 0
init.cxx: #11712 explicit null derefence
macro.cxx: #10192 missing initialization
shl.cxx: #10626,10627 constant expression result
TBranchProxy.h: #10047 unchecked return value
TTreeProxyGenerator.cxx: #10059,#10060 enum as boolean
TClassEdit.cxx: #11546,#11734 forward null pointer
TStreamerInfoWriteBuffer.cxx: #11572, #11573 forward null pointer
TTreeFormula.cxx: #11587,#11588,#11592 forward null pointer
#11618,#11619 unckecked dynamic cast
TTreePlayer.cxx: #11984,#11985,#11986 dereference after null check
TTreeIndex.cxx: #11596 unckecked dynamic cast
TChainIndex.cxx: #11597,#11988 unckecked dynamic cast
TOracleServer.cxx: #11898 dereference after null check
TH1.cxx: #11983 dereference after null check
TFileDrawMap.cxx: $10896 copy into fixed size buffer
Revision
26785 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Dec 9 23:10:09 2008 UTC (6 years, 1 month ago) by
pcanal
File length: 13137 byte(s)
Diff to
previous 26765
When detaching an index from a TTree, also detach the TTree from the index. Now we can properly delete 'detached' TTreeIndices in TChainIndex
Revision
14745 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Apr 19 08:22:26 2006 UTC (8 years, 9 months ago) by
rdm
Original Path:
trunk/treeplayer/src/TChainIndex.cxx
File length: 11359 byte(s)
Diff to
previous 12602
Change the TError.h macros:
Assert -> R__ASSERT
Check -> R__CHECK
Change the TCollection.h macro:
ForEach -> R__FOR_EACH
This to avoid potential problems due too trivial macro names.
The old macros will be removed in the next release. Currently
they will print out warning messages with the advice to move
to the new macro names.
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/src/TChainIndex.cxx
File length: 11343 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.