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 | List of all members
lhefile.TestLHEFiles Class Reference
Inheritance diagram for lhefile.TestLHEFiles:
Inheritance graph
[legend]
Collaboration diagram for lhefile.TestLHEFiles:
Collaboration graph
[legend]

Public Member Functions

def testHwithDecay (self)
 
def testJHUGenVBFVH (self)
 
def testJHUGenttH (self)
 

Detailed Description

Definition at line 237 of file lhefile.py.

Member Function Documentation

◆ testHwithDecay()

def lhefile.TestLHEFiles.testHwithDecay (   self)

Definition at line 239 of file lhefile.py.

239  def testHwithDecay(self):
240  with LHEFile_Hwithdecay(args.lhefile_hwithdecay) as f:
241  for event, i in itertools.izip(f, range(10)):
242  event.ghz1 = 1
243  event.setProcess(TVar.SelfDefine_spin0, TVar.JHUGen, TVar.ZZINDEPENDENT)
244  prob = event.computeP()
245  self.assertNotEqual(prob, 0)
246  print(prob, event.computeDecayAngles())
247 

◆ testJHUGenttH()

def lhefile.TestLHEFiles.testJHUGenttH (   self)

Definition at line 268 of file lhefile.py.

268  def testJHUGenttH(self):
269  with LHEFile_JHUGenttH(args.lhefile_jhugentth) as f:
270  for event, i in itertools.izip(f, range(10)):
271  pass
272 
273  unittest.main(argv=[sys.argv[0]]+args.unittest_args)

◆ testJHUGenVBFVH()

def lhefile.TestLHEFiles.testJHUGenVBFVH (   self)

Definition at line 249 of file lhefile.py.

249  def testJHUGenVBFVH(self):
250  with LHEFile_JHUGenVBFVH(args.lhefile_jhugenvbfvh, isgen=False) as f:
251  for event, i in itertools.izip(f, range(10)):
252  event.ghz1 = 1
253  if any(11 <= abs(p.first) <= 16 for p in event.associated):
254  if sum(p.first for p in event.associated) == 0:
255  VHprocess = TVar.Lep_ZH
256  event.setProcess(TVar.SelfDefine_spin0, TVar.JHUGen, TVar.Lep_ZH)
257  else:
258  VHprocess = TVar.Lep_WH
259  event.setProcess(TVar.SelfDefine_spin0, TVar.JHUGen, TVar.Lep_WH)
260  else:
261  VHprocess = TVar.Had_ZH
262  event.setProcess(TVar.SelfDefine_spin0, TVar.JHUGen, TVar.JJVBF)
263  prob = event.computeProdP()
264  self.assertNotEqual(prob, 0)
265  print(prob, event.computeVBFAngles(), event.computeVHAngles(VHprocess))
266 

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