ROOT Tutorials: Trees I/O, Queries, Graphics
- 1. basic.C Read data from an ascii file and create a root file with an histogram and an ntuple.
- 2. basic2.C example of macro to create can ntuple reading data from an ascii file.
- 3. bill.C benchmark comparing write/read to/from keys or trees
- 4. cernbuild.C Read data (CERN staff) from an ascii file and create a root file with a Tree.
- 5. cernstaff.C Playing with a Tree containing variables of type character
- 6. circular.C Example of a circular Tree
- 7. clonesA_Event.C Example to write & read a Tree built with a complex class inheritance tree.
- 8. copytree.C Example of Root macro to copy a subset of a Tree to a new Tree
- 9. copytree2.C Example of Root macro to copy a subset of a Tree to a new Tree
- 10. copytree3.C Example of Root macro to copy a subset of a Tree to a new Tree
- 11. drawsparse.C Convert a THnSparse to a TTree using efficient iteration through the THnSparse
- 12. h1analysis.C Example of analysis class for the H1 data.
- 13. h1analysisProxy.C Example of analysis class for the H1 data using code generated by MakeProxy.
- 14. h1chain.C creates a TChain to be used by the h1analysis.C class
- 15. htest.C Example illustrating how to save histograms in Tree branches.
- 16. hvector.C This tutorials demonstrate how to store and restore simple vectors
- 17. jets.C script illustrating the use of a Tree using the JetEvent class.
- 18. ntuple1.C Small tree analysis script
- 19. parallelcoord.C script illustrating the use of the TParalleCoord class
- 20. spider.C script illustrating the use of the TSpider class
- 21. staff.C to create cernstaff.root, execute tutorial $ROOTSYS/tree/cernbuild.C
- 22. tcl.C Example of macro illustrating how to write a TClonesArray to a TTree
- 23. tree.C This macro displays the Tree data structures
- 24. tree0.C simple Event class example
- 25. tree1.C This example is a variant of hsimple.C but using a TTree instead
- 26. tree2.C This example illustrates how to make a Tree from variables or arrays
- 27. tree2a.C This example is the same as tree2.C, but uses a class instead of a C-struct.
- 28. tree3.C Example of a Tree where branches are variable length arrays
- 29. tree4.C This example writes a tree with objects of the class Event.
- 30. treefriend.C Illustrates how to use Tree friends: