I  order to get the domid, mbid and name, all sorted according to DOMIDs, go to a directory containing the .moni files

produced by multimon and run mbids-grab

For getting the various rates, standard deviation, P/T, High Voltages, Temperatures and spikes,

all this information ends up in the file histo-clean.txt. To create this file give the following command

for each multimon day at the two gain settings (e.g. /mnt/data/testdaq/monitoring/2005/11/1e7-27):
nohup spikes.v3.pl mostProbable 10 -100 100&

 

The file histo-clean.txt contains the following information:

 

MBid

Tmax

Tmin

Tave

HVmax

HVmin

HV

P/Tmax

P/Tmin

P/Tave

max rate

min rate

Cmean

Cwidth

Ccons

Nspikes

cr2

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

 

This information is listed in columns. To extract e.g. the Tmin do:

cat histo-clean.txt | awk '{print $1" "$3}'

 

To get it sorted by MBid do: 

cat histo-clean.txt|sort| awk '{print $1" "$3}'

 

If one uses the example spreadsheet (which can be found at the main instruction page), one needs the following order:

(remember to sort the spreadsheet by the MBID)

For the 1E7 gain setting (to be used in the 1E7 monitoring directory):

cat histo-clean.txt | sort |awk '{print $1" "$11" "$12 " "$13}'

And for the 5E7 gain (and the rest) (to be used in the 5E7 monitoring directory):

 

cat histo-clean.txt | sort |awk '{print $1" "$11" "$12 " "$13" "$14" "$2 " "$3" "$10" "$6" "$5}'

 

 

For finding the spikes:


Getting the number of spikes: from /home/testdaq/monitoring/yy/mm do:

 cat */histo-clean.txt | awk '{print $1" "$16}'  | grep -v " 0" | sort