Logo ROOT  
Reference Guide
hist2workspace-argparse.py
Go to the documentation of this file.
1import argparse
2
4 DESCRIPTION = """hist2workspace is a utility to create RooFit/RooStats workspace from histograms
5"""
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.
12""")
13 return parser