ROOT
git-r3/HEAD
Reference Guide
Loading...
Searching...
No Matches
makeMySelector.C
Go to the documentation of this file.
1
{
2
// create template class for Selector to run on a tree
3
//////////////////////////////////////////////////////
4
//
5
// open root file containing the Tree
6
TFile
f
(
"conductivity_experiment.root"
);
7
// create TTree object from it
8
TTree
*
t
;
f
.GetObject(
"cond_data"
,
t
);
9
// this generates the files MySelector.h and MySelector.C
10
t
->MakeSelector(
"MySelector"
);
11
}
f
#define f(i)
Definition
RSha256.hxx:104
TFile
A file, usually with extension .root, that stores data and code in the form of serialized objects in ...
Definition
TFile.h:130
TTree
A TTree represents a columnar dataset.
Definition
TTree.h:89
t
TTree * t
Definition
makeMySelector.C:8
documentation
primer
macros
makeMySelector.C
ROOTgit-r3/HEAD - Reference Guide Generated on
(GVA Time) using Doxygen 1.16.1