MAPIT is a paw kumac that uses MONTIOR produced wire vs.
layer histograms and Burin's wire map to compare data with
segments of the electronics (e.g. STB, ADB..). In the clasrun/dc
directory, you will find the file MAPIT.kumac. You use
it inside PAW. Inside paw, set current directory to
the MONITOR HBOOK file you want to look at. There are a
few *.hbook files in that directory that I have looked at.
I believe they were made by MONITOR sometime during the June
run. Then, type 'exec mapit'. Without arguements, it prompts
you for input to define the file (D sets it to the current
PAW directory), set the type of electronics, region, sector,
and electronics number (e.g. region 1, sector 4, axial, ADB
15, connector 1). The macro then displays the data in light
blue color, the channels of the electronics module you chose
in yellow, and the overlap in dark blue. We found situations
where there were a bunch of hot wires and you couldn't see the
data under the overlay without the change in color to dark blue.
You can then do another case where typing 'Carriage return' gets
the same value you just did.
DC_RAW is a c program with FORTRAN subroutines that does the same
calculations as MONITOR, but has none of the DD ring stuff. Thus,
it can be used on computers other than the CLON's. On the clon
cluster, it can be found in clasrun/dc/ana_raw directory. It also has
direct HBOOK file output rather than the paw global section output
you get with MONITOR. It also has a front end much like RECSIS.
Finally, it has the capability of defining histograms at run
time that will accumulate histograms of time spectra for individual
TDC's, i.e. a single wire. Running the program (type 'dc_raw' in
the clasrun/dc/ana_raw directory, you get a command prompt.
You can then set parameters such as input file, output file,
start event, and end event. The command 'numtdc' changes the number
of spectra reserved for the single TDC's. The command 'tdc' changes
the wire used to update a histogram. Type 'help' to get and ascii
printout of the help document. Type 'help2' to get a TCL window
with the help document. The help file is, I think, HELPME_RAW,
in the same subdiorectory. You type 'run' or 'exec' to start
analyzing. The only output is a hbook file. It will have the
standard MONITOR histograms (DC only, no subdirectories) plus
the new individual TDC spectra.
I tried these out on clon00 yesterday. The only problem I saw was
that the individual tdc spectra didn't have the region, sector, layer,
and wire id in the histogram title. They used to have that. I will
fix when I have time or a new student.
happy debugging,
Steve Dytman