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

Functions

def calculate_partial_correlation
 

Variables

tuple log = logging.getLogger(__name__)
 
tuple parser
 
string help = "specify if you already produced reduced files and want to overwrite them. [Default: %(default)s]"
 
list default = ["ggh", "qqh", "vh", "ztt", "zll", "ttj", "vv", "wj", "data"]
 
list choices = ["ggh", "qqh", "vh", "ztt", "zll", "ttj", "vv", "wj", "data"]
 
tuple args = parser.parse_args()
 
list plot_configs = []
 
tuple output_dir_path = os.path.join(os.path.expandvars(args.output_dir), str(dt.utcnow().strftime("%Y_%m_%d_%H-%M"))+"_%s"%args.filename)
 
string root_input_dir = ""
 
 skip_classic_input = False
 
string storage_name_extension = ""
 
 prepare_samples = True
 
 overwrite_samples = args.overwrite_samples
 
tuple sample_settings = samples.Samples()
 
string category_string = "catHttMSSM13TeV"
 
list list_of_samples = [getattr(samples.Samples, requested_sample)]
 
tuple config
 
list parsed_parameters = []
 
dictionary bdt_file_dict = {}
 
tuple name = full_name.replace(".root", "")
 
int count = 0
 
tuple folder_and_name = os.path.join(folder, name)
 
tuple container = name.split("_")
 
tuple infile = ROOT.TFile(os.path.join(folder, file_list[0]), "READ")
 
tuple intree = infile.Get("TestTree")
 
tuple branch_name = branch.GetName()
 

Function Documentation

def correlation_SampleProducer.calculate_partial_correlation (   config)

Variable Documentation

tuple correlation_SampleProducer.args = parser.parse_args()
dictionary correlation_SampleProducer.bdt_file_dict = {}
tuple correlation_SampleProducer.branch_name = branch.GetName()
string correlation_SampleProducer.category_string = "catHttMSSM13TeV"
list correlation_SampleProducer.choices = ["ggh", "qqh", "vh", "ztt", "zll", "ttj", "vv", "wj", "data"]
dictionary correlation_SampleProducer.config
Initial value:
1 = sample_settings.get_config(
2  samples=list_of_samples,
3  channel=channel,
4  category=category_string,
5  higgs_masses=args.higgs_masses,
6  normalise_signal_to_one_pb=False,
7  ztt_from_mc=False,
8  weight=args.weight,
9  exclude_cuts=args.exclude_cuts,
10  stack_signal=False,
11  lumi = args.lumi*1000,
12  scale_signal=1.0,
13  mssm=args.mssm
14  )
tuple correlation_SampleProducer.container = name.split("_")
int correlation_SampleProducer.count = 0
list correlation_SampleProducer.default = ["ggh", "qqh", "vh", "ztt", "zll", "ttj", "vv", "wj", "data"]
tuple correlation_SampleProducer.folder_and_name = os.path.join(folder, name)
string correlation_SampleProducer.help = "specify if you already produced reduced files and want to overwrite them. [Default: %(default)s]"
tuple correlation_SampleProducer.infile = ROOT.TFile(os.path.join(folder, file_list[0]), "READ")
tuple correlation_SampleProducer.intree = infile.Get("TestTree")
list correlation_SampleProducer.list_of_samples = [getattr(samples.Samples, requested_sample)]
tuple correlation_SampleProducer.log = logging.getLogger(__name__)
list correlation_SampleProducer.name = full_name.replace(".root", "")
correlation_SampleProducer.output_dir_path = os.path.join(os.path.expandvars(args.output_dir), str(dt.utcnow().strftime("%Y_%m_%d_%H-%M"))+"_%s"%args.filename)
correlation_SampleProducer.overwrite_samples = args.overwrite_samples
list correlation_SampleProducer.parsed_parameters = []
tuple correlation_SampleProducer.parser
Initial value:
1 = argparse.ArgumentParser(description="Produce reduced samples and calculate correlations",
2  parents=[logger.loggingParser])
list correlation_SampleProducer.plot_configs = []
correlation_SampleProducer.prepare_samples = True
tuple correlation_SampleProducer.root_input_dir = ""
tuple correlation_SampleProducer.sample_settings = samples.Samples()
correlation_SampleProducer.skip_classic_input = False
tuple correlation_SampleProducer.storage_name_extension = ""