ROOT
v6-26
Reference Guide
Loading...
Searching...
No Matches
hist2workspace-argparse.py
Go to the documentation of this file.
1
import
argparse
2
3
def
get_argparse
():
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
9
This 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
11
bin of the histogram. This can become slow and memory intensive when there are many bins.
12
"""
)
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'
)
15
return
parser
hist2workspace-argparse.get_argparse
get_argparse()
Definition
hist2workspace-argparse.py:3
roofit
histfactory
src
hist2workspace-argparse.py
ROOT v6-26 - Reference Guide Generated on Mon Sep 11 2023 21:02:47 (GVA Time) using Doxygen 1.9.8