usage: grepScaler spec,bank:channel[,bank:channel[,...]] run#
It is a simple script to grep scaler data from the *.scaler files. spec is either e or h. It is comma-separated from a list of also comma-separated pairs of bank #s and channel #s, which are separated by a colon.
example: grepScaler e,5:8,5:9 1006
greps the clock and Unser information of the electron arm from the scaler/e89044_1006.dat.*.scaler files and prints them to stdout. You can find the raw data structure, which is frequently updated by Bob, on the Hall A
example 2: grepScaler h,5:8,2:3,1:2,7:1 2007
greps the hardware clock, S1 right 3rd paddle, S1 left 2nd paddle, and gas Cerenkov 1st mirror of the hadron arm from the scaler/e89044_2007.dat.*.scaler files (actually, here is only a *.0.scaler).
usage: grepEpics parameter[,parameter[,...]] firstrun [lastrun]
It is a simple script to grep epics data from the *.epics files.
example: grepEpics hac_bcm_average 1843
greps the hac_bcm_average information from the epics/e89044_1843.dat.*.epics files and prints it to stdout. Anyway, the column contains the date extracted from the epics event. The units for the date are the days since Nov 1 00:00:00 EST 1999.
example 2: grepEpics haITC502_1_Sensor_1_R,haITC502_1_Sensor_2_R 2500 2511
greps two target temperature readings of the first ITC502 from all files between run # 2500 and 2511 (inclusive) and prints them to stdout.
Flaws: