JHUGen MELA  v2.4.1
Matrix element calculations as used in JHUGen. MELA is an important tool that was used for the Higgs boson discovery and for precise measurements of its structure and interactions. Please see the website https://spin.pha.jhu.edu/ and papers cited there for more details, and kindly cite those papers when using this code.
Namespaces | Functions | Variables
testME_all.py File Reference

Go to the source code of this file.

Namespaces

 testME_all
 

Functions

def testME_all.defaultdictset ()
 
def testME_all.unifycontent (content)
 

Variables

 testME_all.p = argparse.ArgumentParser()
 
 testME_all.type
 
 testME_all.int
 
 testME_all.default
 
 testME_all.nargs
 
 testME_all.args = p.parse_args()
 
 testME_all.ratiosMCFMJHUGenVBF = defaultdict(set)
 
 testME_all.ratiosMCFMJHUGenLepZH = defaultdict(set)
 
 testME_all.ratiosMCFMJHUGenLepWH = defaultdict(set)
 
 testME_all.ratiosMCFMJHUGenHadZH = defaultdict(set)
 
 testME_all.ratiosMCFMJHUGenHadWH = defaultdict(set)
 
 testME_all.badbkgratios = set()
 
 testME_all.different = set()
 
 testME_all.badangles = set()
 
 testME_all.badselfD = set()
 
 testME_all.messedup = set()
 
 testME_all.referencefiles = os.listdir("reference")
 
 testME_all.melaptr = ROOT.makemelaptr(13, 125, ROOT.TVar.ERROR)
 
 testME_all.start
 
 testME_all.match = re.match("(testME_.*_Ping)_?(.*).ref", ref)
 
 testME_all.functionname = match.group(1)
 
 testME_all.arguments = match.group(2)
 
 testME_all.function = getattr(ROOT, functionname)
 
 testME_all.newfile = ref.replace(".ref", ".out")
 
def testME_all.content = unifycontent(f.read())
 
def testME_all.refcontent = unifycontent(f.read())
 
def testME_all.production = content.split("\n")[0].split()[3]
 
 testME_all.ratios = ratiosMCFMJHUGenVBF
 
def testME_all.sections = content.split("JHUGen/MCFM Ratio")
 
 testME_all.sectioncontent = section.split()
 
 testME_all.ratio = float(number)
 
def testME_all.ratiopart = content.split("MCFM Bkg (re-sum)/Bkg Ratio")[1]
 
 testME_all.tutilline = line.split(": ")[1]
 
dictionary testME_all.melaline = {line for line in content.split("\n") if "MELA " + match.group(1) in line}.pop().split(": ")[1]
 
dictionary testME_all.pendingselfD = {}
 
int testME_all.iline = 0
 
list testME_all.errors = []