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

Namespaces

 makePlots_datacardsSMHtt_nDim
 

Variables

tuple makePlots_datacardsSMHtt_nDim.log = logging.getLogger(__name__)
 
tuple makePlots_datacardsSMHtt_nDim.parser
 
string makePlots_datacardsSMHtt_nDim.help = "Input directory."
 parser.add_argument("--two-binning", action="store_true", default=False, help="One small bin in signal region and a large one for the remaining part. [Default:%(default)s]") More...
 
list makePlots_datacardsSMHtt_nDim.default = ["et", "mt", "tt", "em", "mm"]
 
tuple makePlots_datacardsSMHtt_nDim.args = parser.parse_args()
 
 makePlots_datacardsSMHtt_nDim.nbins = args.n_bins
 
tuple makePlots_datacardsSMHtt_nDim.nbins1D = int(nbins**(1.0/len(args.quantities)))
 
tuple makePlots_datacardsSMHtt_nDim.sample_settings = samples.Samples()
 
tuple makePlots_datacardsSMHtt_nDim.binnings_settings = binnings.BinningsDict()
 
tuple makePlots_datacardsSMHtt_nDim.systematics_factory = systematics.SystematicsFactory()
 
list makePlots_datacardsSMHtt_nDim.plot_configs = []
 
list makePlots_datacardsSMHtt_nDim.output_files = []
 
list makePlots_datacardsSMHtt_nDim.merged_output_files = []
 
list makePlots_datacardsSMHtt_nDim.hadd_commands = []
 
tuple makePlots_datacardsSMHtt_nDim.datacards = smhttdatacards.SMHttDatacards(higgs_masses=args.higgs_masses,useRateParam=args.use_rateParam,year=args.era)
 
string makePlots_datacardsSMHtt_nDim.tmp_input_root_filename_template = "input/${ANALYSIS}_${CHANNEL}_${BIN}_${SYSTEMATIC}_${ERA}.root"
 
string makePlots_datacardsSMHtt_nDim.input_root_filename_template = "input/${ANALYSIS}_${CHANNEL}_${BIN}_${ERA}.root"
 
string makePlots_datacardsSMHtt_nDim.bkg_histogram_name_template = "${BIN}/${PROCESS}"
 
string makePlots_datacardsSMHtt_nDim.sig_histogram_name_template = "${BIN}/${PROCESS}${MASS}"
 
string makePlots_datacardsSMHtt_nDim.bkg_syst_histogram_name_template = "${BIN}/${PROCESS}_${SYSTEMATIC}"
 
string makePlots_datacardsSMHtt_nDim.sig_syst_histogram_name_template = "${BIN}/${PROCESS}${MASS}_${SYSTEMATIC}"
 
 makePlots_datacardsSMHtt_nDim.datacard_filename_templates = datacards.configs.htt_datacard_filename_templates
 
string makePlots_datacardsSMHtt_nDim.output_root_filename_template = "datacards/common/${ANALYSIS}.input_${ERA}.root"
 
list makePlots_datacardsSMHtt_nDim.categories = [channel + "_" + category for category in categories]
 
tuple makePlots_datacardsSMHtt_nDim.categories_save = sorted(categories)
 
tuple makePlots_datacardsSMHtt_nDim.datacards_per_channel_category = smhttdatacards.SMHttDatacards(cb=datacards.cb.cp().channel([channel]).bin([category]))
 
list makePlots_datacardsSMHtt_nDim.exclude_cuts = []
 
list makePlots_datacardsSMHtt_nDim.higgs_masses = [mass for mass in datacards_per_channel_category.cb.mass_set() if mass != "*"]
 
tuple makePlots_datacardsSMHtt_nDim.output_file
 
list makePlots_datacardsSMHtt_nDim.tmp_output_files = []
 
tuple makePlots_datacardsSMHtt_nDim.nominal = (shape_systematic == "nominal")
 
list makePlots_datacardsSMHtt_nDim.list_of_samples = [datacards.configs.process2sample(process) for process in list_of_samples]
 
string makePlots_datacardsSMHtt_nDim.systematic = "nominal"
 
string makePlots_datacardsSMHtt_nDim.samples = "\", \""
 
 makePlots_datacardsSMHtt_nDim.channel = channel,
 
 makePlots_datacardsSMHtt_nDim.category = category,
 
tuple makePlots_datacardsSMHtt_nDim.config
 
tuple makePlots_datacardsSMHtt_nDim.systematics_settings = systematics_factory.get(shape_systematic)
 
list makePlots_datacardsSMHtt_nDim.qintervals = []
 
list makePlots_datacardsSMHtt_nDim.subscores = []
 
string makePlots_datacardsSMHtt_nDim.binnings_key = "binningMVAStudies_"
 if args.two_binning: nbins1D=2 subscores.append("(int({0}>=0.6)*{1})".format(q, float(int(nbins1D**i)))) else: calculate (digit corresponding to q)*(digit weight) i.e. More...
 
list makePlots_datacardsSMHtt_nDim.binnings = binnings_settings.binnings_dict[binnings_key]
 
 makePlots_datacardsSMHtt_nDim.histogram_name_template = bkg_histogram_name_templateifnominalelsebkg_syst_histogram_name_template
 
tuple makePlots_datacardsSMHtt_nDim.PROCESS = datacards.configs.sample2process(sample)
 
 makePlots_datacardsSMHtt_nDim.BIN = category,
 
 makePlots_datacardsSMHtt_nDim.SYSTEMATIC = systematic
 
tuple makePlots_datacardsSMHtt_nDim.tmp_output_file
 
 makePlots_datacardsSMHtt_nDim.DST = output_file,
 
string makePlots_datacardsSMHtt_nDim.SRC = " "
 
string makePlots_datacardsSMHtt_nDim.merged_input_root_filename_template = "input/${ANALYSIS}_${CHANNEL}.inputs-sm-${ERA}-mvis.root"
 
tuple makePlots_datacardsSMHtt_nDim.merged_output_file
 
list makePlots_datacardsSMHtt_nDim.debug_plot_configs = []
 
 makePlots_datacardsSMHtt_nDim.update_systematics = True
 
tuple makePlots_datacardsSMHtt_nDim.processes = datacards.cb.cp()
 
float makePlots_datacardsSMHtt_nDim.add_threshold = 0.1
 
dictionary makePlots_datacardsSMHtt_nDim.datacards_cbs = {}
 
dictionary makePlots_datacardsSMHtt_nDim.datacards_poi_ranges = {}
 
tuple makePlots_datacardsSMHtt_nDim.channels = cb.channel_set()
 
tuple makePlots_datacardsSMHtt_nDim.datacards_workspaces = datacards.text2workspace(datacards_cbs, n_processes=args.n_processes)
 
tuple makePlots_datacardsSMHtt_nDim.datacards_postfit_shapes = datacards.postfit_shapes_fromworkspace(datacards_cbs, datacards_workspaces, False, args.n_processes, "--sampling" + (" --print" if args.n_processes <= 1 else ""))