Some (hopefully useful) ROOT macros | |||
---|---|---|---|
Download and unpack: tar xzf makeCal.tgz look at: README |
Get makeCal.tgz |
Make calendar sheet | |
View waves.C |
Get waves.C.gz |
Interference pattern in a double slit experiment | |
View projxy.C |
Get projxy.C.gz |
Draw 2-dim histogram together with projX and projY | |
View c_axis.C |
Get c_axis.C.gz |
Draw 2 histograms with common Xaxis (clued together) | |
View fitmany.C |
Get fitmany.C.gz |
Loop on root files, extract histogram, fit a region filenames, limits are read from file fitresults are written to file |
|
View sum_of_funcs.C |
Get sum_of_funcs.C.gz |
Usage of TF1, Sum of (normal C++) functions | |
View nucleus.C |
Get nucleus.C.gz |
Example with 3D Objects | |
View paintarea.C |
Get paintarea.C.gz |
Highlight part of a histogram | |
Download and unpack: tar xzf color_player.tgz look at: AAA_README |
Get color_player.tgz |
A Color palette player | |
View spiral.C |
Get spiral.C.gz |
A 3D Movie | |
View fitcontour.cxx |
Get fitcontour.cxx.gz |
Fit an ellipse as contour line to a 2-dim histogram | |
View MyVec.cxx |
Get MyVec.cxx.gz |
A TVectorD with I/O from / to flat ASCII file | |
View table2graph.C |
Get table2graph.C.gz |
Generate TGraph, TGraphErrors from columns in datafile a la gnuplot |