Spectrum Analyzers
From tigwiki
Contents |
[edit] Roody
Roody is an auxilliary MIDAS client used for viewing spectra. It's slow and crashes a lot.
[edit] Starting Roody
Roody is a total memory hog, so it is best to use it on a machine other than midtig02. The client page says to use it on midtig01, but really, you can use it on any machine, including the one next to midtig02. JUST PLEASE PLEASE PLEASE PLEASE DON'T USE ROODY ON MIDTIG02.
- To launch roody: the command is just roody
- From the pull-down menu, go File -> Open Online. Then type in midtig02.
- From the pull-down menu, go File -> Restore . In the file selector window, find and select /home/tigress/tigcol2/setup.xml .
- You can also view old files with the pull-down menu File -> Open File .
[edit] Using Roody
- Roody is based on Root, and as such has a lot of Root features. Context-sensitive menus are one of the neater sets of features. A right-click brings up a menu that varies based on whatever you clicked on. One disadvantage of this is that a lot of functions that you might like to have easy to access, are embedded in a context-sensitive menu that might be difficult to find. For example, if you want to unzoom a spectrum, you have to right-click somewhere around the x-axis labels until you see Unzoom in the menu. To set a log scale, you have to poke around to the left of the y-axis labels. (I think). It's a bit of an infinite monkeys problem.
- The middle button (or pressing down on the wheel) will select a given panel within a canvas. This may be useful for fitting one spectrum out of a multi-panel canvas.
- Refresh is found in the main Roody window, and nowhere on any of the spectrum windows.
- If you are using Roody on a machine other than midtig02, you need to put in the full path of the midtig02 disk on our cluster. These have the form /tig/machine_disk (no, it isn't very elegant). Say for example you want to inspect the histograms from run 2350. They might be loggede by midtig02 onto /data/tigress/july07/his02350.root . If you are running Roody on midtig01, you need to specify the file as /tig/midtig02_data/july07/his02340.root .
- If you get a "Cannot read file attributes" window -- ignore it.
- Whatever you do, be patient. Connecting to files takes a long time. Connecting to on-line spectra takes longer.
[edit] Carpere
Carpere was provided by Luke Erikson. It was originally written for DRAGON experiments. It is a not-quite-perfect but still somewhat better alternative to Roody.
[edit] Running on Midtig02
- cd ~/packages/csm
- source tools/aries.csh
- bin/carpere7 -histos midtig02.carpere -delay 2000
Edit midtig02.carpere or better yet copy and edit a new file and use it as the -histos argument to specify custom panels etc.
[edit] Running elsewhere
If you are running elsewhere, add -host midtig02 to the command line. You may also wish to add -delay 2000 or some similar delay (in ms, I think) so the histograms aren't constantly updating and hogging bandwidth.
[edit] Documentation
The current source codes and full documentation for carpere is password-protected at [1]. Ask Greg or Erik for the password. A recent snapshot of the documentation can be found on the Plone site.
The format of the .carpere histogram-definition files can be found at the Carpere Format page.

