Threshold scan analysis
Description
This MR aims at implementing an analysis routine for the threshold scan. In particular, the following features are implemented:
- Non-working channels are identified and saved into a file (distinguishing between broken channels and the channels from a not readout VFAT).
- A report with the fractions of working, broken, and not-readout channels for each FED and OH is printed on the console.
- 3D histograms are made to display the number of hits for each channel as a function of the threshold.
Related Issue
Fixes #42 (closed).
How Has This Been Tested?
The current code thr_scan_analysis.py
can be used through gemos
command.
gemos analyze thresh inputfiles outputdir [--mapping] [--plotting]
Types of changes
-
Bug fix (non-breaking change which fixes an issue) -
New feature (non-breaking change which adds functionality) -
Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
-
My code follows the code style of this project. -
My change requires a change to the documentation. -
I have updated the documentation accordingly. -
I have read the CONTRIBUTING document. -
I have added tests to cover my changes. -
All new and existing tests passed.
Edited by Laurent Petre