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

Functions

def calculate_diff
 

Variables

tuple log = logging.getLogger(__name__)
 
tuple parser
 
string help = "File with categories (mt_minmax.txt)"
 
string default = "Shifts.txt"
 
tuple args = parser.parse_args()
 
 Channel = args.channel
 
dictionary base_cuts = {}
 
list vbf_taggers = []
 
string regular_name = ""
 
tuple values = map(float, values.split(" "))
 
tuple diff_root = os.path.join(args.base_folder, bdt_name, "sqrt_diff.root")
 
string htt = "htt%s"
 
tuple full_path = os.path.expandvars(args.output_file)
 
dictionary shifts_dict = {}
 
string bdt_name = "%s_%s"
 
list lower = base_cuts[reg_bdt_name]
 
list upper = base_cuts[reg_bdt_name]
 
list vbf_cut = base_cuts[reg_bdt_name]
 
list vbf_shifts_list
 

Function Documentation

def mvaCategory_Shifts.calculate_diff (   filename,
  htt_name,
  sigma_value = 0.68 
)

Variable Documentation

tuple mvaCategory_Shifts.args = parser.parse_args()
dictionary mvaCategory_Shifts.base_cuts = {}
string mvaCategory_Shifts.bdt_name = "%s_%s"
mvaCategory_Shifts.Channel = args.channel
string mvaCategory_Shifts.default = "Shifts.txt"
tuple mvaCategory_Shifts.diff_root = os.path.join(args.base_folder, bdt_name, "sqrt_diff.root")
tuple mvaCategory_Shifts.full_path = os.path.expandvars(args.output_file)
string mvaCategory_Shifts.help = "File with categories (mt_minmax.txt)"
string mvaCategory_Shifts.htt = "htt%s"
tuple mvaCategory_Shifts.log = logging.getLogger(__name__)
list mvaCategory_Shifts.lower = base_cuts[reg_bdt_name]
tuple mvaCategory_Shifts.parser
Initial value:
1 = argparse.ArgumentParser(description="Collect and Combine Correlation Information",
2  parents=[logger.loggingParser])
mvaCategory_Shifts.regular_name = ""
dictionary mvaCategory_Shifts.shifts_dict = {}
list mvaCategory_Shifts.upper = base_cuts[reg_bdt_name]
tuple mvaCategory_Shifts.values = map(float, values.split(" "))
list mvaCategory_Shifts.vbf_cut = base_cuts[reg_bdt_name]
list mvaCategory_Shifts.vbf_shifts_list
Initial value:
1 = [
2  ("up", "up", -1*base_cuts[reg_bdt_name]["sqrt_diff"], -1*base_cuts[reg_bdt_name]["vbfs"][vbf_name]["sqrt_diff"]),
3  ("up", "nom", -1*base_cuts[reg_bdt_name]["sqrt_diff"], 0),
4  ("nom", "up", 0, -1*base_cuts[reg_bdt_name]["vbfs"][vbf_name]["sqrt_diff"]),
5  ("nom", "down", 0, base_cuts[reg_bdt_name]["vbfs"][vbf_name]["sqrt_diff"]),
6  ("down", "nom", base_cuts[reg_bdt_name]["sqrt_diff"], 0),
7  ("down", "down", base_cuts[reg_bdt_name]["sqrt_diff"], base_cuts[reg_bdt_name]["vbfs"][vbf_name]["sqrt_diff"]),
8  ]
list mvaCategory_Shifts.vbf_taggers = []