-
Notifications
You must be signed in to change notification settings - Fork 2
Step 7: fitMtt
Anne-Laure Pequegnot edited this page Jul 3, 2014
·
5 revisions
The aim of this utility is to fit tt mass spectrum, especially to fit the background with the right PDF (background + signal) and to extract the number of signal events. It carries also the likelihood scan.
USAGE:
./fitMtt {--input-list <string>|-i <string>} [-o <string>] [--combine]
[--save-workspace] [--fix-background] [--workspace <string>]
[--config-file <string>] [--batch] [-v] [--b-tag <int>]
[--muons-only] [--bkg-only] [--eff-file <string>]
[--output-path <string>] [--path <string>] [--syst <nominal
|JECup|JECdown>] [--index <integer>] [--toys <integer>]
[--bias-test] [--no-figs] [--no-root-files] [--no-fit] -m
<integer> [--] [--version] [-h]
Where:
--input-list <string>
(OR required) A text file containing a list of input files
-- OR --
-i <string>, --input-file <string>
(OR required) The input file
-o <string>, --output-file <string>
The output filename of the workspace to produce
--combine
Create a workspace compatible with combine for limits computation
--save-workspace
Save the workspace for redoing plot after
--fix-background
Fit once with background only, then fix the background and refit
background + signal
--workspace <string>
Use a custom workspace containing the signal pdf to use
--config-file <string>
Configuration file name containing fit parameters
--batch
Run in batch mode
-v, --verbose
Verbose mode
--b-tag <int>
Number of b-tagged jets
--muons-only
Compute limits using only semi-mu data
--bkg-only
Fit using background model only
--eff-file <string>
File where efficiences are stored (JSON format)
--output-path <string>
Folder where output files are stored
--path <string>
Folder where to load files
--syst <nominal|JECup|JECdown>
Systematic
--index <integer>
Index
--toys <integer>
Number of toys exp.
--bias-test
Do the bias test
--no-figs
Don't save figures
--no-root-files
Don't write root files
--no-fit
Don't do the reference fit
-m <integer>, --mass <integer>
(required) Particle mass
--, --ignore_rest
Ignores the rest of the labeled arguments following this flag.
--version
Displays version information and exits.
-h, --help
Displays usage information and exits.
Fit> ./fitMtt -m 750 --b-tag 3 -i ../Extractor2Dataset/datasets/Latest/data/MTT_Data_merged.root --combine
--b-tag 3 = combine 1+2 b-tag categories
--b-tag 4 = combine 0+1+2 b-tag categories
--b-tag 5 = combine 0+1 b-tag categories
For all Zprime masses:
Fit> ./fitMttZprimeForAllMasses.py