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

Namespaces

 makePlots_datacardsCPStudies_projection
 

Functions

def makePlots_datacardsCPStudies_projection.poi_ranges_default
 
def makePlots_datacardsCPStudies_projection.poi_ranges_default_bbb
 

Variables

tuple makePlots_datacardsCPStudies_projection.log = logging.getLogger(__name__)
 
dictionary makePlots_datacardsCPStudies_projection.models
 
tuple makePlots_datacardsCPStudies_projection.parser
 
string makePlots_datacardsCPStudies_projection.help = "Datacards."
 
tuple makePlots_datacardsCPStudies_projection.choices = models.keys()
 
list makePlots_datacardsCPStudies_projection.default = [mixing/100.0 for mixing in range(0, 101, 25)]
 
tuple makePlots_datacardsCPStudies_projection.args = parser.parse_args()
 
tuple makePlots_datacardsCPStudies_projection.datacards_configs = datacardconfigs.DatacardConfigs()
 
list makePlots_datacardsCPStudies_projection.filename_templates
 
list makePlots_datacardsCPStudies_projection.plot_configs = []
 
tuple makePlots_datacardsCPStudies_projection.cb = ch.CombineHarvester()
 
tuple makePlots_datacardsCPStudies_projection.template_tag = template.split("$")
 
tuple makePlots_datacardsCPStudies_projection.matched_template = os.path.join(datacard[:datacard.index(template_tag)], template)
 
tuple makePlots_datacardsCPStudies_projection.datacards = cpstudiesdatacards.CPStudiesDatacards(cb=cb)
 
tuple makePlots_datacardsCPStudies_projection.model_settings = models.get(model, {})
 
dictionary makePlots_datacardsCPStudies_projection.datacards_workspaces = {}
 
 makePlots_datacardsCPStudies_projection.output_dir_base = args.output_dir
 
tuple makePlots_datacardsCPStudies_projection.sub_dir_base = os.path.join("projection", model, "statUnc" if freeze_syst_uncs else "totUnc")
 
dictionary makePlots_datacardsCPStudies_projection.datacards_cbs = {}
 
dictionary makePlots_datacardsCPStudies_projection.datacards_poi_ranges = {}
 
tuple makePlots_datacardsCPStudies_projection.output_dir = os.path.join(output_dir_base, "{:06}".format(lumi))
 
tuple makePlots_datacardsCPStudies_projection.scaled_datacards = cpstudiesdatacards.CPStudiesDatacards(cb=datacards.cb.deep())
 
 makePlots_datacardsCPStudies_projection.lumi_scale_factor = lumi/args.lumi_datacards
 
tuple makePlots_datacardsCPStudies_projection.scaled_datacards_cbs
 
list makePlots_datacardsCPStudies_projection.json_configs = []
 
list makePlots_datacardsCPStudies_projection.tmp_datacards_workspaces = datacards_workspaces[fit_name]
 
tuple makePlots_datacardsCPStudies_projection.datacards_postfit_shapes = datacards.postfit_shapes_fromworkspace(datacards_cbs, datacards_workspaces, False, args.n_processes, "--sampling" + (" --print" if args.n_processes <= 1 else ""))
 
 makePlots_datacardsCPStudies_projection.STABLE = datacards.stable_options,
 
string makePlots_datacardsCPStudies_projection.RANGE = "{0:f},{1:f}"
 
tuple makePlots_datacardsCPStudies_projection.POINTS = len(args.cp_mixings)
 
tuple makePlots_datacardsCPStudies_projection.limit_file = os.path.join(os.path.splitext(datacard)[0],"projection/default/totUnc/"+str("{:06}".format(lumi))+"/higgsCombine.Asymptotic.mH0.root")
 
tuple makePlots_datacardsCPStudies_projection.file = ROOT.TFile(limit_file)
 
tuple makePlots_datacardsCPStudies_projection.tree = file.Get("limit")
 
list makePlots_datacardsCPStudies_projection.quantile_expected_list = []
 
list makePlots_datacardsCPStudies_projection.limits_list = []
 
list makePlots_datacardsCPStudies_projection.channel = ["em","et","mt","tt"]
 
list makePlots_datacardsCPStudies_projection.lst = [(lumi/1000) for lumi in args.lumis]
 
string makePlots_datacardsCPStudies_projection.xbins = " "
 
dictionary makePlots_datacardsCPStudies_projection.config
 
tuple makePlots_datacardsCPStudies_projection.config_limitsoverlumi = jsonTools.JsonDict(os.path.expandvars("HiggsAnalysis/KITHiggsToTauTau/data/plots/configs/combine/exp_limit_over_lumi.json"))
 
list makePlots_datacardsCPStudies_projection.dir_list = [os.path.join(output_dir_base, "{:06}".format(lumi)) for lumi in args.lumis]