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

Log of /trunk/tree/tree/inc/TFriendElement.h

Parent Directory Parent Directory


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

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: 2702 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/tree/inc/TFriendElement.h
File length: 2702 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/tree/inc/TFriendElement.h
File length: 2702 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/tree/inc/TFriendElement.h
File length: 2758 byte(s)
Diff to previous 15260
remove :$ from tag line

Revision 15260 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 31 10:05:49 2006 UTC (8 years, 7 months ago) by brun
Original Path: trunk/tree/inc/TFriendElement.h
File length: 2768 byte(s)
Diff to previous 13207
From Federico:
More cleanup for gcc effc++

Revision 13207 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 11 22:16:04 2005 UTC (9 years, 2 months ago) by pcanal
Original Path: trunk/tree/inc/TFriendElement.h
File length: 2670 byte(s)
Diff to previous 11681
Update the spacing and documentation to match the coding rule

Revision 11681 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 28 07:29:24 2005 UTC (9 years, 8 months ago) by brun
Original Path: trunk/tree/inc/TFriendElement.h
File length: 2675 byte(s)
Diff to previous 10167
From Philippe:
This patch solves a couple of issue with chains friends when the
chains were also manipulated on their own (some cached TTree pointers
were not refreshed properly).

We now fully support nested and recursive friends.

To support recursive friends, we introduced TTree::TFriendLock which
is used to set and reset the kFriendLock bit in the TTree (or TChain)
object once it has been seen during a recursion handling nested
friends.  Hence each objects is guaranteed to best used only once.
The current implementation is not yet thread safe but it would be
straightforward to add it (and then we should also use the same
lock in AddFriend).

Revision 10167 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 24 18:22:46 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/tree/inc/TFriendElement.h
File length: 2627 byte(s)
Diff to previous 4773
From Philippe:
TFriendElement is never really the owner of the
TTree is points (in the common case, the TFile objects owns it).

In case where the TTree and its friend are in the same file, this
leads to a double deletion of the friend tree.

The solution is to just remove the deletion of the TTree from
the TFriendElement destructor.

The only downside is that in the case (should be rare!) where
the TFriendElement does not own the TFile and the TFriendElement
is deleted then the TTree will be kept in memory until the file
is deleted.

Revision 4773 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 25 05:47:51 2002 UTC (12 years, 7 months ago) by brun
Original Path: trunk/tree/inc/TFriendElement.h
File length: 2699 byte(s)
Diff to previous 2832
Fixes by Philippe to support Tree friends with TChains.
Still some limitations.The chains have to have a list of file
which have (in parallel) the same number of event.  (This is because
(for now) the length of each tree is compared with the other trees).
Also I did not test saving and reloading chains with friend.

Revision 2832 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 22 10:06:56 2001 UTC (13 years, 4 months ago) by rdm
Original Path: trunk/tree/inc/TFriendElement.h
File length: 2557 byte(s)
Diff to previous 1949
Support also friends in already open TFile's, i.e. new method AddFriend()
taking a TFile* instead of a "filename".

Revision 1949 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 10 16:34:51 2001 UTC (13 years, 9 months ago) by brun
Original Path: trunk/tree/inc/TFriendElement.h
File length: 2471 byte(s)
Diff to previous 1912
Add support for Tree aliases. This is useful when two files contain the same Tree
structure (Trees with same names) and one wants to correlate variables from
the two trees.

Revision 1912 - (view) (download) (as text) (annotate) - [select for diffs]
Added Mon Apr 9 07:52:33 2001 UTC (13 years, 9 months ago) by brun
Original Path: trunk/tree/inc/TFriendElement.h
File length: 2332 byte(s)
New class TFriendElement:
//                                                                      //
// A TFriendElement TF describes a TTree object TF in a file.           //
// When a TFriendElement TF is added to the the list of friends of an   //
// existing TTree T, any variable from TF can be referenced in a query  //
// to T.                                                                //
//                                                                      //
// To add a TFriendElement to an existing TTree T, do:                  //
//       T.AddFriend("friendTreename","friendTreeFilke");               //
//                                                                      //
//  see TTree::AddFriend for more information                           //

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