Changes between Version 18 and Version 19 of pSPSS
- Timestamp:
- Dec 15, 2022, 3:58:56 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
pSPSS
v18 v19 59 59 if id in [8000011, 8000012]: 60 60 tau0 = random.expovariate(width / cst) 61 if 0.5 * (1 + math.exp( =damping)*math.cos(mass_splitting * tau0 / cst)) >= random.random():61 if 0.5 * (1 + math.exp(-damping)*math.cos(mass_splitting * tau0 / cst)) >= random.random(): 62 62 write_event = (leptonnumber == 0) 63 63 else: