Project

General

Profile

Support #817

Scalers Analysis

Added by Dobbs, Adam almost 11 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Start date:
08 December 2011
Due date:
% Done:

100%

Estimated time:

Description

I am trying to recreate the functionality of the old Scalers app from G4MICE. The way to do this seems to be running the analyse_data_offline.py script over a particular run file. The resulting json document holds one spill per line. Reading this into python, for each line, entering the keys ['daq_data']['V830']['channels'] returns a python dictionary holding the channels data, with the channel number in the form ch1 through ch31 as the keys, and the scaler data as the values.

So, two questions:

1. Is what I have said above correct?
2. Is there a table somewhere which says ch1 = trigger requests, ch2 = something else, etc?

The next step would then be to make a python script which reads in this channel data, spill by spill, and then dumps it in easily readable ascii or ROOT file.

Also available in: Atom PDF