4 DESCRIPTION =
"""hist2workspace is a utility to create RooFit/RooStats workspace from histograms
6 parser = argparse.ArgumentParser(prog=
'hist2workspace',
7 description = DESCRIPTION)
8 parser.add_argument(
"-standard_form", help=
"""default model, which creates an extended PDF that interpolates between RooHistFuncs
9This is much faster
for models
with many bins
and uses significantly less memory
""")
10 parser.add_argument("-number_counting_form", help="""This was the original model
in 5.28 (without patches). It uses a Poisson
for each
11bin of the histogram. This can become slow
and memory intensive when there are many bins.
13 parser.add_argument("-v", help="""Switch HistFactory message stream to INFO level.
""", action='store_true')
14 parser.add_argument("-vv", help="""Switch HistFactory message stream to DEBUG level.
""", action='store_true')