cms-gem-daq-project / gem-plotting-tools

Repository for GEM commissioning plotting tools
GNU General Public License v3.0
1 stars 26 forks source link

New Feature: Plotting Time Series HV Plots from DCS Monitoring Files #222

Closed bdorney closed 5 years ago

bdorney commented 5 years ago

Description

Takes TFiles produced by tools provided:

https://github.com/cms-gem-daq-project/gem_ops/pull/6

And prepares summary plots.

Types of changes

Motivation and Context

It's difficult to go through the 904 DCS GUI to scroll back in time to find what happened in a particular HV event. This tool will make helpful summary plots that can be used for understanding HV events on QC8 (and later P5).

How Has This Been Tested?

Help menu:

% plotTimeSeriesHV.py -h
usage: plotTimeSeriesHV.py [-h] (-a | -t | -b) [-d] [-o OUTFILENAME] [-u]
                           inputfile row column

Arguments to supply to plotTimeSeriesHV.py

positional arguments:
  inputfile             TFile containing DCS output files
  row                   Row of QC8 stand
  column                Column of QC8 stand

optional arguments:
  -h, --help            show this help message and exit
  -a, --allLayers       Both stand layers
  -t, --top             Stand Layer is TOP
  -b, --bot             Stand Layer is BOT
  -d, --debug           Prints additional debugging info
  -o OUTFILENAME, --outfilename OUTFILENAME
                        output name of TFile
  -u, --update          Instead of overwriting a pre-existing output file,
                        adding this option will simply update that file

Example Call

plotTimeSeriesHV.py -a QC8_HV_monitor_UTC_start_2019-06-12_21-34-32_end_2019-06-12_21-44-32.root 1 2

Screenshots

Screen Shot 2019-06-20 at 6 28 59 PM

shots (if appropriate):

Checklist: