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

Fix multiple identical ohKey in `crateMap` in `dacAnalysis` #221

Closed lpetre-ulb closed 5 years ago

lpetre-ulb commented 5 years ago

Title speaks for itself.

Fixes #219.

Description

The vfatID branch was added without removing it from the crateMap creation.

Types of changes

Motivation and Context

See issue #219.

How Has This Been Tested?

anaDACScan.py can be called without crashing:

[lpetre@gem-daq 2019.06.18.10.03]$ anaDACScan.py --calFileList calFileList.txt dacScanV3.root
Analyzing: 'dacScanV3.root'
Loading info from input TTree
Initializing TObjects
Looping over stored events in dacScanTree
fitting DAC vs. ADC distributions
Determining nominal values for bias voltage and/or current settings
Writing output data
Info in <TCanvas::Print>: png file /home/lpetre/data/elog/GE11-X-S-FRASCATI-0008/Summary_GE11-X-S-FRASCATI-0008_DACScan_CFG_BIAS_SD_I_BFCAS.png has been created

Analysis completed. Goodbye

Checklist:

bdorney commented 5 years ago

Nice catch! Yup that explains it perfectly.