https://github.com/alexander-held/trexfitter-tools
Small helper scripts for use with the TRExFitter framework
https://github.com/alexander-held/trexfitter-tools
Last synced: 3 months ago
JSON representation
Small helper scripts for use with the TRExFitter framework
- Host: GitHub
- URL: https://github.com/alexander-held/trexfitter-tools
- Owner: alexander-held
- Created: 2020-02-06T18:30:49.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-02-12T16:14:28.000Z (over 4 years ago)
- Last Synced: 2024-12-27T03:41:51.706Z (5 months ago)
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TRExFitter-tools
Collection of tools for use with the [`TRExFitter`](https://gitlab.cern.ch/TRExStats/TRExFitter) framework used by the ATLAS experiment at the LHC. Some of these are also found on [gitlab](https://gitlab.cern.ch/alheld/).
- `getRatioTable.py`: produces a table of post- to pre-fit yield ratio, works with both `.tex` and `.txt` inputs. Call with the paths to pre-fit table and post-fit tables as arguments. Known limitation: does not properly treat positioning of `\hline` and does not update table caption for the `.tex` case.
- `copyFitHistograms.py`: copy histograms produced by one config to the right place for use by another config (useful if the same inputs are needed).
- `customAsimov.py`: produce the input for the NPValues option with all nuisance parameters fixed to their best-fit point. Takes a fit result `.txt` file as input.
- `removePulls.py`: center best-fit results at nominal pre-fit value, useful to combine constraints on nuisance parameters. Takes fit results `.txt` as input and creates a new file as output.
- `createPruningFunction.py`: create a function to prune nuisance parameters with small impact.
- `corrMatDiff.py`: visualize difference between two correlation matrices