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

Bug fix in computeGainMap.py #10

Closed bdorney closed 6 years ago

bdorney commented 6 years ago

Description

Bug in: python/computeGainMap.py the output TFile was not being passed properly to the AnalysisSuiteGainMap object at initialization.

Types of changes

Motivation and Context

Script crashed upon execution.

How Has This Been Tested?

Ran analysis:

% python2.7 python/computeGainMap.py --file=/afs/cern.ch/user/j/jmerlin/public/GE11-S-X-CERN-0001_Physics_XRay_585uA_40kv_100uA.root --gp0=3.69094e-02 --gp0Err=5.91658e-05 --gp1=-1.51103e+01 --gp1Err=3.72196e-02 --name=GE11-X-S-CERN-0001 --hvPoint=585 --hvlist=600,625,650,660,670,680,690,700,710,720,730 --fileMap=config/Mapping_GE11-VII-S.cfg

Which produced the expected output: GainMap_GE11-X-S-CERN-0001.root

See screenshot below.

Screenshots (if appropriate):

screen shot 2017-10-06 at 17 44 20

Checklist: