Closed fraivone closed 5 years ago
This file won't be built by the package right now since anaSbitReadout.py
isn't in the list of files in the Makefile
but anaSBit*.py
is. Rename this file via:
git mv anaSbitReadout.py anaSBitReadout.py
this will then be automatically picked up by the Makefile
.
Why have you modified basically every function in anautilties.py
? Additionally many of these changes are needless and unnecessary spacing changes? You're PR should only be modifying those files/functions that are actually related to the proposed feature implementation.
This script unpacks and plots data acquired with sbitReadout.py. The outputs are saved in
inputfolder/sbitReadOut/
IMPORTANT
gempython/gemplotting/utils/anautilities
needs to be modified. At the moment it works with VFAT2 map, in which channel number starts from 1. In order to use the script, I modified getMapping in my virtual environment as suggested here https://mattermost.web.cern.ch/cms-gem-daq/pl/y6r6cqn1rbfa7m38iwn1hb9t5egempython/gemplotting/mapping/
there must be located the files namedshortChannelMap_VFAT3-HV3b-V1_VFAT3-HV3b-V2.txt
longChannelMap_VFAT3-HV3b-V1_VFAT3-HV3b-V2.txt
, which are the outputs of Louis's pull request https://github.com/cms-gem-daq-project/gem-plotting-tools/pull/134/files#diff-5a657d72aa6d1b867b7000684423a4b1USAGE EXAMPLE
FURTHER DEVELOPMENTS
KNOWN ISSUES
I think it's cause ROOT doesn't expect to find headers in the .dat files opened with the ReadFile function. At the moment I don't know which is the simplest way to solve this (changing sbitReadout.py? changing the .dat files in this script?).
gempython/gemplotting/utils/anaoptions
, so it contains more options than actually implemented. This is a problem for the consistency of the help menu. At the moment I don't know how to show only the used options in the help menuTypes of changes
Screenshots (if appropriate):
Example of output in case of a Cd109 source placed underneath VFAT7
Checklist: