HiggsAnalysis-KITHiggsToTauTau
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
makePlots_compareControlPlotInputs Namespace Reference

Variables

tuple log = logging.getLogger(__name__)
 
tuple parser
 
string help = "Input directories."
 
list choices = ["tt", "mt", "et", "em", "mm", "ee"]
 
string default = "$CMSSW_BASE/src/plots/control_plots/"
 
tuple args = parser.parse_args()
 
tuple sample_settings = samples.Samples()
 
tuple compare_two_qantities = ((len(args.input_dirs)*len(args.samples)*len(args.channels)*len(args.categories)*len(args.weights) == 1) and (len(args.quantities) == 2))
 
list plot_configs = []
 
dictionary plot_config = {}
 
tuple tmp_sample_strings = sample_string.split()
 
list list_of_samples = [getattr(samples.Samples, tmp_sample_string) for tmp_sample_string in tmp_sample_strings]
 
tuple multiple_samples = (len(tmp_sample_strings) > 1)
 
string nick_suffix = "_"
 
tuple config
 
tuple plot_2d_config = copy.deepcopy(config)
 

Variable Documentation

tuple makePlots_compareControlPlotInputs.args = parser.parse_args()
list makePlots_compareControlPlotInputs.choices = ["tt", "mt", "et", "em", "mm", "ee"]
tuple makePlots_compareControlPlotInputs.compare_two_qantities = ((len(args.input_dirs)*len(args.samples)*len(args.channels)*len(args.categories)*len(args.weights) == 1) and (len(args.quantities) == 2))
tuple makePlots_compareControlPlotInputs.config
Initial value:
1 = sample_settings.get_config(
2  samples=list_of_samples,
3  channel=channel,
4  category=category,
5  higgs_masses=args.higgs_masses,
6  normalise_signal_to_one_pb=False,
7  weight=weight,
8  lumi = args.lumi * 1000,
9  exclude_cuts=args.exclude_cuts,
10  nick_suffix=nick_suffix
11  )
string makePlots_compareControlPlotInputs.default = "$CMSSW_BASE/src/plots/control_plots/"
string makePlots_compareControlPlotInputs.help = "Input directories."
list makePlots_compareControlPlotInputs.list_of_samples = [getattr(samples.Samples, tmp_sample_string) for tmp_sample_string in tmp_sample_strings]
tuple makePlots_compareControlPlotInputs.log = logging.getLogger(__name__)
tuple makePlots_compareControlPlotInputs.multiple_samples = (len(tmp_sample_strings) > 1)
string makePlots_compareControlPlotInputs.nick_suffix = "_"
tuple makePlots_compareControlPlotInputs.parser
Initial value:
1 = argparse.ArgumentParser(description="Compare different inputs for control plots, e.g. different Artus outputs, different channels or different quantities.",
2  parents=[logger.loggingParser])
tuple makePlots_compareControlPlotInputs.plot_2d_config = copy.deepcopy(config)
tuple makePlots_compareControlPlotInputs.plot_config = {}
list makePlots_compareControlPlotInputs.plot_configs = []
tuple makePlots_compareControlPlotInputs.sample_settings = samples.Samples()
tuple makePlots_compareControlPlotInputs.tmp_sample_strings = sample_string.split()