HiggsAnalysis-KITHiggsToTauTau
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
makePlots_datacardsSMHtt_limitProjection.py File Reference

Namespaces

 makePlots_datacardsSMHtt_limitProjection
 

Functions

def makePlots_datacardsSMHtt_limitProjection.poi_ranges_default
 
def makePlots_datacardsSMHtt_limitProjection.poi_ranges_default_bbb
 
def makePlots_datacardsSMHtt_limitProjection.poi_ranges_fermion
 
def makePlots_datacardsSMHtt_limitProjection.poi_ranges_rf
 
def makePlots_datacardsSMHtt_limitProjection.poi_ranges_fermion_bbb
 
def makePlots_datacardsSMHtt_limitProjection.poi_ranges_vector
 
def makePlots_datacardsSMHtt_limitProjection.poi_ranges_vector_bbb
 

Variables

tuple makePlots_datacardsSMHtt_limitProjection.log = logging.getLogger(__name__)
 
dictionary makePlots_datacardsSMHtt_limitProjection.models
 
tuple makePlots_datacardsSMHtt_limitProjection.parser
 
string makePlots_datacardsSMHtt_limitProjection.help = "Datacards."
 
tuple makePlots_datacardsSMHtt_limitProjection.choices = models.keys()
 
tuple makePlots_datacardsSMHtt_limitProjection.args = parser.parse_args()
 
list makePlots_datacardsSMHtt_limitProjection.cv_bins = [float(b) for b in args.cv_bins.split(",")]
 
list makePlots_datacardsSMHtt_limitProjection.cf_bins = [float(b) for b in args.cf_bins.split(",")]
 
list makePlots_datacardsSMHtt_limitProjection.rv_bins = [float(b) for b in args.rv_bins.split(",")]
 
list makePlots_datacardsSMHtt_limitProjection.rf_bins = [float(b) for b in args.rf_bins.split(",")]
 
tuple makePlots_datacardsSMHtt_limitProjection.datacards_configs = datacardconfigs.DatacardConfigs()
 
list makePlots_datacardsSMHtt_limitProjection.plot_configs = []
 
tuple makePlots_datacardsSMHtt_limitProjection.cb = ch.CombineHarvester()
 
tuple makePlots_datacardsSMHtt_limitProjection.template_tag = template.split("$")
 
tuple makePlots_datacardsSMHtt_limitProjection.matched_template = os.path.join(datacard[:datacard.index(template_tag)], template)
 
tuple makePlots_datacardsSMHtt_limitProjection.datacards = smhttdatacards.SMHttDatacards(cb=cb)
 
tuple makePlots_datacardsSMHtt_limitProjection.model_settings = models.get(model, {})
 
dictionary makePlots_datacardsSMHtt_limitProjection.datacards_workspaces = {}
 
 makePlots_datacardsSMHtt_limitProjection.output_dir_base = args.output_dir
 
tuple makePlots_datacardsSMHtt_limitProjection.sub_dir_base = os.path.join("projection", model, "statUnc" if freeze_syst_uncs else "totUnc")
 
dictionary makePlots_datacardsSMHtt_limitProjection.datacards_cbs = {}
 
dictionary makePlots_datacardsSMHtt_limitProjection.datacards_poi_ranges = {}
 
tuple makePlots_datacardsSMHtt_limitProjection.output_dir = os.path.join(output_dir_base, "{:06}".format(lumi))
 
tuple makePlots_datacardsSMHtt_limitProjection.scaled_datacards = smhttdatacards.SMHttDatacards(cb=datacards.cb.deep())
 
 makePlots_datacardsSMHtt_limitProjection.lumi_scale_factor = lumi/args.lumi_datacards
 
tuple makePlots_datacardsSMHtt_limitProjection.scaled_datacards_cbs
 
tuple makePlots_datacardsSMHtt_limitProjection.poi_ranges = fit_settings.get("poi_ranges"+("_bbb" if args.with_bbb_uncs else ""), None)
 
list makePlots_datacardsSMHtt_limitProjection.json_configs = [jsonTools.JsonDict(os.path.expandvars(json_config_file)).doIncludes().doComments() for json_config_file in fit_settings.get("plots_per_lumi", [])]
 
tuple makePlots_datacardsSMHtt_limitProjection.srcs
 
tuple makePlots_datacardsSMHtt_limitProjection.dst = src.replace(sub_dir_base.replace("statUnc", "totUnc"), sub_dir_base)
 
list makePlots_datacardsSMHtt_limitProjection.text2workspace_args = []
 
tuple makePlots_datacardsSMHtt_limitProjection.tmp_physics_option
 
list makePlots_datacardsSMHtt_limitProjection.tmp_datacards_workspaces = datacards_workspaces[fit_name]
 
tuple makePlots_datacardsSMHtt_limitProjection.tmp_fit_options = fit_options.get("options", "")
 
tuple makePlots_datacardsSMHtt_limitProjection.CVCF_BINS = int(cv_bins[0] * cf_bins[0])
 
list makePlots_datacardsSMHtt_limitProjection.CV_MIN = cv_bins[1]
 
list makePlots_datacardsSMHtt_limitProjection.CV_MAX = cv_bins[2]
 
list makePlots_datacardsSMHtt_limitProjection.CF_MIN = cf_bins[1]
 
list makePlots_datacardsSMHtt_limitProjection.CF_MAX = cf_bins[2]
 
tuple makePlots_datacardsSMHtt_limitProjection.RVRF_BINS = int(rv_bins[0] * rf_bins[0])
 
list makePlots_datacardsSMHtt_limitProjection.RV_MIN = rv_bins[1]
 
list makePlots_datacardsSMHtt_limitProjection.RV_MAX = rv_bins[2]
 
list makePlots_datacardsSMHtt_limitProjection.RF_MIN = rf_bins[1]
 
list makePlots_datacardsSMHtt_limitProjection.RF_MAX = rf_bins[2]
 
string makePlots_datacardsSMHtt_limitProjection.RMIN = "{RMIN}"
 
string makePlots_datacardsSMHtt_limitProjection.RMAX = "{RMAX}"
 
tuple makePlots_datacardsSMHtt_limitProjection.method = fit_options.get("method", "MaxLikelihoodFit")
 
 makePlots_datacardsSMHtt_limitProjection.fit_options = tmp_fit_options,
 
string makePlots_datacardsSMHtt_limitProjection.freeze = "--snapshotName {method} -S 0"
 
 makePlots_datacardsSMHtt_limitProjection.stable = datacards.stable_options,
 
string makePlots_datacardsSMHtt_limitProjection.name = "\"\""
 
tuple makePlots_datacardsSMHtt_limitProjection.datacards_postfit_shapes = datacards.postfit_shapes(datacards_cbs, False, args.n_processes, "--sampling" + (" --print" if args.n_processes <= 1 else ""))