ROOT
master
Reference Guide
Loading...
Searching...
No Matches
hist2workspace-argparse.py
Go to the documentation of this file.
1
import
argparse
2
3
4
def
get_argparse
():
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
hist2workspace-argparse.get_argparse
get_argparse()
Definition
hist2workspace-argparse.py:4
roofit
histfactory
src
hist2workspace-argparse.py
ROOT master - Reference Guide Generated on Tue Dec 10 2024 09:34:28 (GVA Time) using Doxygen 1.9.8