How to get top drawer and use it with madevent

If you have played around with madevent you realize there is a plot command which takes the events you generate and plots almost any possible kinematical distribution you could think of but stores it in a strange format called top drawer. There will be a top drawer file that contains all the plots and if you look at the file you can just pick off the plot data you want and copy it into your favorite plotting program. However you can also use the plotting program top drawer on the file that is generated for you... Jay has been nice enough to look up the program and the following information is about documentation, ports for linux and the most useful commands. One other thing the default is to plot white on white so dont worry if it doesnt look like it does anything at first!

http://www.nscl.msu.edu/~tsang/topdrawer/README
has all the documentation for the port, although it is not in a very user friendly style a reference manual for the VMS version, which precedes the linux port, is on

http://www.pa.msu.edu/reference/topdrawer-docs/

ftp://iris.riken.go.jp/pub/topdrawer/

is where you can get the source/redhat rpm's to install the program. I was able to use the latest redhat binary (redhat 7) with my fedora core 3 distribution. People might want to just get all the source, from the topdrawer- all.tar.gz file.

The most useful command I've found is to convert the plot data to postscript, which is done with the command
td -d ps
-d is the device flag, and ps labels the postscript device.