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.
Classes | Functions | Variables
pythonmelautils Namespace Reference

Classes

class  MultiDimensionalCppArray
 
class  NamedTemporaryMacro
 
class  SelfDCoupling
 
class  SelfDParameter
 

Functions

def include (filename)
 
def compile (filename, loadMELA=True)
 

Variables

string contents
 
 tcouplingsbasecontents = f.read()
 
 enumcontents = enumcontents.strip()
 
 enumitem = enumitem.split("=")[0].strip()
 
 tcouplingsbase = NamedTemporaryMacro()
 

Function Documentation

◆ compile()

def pythonmelautils.compile (   filename,
  loadMELA = True 
)

Definition at line 10 of file pythonmelautils.py.

10 def compile(filename, loadMELA=True):
11 
13  command = "echo '\n"
14  if loadMELA: command += ".x " + os.path.join(os.path.dirname(__file__), "..", "test", "loadMELA.C+") + "\n"
15  if filename: command += ".L " + filename + "+\n"
16  command += "' | root -l -b "
17  os.system(command)
18 
19  if filename: ROOT.gROOT.ProcessLine(".L {}+".format(filename))
20 
21 

◆ include()

def pythonmelautils.include (   filename)

Definition at line 7 of file pythonmelautils.py.

7 def include(filename):
8  ROOT.gROOT.ProcessLine("#include <{}>".format(filename))
9 

Variable Documentation

◆ contents

string pythonmelautils.contents
Initial value:
1 = """
2  #include <TCouplingsBase.hh>
3  #include <TMCFM.hh>
4 """

Definition at line 39 of file pythonmelautils.py.

◆ enumcontents

pythonmelautils.enumcontents = enumcontents.strip()

Definition at line 46 of file pythonmelautils.py.

◆ enumitem

pythonmelautils.enumitem = enumitem.split("=")[0].strip()

Definition at line 50 of file pythonmelautils.py.

◆ tcouplingsbase

pythonmelautils.tcouplingsbase = NamedTemporaryMacro()

Definition at line 53 of file pythonmelautils.py.

◆ tcouplingsbasecontents

pythonmelautils.tcouplingsbasecontents = f.read()

Definition at line 44 of file pythonmelautils.py.

pythonmelautils.include
def include(filename)
Definition: pythonmelautils.py:7
pythonmelautils.compile
def compile(filename, loadMELA=True)
Definition: pythonmelautils.py:10