add a new button to mott screen: data analysis this opens a window: latest mott coda run:...

7
Add a new Button to Mott Screen: Data Analysis This opens a window: Latest Mott CODA Run: rcRunNumber Analysis Run Number: anaRunNumber Decode Run Analyze Run Display Figures Log Run Analysis

Upload: cuthbert-lloyd

Post on 21-Jan-2016

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Add a new Button to Mott Screen: Data Analysis This opens a window: Latest Mott CODA Run: rcRunNumber Analysis Run Number: anaRunNumber Decode Run Analyze

Add a new Button to Mott Screen: Data AnalysisThis opens a window:

Latest Mott CODA Run: rcRunNumber

Analysis Run Number: anaRunNumber

Decode Run

Analyze Run

Display Figures

Log Run Analysis

Page 2: Add a new Button to Mott Screen: Data Analysis This opens a window: Latest Mott CODA Run: rcRunNumber Analysis Run Number: anaRunNumber Decode Run Analyze

rcRunNumber:

• This is the latest CODA Run Number (we will not use the EPICS Channel RunNumber because it is set to 0 once CODA Run stops)

• Where to find:I. ssh idaq@opsmdaq0II. ./bin/dfilename

Latest Mott CODA Run: rcRunNumber

Page 3: Add a new Button to Mott Screen: Data Analysis This opens a window: Latest Mott CODA Run: rcRunNumber Analysis Run Number: anaRunNumber Decode Run Analyze

anaRunNumber:

• This field is entered by hand. If no value or 0 is entered, then use rcRunNumber

Analysis Run Number: anaRunNumber

Page 4: Add a new Button to Mott Screen: Data Analysis This opens a window: Latest Mott CODA Run: rcRunNumber Analysis Run Number: anaRunNumber Decode Run Analyze

How to decode a run

• ssh idaq@opsmdaq0• cd /work/idaq/Mott/Analysis/decoder/• decode.pl anaRunNumber

Please show the xterm that has the decoding process

Decode Run

Page 5: Add a new Button to Mott Screen: Data Analysis This opens a window: Latest Mott CODA Run: rcRunNumber Analysis Run Number: anaRunNumber Decode Run Analyze

How to analyze a run

• ssh idaq@opsmdaq0• cd /work/idaq/Mott/Analysis/macro/Full_Analysis/• ./FullAnalysis anaRunNumber

Please show the xterm that has the analysis process

Analyze Run

Page 6: Add a new Button to Mott Screen: Data Analysis This opens a window: Latest Mott CODA Run: rcRunNumber Analysis Run Number: anaRunNumber Decode Run Analyze

How to display figures

• ssh idaq@opsmdaq0• cd /work/idaq/Mott/Analysis/macro/Figures• ./eog *anaRunNumber*.gif

Display Figures

Page 7: Add a new Button to Mott Screen: Data Analysis This opens a window: Latest Mott CODA Run: rcRunNumber Analysis Run Number: anaRunNumber Decode Run Analyze

Logbook: MOTTLOG Author: idaq Tag Filters: Autolog Title: “Analysis Summary of run number anaRunNumber”

Each Entry has:1. Text from file Analysis_anaRunNumber.txt:• ssh idaq@opsmdaq0• cd /work/idaq/Mott/Analysis/macro/TextFiles• rm Analysis_anaRunNumber.txt• cd /work/idaq/Mott/Analysis/macro/Full_Analysis/• ./FullAnalysis anaRunNumber > ../TextFiles/Analysis_anaRunNumber.txt

2. Figures:• ssh idaq@opsmdaq0• cd /work/idaq/Mott/Analysis/macro/Figures• Attach all *anaRunNumber*.gif figures

Log Run Analysis