CMS 3D CMS Logo

Namespaces | Functions | Variables

/data/refman/pasoursint/CMSSW_5_3_10_patch2/src/HiggsAnalysis/CombinedLimit/data/hbb/scaleCards.py File Reference

Go to the source code of this file.

Namespaces

namespace  scaleCards

Functions

def scaleCards::file2map

Variables

tuple scaleCards::br = file2map(path+"YR-BR1.txt")
string scaleCards::cfmt = "%-"
int scaleCards::cmax = 5
tuple scaleCards::DCR = parseCard(open(fileR,"r"), options)
string scaleCards::fileR = "/%g/vhbb_DC_ALL_%s.%.1f.txt"
tuple scaleCards::hmax = max([10] + [len("%-12s %s %s" % (l,p,a)) for l,(p,a,e,nf) in systlines.items()])
list scaleCards::keyline = []
tuple scaleCards::mass = float(args[0])
 scaleCards::obskeyline = DCR.bins;
list scaleCards::obsline = [str(DCR.obs[b]) for b in DCR.bins]
dictionary scaleCards::paramSysts = {}
tuple scaleCards::parser = OptionParser(usage="usage: %prog [options] mass \nrun with --help to get list of options")
list scaleCards::path = os.environ['CMSSW_BASE']
list scaleCards::pidline = []
string scaleCards::pTrue = "WH"
list scaleCards::rate = DCR.exp[b]
tuple scaleCards::refmasses = range(110,135+1,5)
list scaleCards::signals = []
tuple scaleCards::sysnamesSorted = systlines.keys()
list scaleCards::systline = []
tuple scaleCards::whXS = file2map(path+"YR-XS-WH.txt")
tuple scaleCards::xfile = open(options.ddir+"/%g/vhbb_DC_ALL_%s%s.%.1f.txt" % (mass, options.flavour, options.postfix, mass), "w")
dictionary scaleCards::xsbr = { 'WH':1.0, 'ZH':1.0 }
dictionary scaleCards::xsbrR = { 'WH':1.0, 'ZH':1.0 }
tuple scaleCards::zhXS = file2map(path+"YR-XS-ZH.txt")