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

Namespaces

 reduce_mergedFiles
 

Functions

def reduce_mergedFiles.reduce_file
 

Variables

tuple reduce_mergedFiles.log = logging.getLogger(__name__)
 
tuple reduce_mergedFiles.parser
 
string reduce_mergedFiles.help = "Input directory. Use directory of artusoutput, which contains merged folder"
 
list reduce_mergedFiles.default = ["ggh", "qqh", "vh", "ztt", "zll", "ttj", "vv", "wj", "data"]
 
list reduce_mergedFiles.choices = ["ggh", "qqh", "vh", "ztt", "zll", "ttj", "vv", "wj", "data"]
 
tuple reduce_mergedFiles.args = parser.parse_args()
 
list reduce_mergedFiles.plot_configs = []
 
tuple reduce_mergedFiles.dir_path = os.path.expandvars(args.input_dir)
 
tuple reduce_mergedFiles.input_dir = os.path.join(dir_path, "merged/")
 
tuple reduce_mergedFiles.output_dir = os.path.join(dir_path, "reduced/")
 
tuple reduce_mergedFiles.sample_settings = samples.Samples()
 
list reduce_mergedFiles.list_of_samples = [getattr(samples.Samples, rs) for rs in args.samples]
 
 reduce_mergedFiles.category = None
 
tuple reduce_mergedFiles.config
 
dictionary reduce_mergedFiles.files_dict = {}
 
list reduce_mergedFiles.channel = config["channel"]
 
list reduce_mergedFiles.ntuple = config["folders"]
 
list reduce_mergedFiles.weight = config["weights"]
 
list reduce_mergedFiles.real_files = []
 
list reduce_mergedFiles.weight_list = [weight for x in range(len(real_files))]
 
list reduce_mergedFiles.ntuple_list = [ntuple for x in range(len(real_files))]
 
tuple reduce_mergedFiles.file_name = file_path.split("/")
 
list reduce_mergedFiles.w = weight_list[fnum]
 
list reduce_mergedFiles.n = ntuple_list[fnum]
 
tuple reduce_mergedFiles.n2 = n.replace(args.rs, front, 1)
 
list reduce_mergedFiles.give_away_list = []