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

Variables

tuple log = logging.getLogger(__name__)
 
tuple parser
 
string help = "input file"
 
list default = ["mt"]
 
list choices = ["tt", "mt", "et", "em", "mm", "ee"]
 
tuple args = parser.parse_args()
 
tuple Output = open(args.output_name + ".txt","w")
 
tuple f = ROOT.TFile.Open(args.input_file)
 
list sigprocs = ["ggH", "bbH"]
 
list bkgprocs = ["ZTT", "ZLL", "TT", "VV", "W"]
 
dictionary sighist = {}
 
list bkghist = [0.0]
 
 sigflag = True
 
 bkgflag = True
 
 flag = True
 
tuple hist = f.Get(channel+"_"+category+"/"+process+mass)
 
tuple nbins = hist.GetNbinsX()
 
string line = "lower bin lim:\t"
 

Variable Documentation

tuple read_datacardshapes.args = parser.parse_args()
read_datacardshapes.bkgflag = True
list read_datacardshapes.bkghist = [0.0]
list read_datacardshapes.bkgprocs = ["ZTT", "ZLL", "TT", "VV", "W"]
list read_datacardshapes.choices = ["tt", "mt", "et", "em", "mm", "ee"]
list read_datacardshapes.default = ["mt"]
tuple read_datacardshapes.f = ROOT.TFile.Open(args.input_file)
read_datacardshapes.flag = True
string read_datacardshapes.help = "input file"
tuple read_datacardshapes.hist = f.Get(channel+"_"+category+"/"+process+mass)
string read_datacardshapes.line = "lower bin lim:\t"
tuple read_datacardshapes.log = logging.getLogger(__name__)
tuple read_datacardshapes.nbins = hist.GetNbinsX()
tuple read_datacardshapes.Output = open(args.output_name + ".txt","w")
tuple read_datacardshapes.parser
Initial value:
1 = argparse.ArgumentParser(description="Read bin contents from shapes for datacards.",
2  parents=[logger.loggingParser])
read_datacardshapes.sigflag = True
dictionary read_datacardshapes.sighist = {}
list read_datacardshapes.sigprocs = ["ggH", "bbH"]