This directory ~twistonl/online/anal_scal contains a MIDAS style analyzer to make history plots of the scalers. The program is called anal_scal. What it does: ------------- It links to online data and reads in the SCALER events. It makes history plots for 1000 seconds of each scalers at histogram number (1000 + i) where i = scaler channel. Nov 2001, there are 18 channels read starting with the scal in the lowest slow number. hbook is linked to a shared memory section which name is defined in the ODB: "/ScalAnal/Output/Global Memory Name" (Nov 2001, default is ONSC) After each run the hbook file is saved. The filename is defined in the ODB: "/ScalAnal/Output/Histo Dump Filename" (Nov 2001, default is scal_hisxxxxx.rz where xxxxx is the run number) How to run it: ------------- From a window on account twistonl on midtwist, >cd ~/online/anal_scal >anal_scal -l Using PAW to look at the histograms: ------------------------------------ Either you can look at online data or saved files. For online data, use the PAW commands: global_sect ONSC Cdir //ONSC Compilation: ------------- It is compiled from the two files analyzer.c and scalhist.c You should only need to change scalhist.c for changing the histograms. >make ---> will generate program anal_scal ---------------------------------------------------------------- Renee Poutissou, Nov 2001