Logo ROOT   6.21/01
Reference Guide
hsimpleProxy.C
Go to the documentation of this file.
1 /// \file
2 /// \ingroup tutorial_tree
3 /// \notebook -nodraw
4 ///
5 /// To use this file, generate hsimple.root:
6 /// ~~~ {.cpp}
7 /// root.exe -b -l -q hsimple.C
8 /// ~~~
9 /// and do
10 /// ~~~ {.cpp}
11 /// TFile *file = TFile::Open("hsimple.root");
12 /// TTree *ntuple ; file->GetObject("ntuple",ntuple);
13 /// ntuple->Draw("hsimpleProxy.C+");
14 /// ~~~
15 ///
16 /// \macro_code
17 ///
18 /// \author Rene Brun
19 
20 double hsimpleProxy() {
21  return px;
22 }