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. h1chain.C Creates a TChain to be used by the h1analysis.C class
- 13. hsimpleReader.C A simple TTreeReader use: read data from hsimple.root (written by hsimple.C)
- 14. htest.C Example illustrating how to save histograms in Tree branches.
- 15. hvector.C This tutorials demonstrate how to store and restore simple vectors
- 16. jets.C script illustrating the use of a Tree using the JetEvent class.
- 17. ntuple1.C Small tree analysis script
- 18. parallelcoord.C script illustrating the use of the TParalleCoord class
- 19. parallelcoordtrans.C Script illustrating the use of transparency (right now in PDF file only) with ||-Coord.
- 20. printSizes.C This macro can be used to get aggregate information on the size
- 21. spider.C script illustrating the use of the TSpider class
- 22. staff.C to create cernstaff.root, execute tutorial $ROOTSYS/tree/cernbuild.C
- 23. tcl.C Example of macro illustrating how to write a TClonesArray to a TTree
- 24. tree.C This macro displays the Tree data structures
- 25. tree0.C simple Event class example
- 26. tree1.C This example is a variant of hsimple.C but using a TTree instead
- 27. tree2.C This example illustrates how to make a Tree from variables or arrays
- 28. tree2a.C This example is the same as tree2.C, but uses a class instead of a C-struct.
- 29. tree3.C Example of a Tree where branches are variable length arrays
- 30. tree4.C This example writes a tree with objects of the class Event.
- 31. treefriend.C Illustrates how to use Tree friends: