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() |
def correlation_SampleProducer.calculate_partial_correlation | ( | config | ) |
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 |
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 |
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 = "" |