Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
hist2workspace-argparse.py
Go to the documentation of this file.
1import argparse
2
3
5 DESCRIPTION = "hist2workspace is a utility to create RooFit/RooStats workspace from histograms"
6 parser = argparse.ArgumentParser(prog="hist2workspace", description=DESCRIPTION)
7 parser.add_argument("-v", help="switch HistFactory message stream to INFO level", action="store_true")
8 parser.add_argument("-vv", help="switch HistFactory message stream to DEBUG level", action="store_true")
9 parser.add_argument(
10 "-disable_binned_fit_optimization",
11 help="disable the binned fit optimization used in HistFactory since ROOT 6.28",
12 action="store_true",
13 )
14 return parser