cms-gem-detqc-project / CMS_GEM_Analysis_Framework

Analysis framework for the CMS GEM collaboration
GNU General Public License v3.0
0 stars 4 forks source link

Helper Scripts - Parsing Excel Files to genericPlotter #2

Closed akotsoke closed 7 years ago

akotsoke commented 7 years ago

Description

Helper scripts: consist of the main script: Produce_Config_File.py and the additional scripts: QC3.py, QC4_HV.py, QC4_SS.py, QC5_Gain.py, QC5_Rate.py

The main script (Produce_Config_File.py) is designed to read selected columns from an excel file and produce a config file in the genericPlotter input style. Following, the produced config file can be used as an input file by genericPlotter to create a graph in the official CMS style (for more information look at 3.b.ii.I chapter of readme file).

The additional scripts are designed to give specific instructions to the main script about the style and the columns plotted depending on the kind of test (for more information look at 3.b.ii.II chapter of readme file)

Other scripts used by the helper scripts:

-PlotOptions.py: contains all the options available for the main script (Produce_Config_File.py) -wrappers.py: Provides a wrapper around the subprocess.call command (author: Jared Sturdy ) -gemlogger.py: contains functions used by wrappers.py (author: Jared Sturdy )

Types of changes

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Checklist: