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.
Public Member Functions | Public Attributes | List of all members
pythonmelautils.SelfDCoupling Class Reference
Inheritance diagram for pythonmelautils.SelfDCoupling:
Inheritance graph
[legend]
Collaboration diagram for pythonmelautils.SelfDCoupling:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, arrayname, *indices)
 
def __get__ (self, obj, objtype)
 
def __set__ (self, obj, val)
 

Public Attributes

 arrayname
 
 indices
 
 real
 
 imag
 

Detailed Description

Definition at line 178 of file pythonmelautils.py.

Constructor & Destructor Documentation

◆ __init__()

def pythonmelautils.SelfDCoupling.__init__ (   self,
  arrayname,
indices 
)

Definition at line 179 of file pythonmelautils.py.

179  def __init__(self, arrayname, *indices):
180  self.arrayname = arrayname
181  self.indices = indices
182  self.real = SelfDParameter(arrayname, *indices+(0,))
183  self.imag = SelfDParameter(arrayname, *indices+(1,))
184 

Member Function Documentation

◆ __get__()

def pythonmelautils.SelfDCoupling.__get__ (   self,
  obj,
  objtype 
)

Definition at line 185 of file pythonmelautils.py.

185  def __get__(self, obj, objtype):
186  if obj is None: return self
187  #self.real does not call __get__ on real, because it's an instance variable not a class variable
188  return complex(self.real.__get__(obj, objtype), self.imag.__get__(obj, objtype))
189 

◆ __set__()

def pythonmelautils.SelfDCoupling.__set__ (   self,
  obj,
  val 
)

Definition at line 190 of file pythonmelautils.py.

190  def __set__(self, obj, val):
191  self.real.__set__(obj, val.real)
192  self.imag.__set__(obj, val.imag)
193 

Member Data Documentation

◆ arrayname

pythonmelautils.SelfDCoupling.arrayname

Definition at line 180 of file pythonmelautils.py.

◆ imag

pythonmelautils.SelfDCoupling.imag

Definition at line 183 of file pythonmelautils.py.

◆ indices

pythonmelautils.SelfDCoupling.indices

Definition at line 181 of file pythonmelautils.py.

◆ real

pythonmelautils.SelfDCoupling.real

Definition at line 182 of file pythonmelautils.py.


The documentation for this class was generated from the following file: