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

Log of /trunk/tree/treeplayer/inc/TFriendProxy.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: 1184 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/TFriendProxy.h
File length: 1184 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/TFriendProxy.h
File length: 1184 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/TFriendProxy.h
File length: 1236 byte(s)
Diff to previous 9556
remove :$ from tag line

Revision 9556 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue Jul 20 09:40:19 2004 UTC (10 years, 6 months ago) by brun
Original Path: trunk/treeplayer/inc/TFriendProxy.h
File length: 1246 byte(s)
From Philippe:

This patch implements support for TTree Friend in the new TTree Proxy
mechanism (See releases notes of ROOT 4.00/08).

For example with the result of tutorials/treefriend.C and the macro print.C:

  void print() {
    cout << "Entry #" << fChain->GetReadEntry()
         << " and #" << TF.GetReadEntry() << "  \t"
         << x << " ";  // from the main tree
    if (TF.GetReadEntry()>=0) cout << TF.x; // from the friend tree
    else cout << "N/A";
    cout << endl;
  }

You can simply create a Proxy based TSelector with
  T->MakeProxy("withfriend","print.C","","nohist");
Then use the resulting file (withfriend.h) as anyother
TSelector script.  For example:
  T->Process("withfriend.h+","",20);

Or you can generate a simple histogram 2 files fill.C and fillCut.C
  root [5] .! cat fill.C
  double fill() {
    return x - TF.x;
  }
  root [6] .! cat fillCut.C
  Bool_t fillCut() {
    return TF.GetReadEntry()>=0;
  }
and you can just do:
  T->Draw("fill.C+","fillCut.C");

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