Definition at line 237 of file lhefile.py.
◆ 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)):
243 event.setProcess(TVar.SelfDefine_spin0, TVar.JHUGen, TVar.ZZINDEPENDENT)
244 prob = event.computeP()
245 self.assertNotEqual(prob, 0)
246 print(prob, event.computeDecayAngles())
◆ 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)):
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)):
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)
258 VHprocess = TVar.Lep_WH
259 event.setProcess(TVar.SelfDefine_spin0, TVar.JHUGen, TVar.Lep_WH)
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))
The documentation for this class was generated from the following file: