def datacards.Datacards.__init__ |
( |
|
self, |
|
|
|
cb = None |
|
) |
| |
def datacards.Datacards.add_bin_by_bin_uncertainties |
( |
|
self, |
|
|
|
processes, |
|
|
|
add_threshold = 0.1 , |
|
|
|
merge_threshold = 0.5 , |
|
|
|
fix_norm = True |
|
) |
| |
def datacards.Datacards.add_processes |
( |
|
self, |
|
|
|
channel, |
|
|
|
categories, |
|
|
|
bkg_processes, |
|
|
|
sig_processes = ["ztt"] , |
|
|
|
add_data = True , |
|
|
|
args, |
|
|
|
kwargs |
|
) |
| |
def datacards.Datacards.annotate_trees |
( |
|
self, |
|
|
|
datacards_workspaces, |
|
|
|
root_filename, |
|
|
|
value_regex_list, |
|
|
|
value_replacements = None , |
|
|
|
n_processes = 1 , |
|
|
|
values_tree_files = None , |
|
|
|
args |
|
) |
| |
def datacards.Datacards.auto_rebin |
( |
|
self, |
|
|
|
bin_threshold = 1.0 , |
|
|
|
rebin_mode = 0 |
|
) |
| |
def datacards.Datacards.combine |
( |
|
self, |
|
|
|
datacards_cbs, |
|
|
|
datacards_workspaces, |
|
|
|
datacards_poi_ranges = None , |
|
|
|
n_processes = 1 , |
|
|
|
args, |
|
|
|
kwargs |
|
) |
| |
def datacards.Datacards.create_morphing_signals |
( |
|
self, |
|
|
|
morphing_variable_name, |
|
|
|
nominal_value, |
|
|
|
min_value, |
|
|
|
max_value |
|
) |
| |
def datacards.Datacards.extract_shapes |
( |
|
self, |
|
|
|
root_filename_template, |
|
|
|
bkg_histogram_name_template, |
|
|
|
sig_histogram_name_template, |
|
|
|
bkg_syst_histogram_name_template, |
|
|
|
sig_syst_histogram_name_template, |
|
|
|
update_systematics = False |
|
) |
| |
def datacards.Datacards.get_samples_per_shape_systematic |
( |
|
self, |
|
|
|
channel = None , |
|
|
|
category = None , |
|
|
|
kwargs |
|
) |
| |
def datacards.Datacards.get_yield_unc_rel |
( |
|
histogram_path, |
|
|
|
root_file, |
|
|
|
root_object_paths |
|
) |
| |
|
static |
Extracts the data from background estimation methods stored in the metadata TObjString.
def datacards.Datacards.hypotestresulttree |
( |
|
self, |
|
|
|
datacards_cbs, |
|
|
|
n_processes = 1 , |
|
|
|
rvalue = "1" , |
|
|
|
poiname = "x" |
|
) |
| |
def datacards.Datacards.lnN2shape |
( |
|
self, |
|
|
|
kwargs |
|
) |
| |
def datacards.Datacards.nuisance_impacts |
( |
|
self, |
|
|
|
datacards_cbs, |
|
|
|
datacards_workspaces, |
|
|
|
n_processes = 1 , |
|
|
|
args |
|
) |
| |
def datacards.Datacards.plot1DScan |
( |
|
self, |
|
|
|
datacards_cbs, |
|
|
|
datacards_workspaces, |
|
|
|
poi, |
|
|
|
n_processes = 1 , |
|
|
|
args, |
|
|
|
kwargs |
|
) |
| |
def datacards.Datacards.postfit_shapes |
( |
|
self, |
|
|
|
datacards_cbs, |
|
|
|
s_fit_only = False , |
|
|
|
n_processes = 1 , |
|
|
|
args, |
|
|
|
kwargs |
|
) |
| |
def datacards.Datacards.postfit_shapes_fromworkspace |
( |
|
self, |
|
|
|
datacards_cbs, |
|
|
|
datacards_workspaces, |
|
|
|
s_fit_only = False , |
|
|
|
n_processes = 1 , |
|
|
|
args, |
|
|
|
kwargs |
|
) |
| |
def datacards.Datacards.prefit_postfit_plots |
( |
|
self, |
|
|
|
datacards_cbs, |
|
|
|
datacards_postfit_shapes, |
|
|
|
plotting_args = None , |
|
|
|
n_processes = 1 , |
|
|
|
signal_stacked_on_bkg = False , |
|
|
|
args, |
|
|
|
kwargs |
|
) |
| |
def datacards.Datacards.print_pulls |
( |
|
self, |
|
|
|
datacards_cbs, |
|
|
|
n_processes = 1 , |
|
|
|
args, |
|
|
|
kwargs |
|
) |
| |
def datacards.Datacards.pull_plots |
( |
|
self, |
|
|
|
datacards_postfit_shapes, |
|
|
|
s_fit_only = False , |
|
|
|
plotting_args = None , |
|
|
|
n_processes = 1 , |
|
|
|
args |
|
) |
| |
This method is depreceated since there exists an official way to produce the impacts of nuisance parameters.
def datacards.Datacards.read_datacards |
( |
|
self, |
|
|
|
datacard_filename_template, |
|
|
|
root_filename_template, |
|
|
|
input_directory = "." |
|
) |
| |
def datacards.Datacards.remove_shape_uncertainties |
( |
|
self | ) |
|
def datacards.Datacards.replace_observation_by_asimov_dataset |
( |
|
self, |
|
|
|
signal_mass = None , |
|
|
|
signal_processes = None |
|
) |
| |
def datacards.Datacards.scale_expectation |
( |
|
self, |
|
|
|
scale_factor, |
|
|
|
no_norm_rate_bkg = False , |
|
|
|
no_norm_rate_sig = False |
|
) |
| |
def datacards.Datacards.scale_processes |
( |
|
self, |
|
|
|
scale_factor, |
|
|
|
processes, |
|
|
|
no_norm_rate = False |
|
) |
| |
def datacards.Datacards.text2workspace |
( |
|
self, |
|
|
|
datacards_cbs, |
|
|
|
n_processes = 1 , |
|
|
|
args, |
|
|
|
kwargs |
|
) |
| |
def datacards.Datacards.write_datacards |
( |
|
self, |
|
|
|
datacard_filename_template, |
|
|
|
root_filename_template, |
|
|
|
output_directory = "." |
|
) |
| |
datacards.Datacards.configs |
datacards.Datacards.morphing_variable |
datacards.Datacards.stable_options |
datacards.Datacards.workspace |
The documentation for this class was generated from the following file: