Copy a subset of a Tree to a new Tree
The input file has been generated by the program in $ROOTSYS/test/Event
with Event 1000 1 1 1
.
#ifdef ACTUAL_RUN
void run()
{
}
#else
{
gROOT->ProcessLine(
".L " +
tutdir +
"/io/tree/Event.cxx+");
gROOT->ProcessLine(
"#define ACTUAL_RUN yes");
gROOT->ProcessLine(
"run()");
}
#endif
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
A ROOT file is an on-disk file, usually with extension .root, that stores objects in a file-system-li...
A TTree represents a columnar dataset.
- Author
- Rene Brun
Definition in file tree110_copy.C.