Changes between Version 14 and Version 15 of pSPSS


Ignore:
Timestamp:
Oct 19, 2022, 10:43:36 AM (2 years ago)
Author:
Jan Hajer
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pSPSS

    v14 v15  
    44
    55S. Antusch, J. Hajer, and J. Rosskopp. ‘Simulating lepton number violation caused by heavy neutrino-antineutrino oscillations at colliders’ (2022).
     6
     7Please cite this publication when you use the `pSPSS` model file.
    68
    79== Model description ==
     
    3537== !MadGraph patch ==
    3638
    37 In order to generate events with heavy neutrino-antineutrino oscillations it is necessary to patch the `./bin/internal/common_run_interface.py` file in !MadGraph using
     39In order to generate events with heavy neutrino-antineutrino oscillations it is necessary to patch the `[pSPSS]/bin/internal/common_run_interface.py` file in !MadGraph using
    3840
    3941
     
    7274}}}
    7375
     76which must replace the original code
     77
     78{{{
     79for event in lhe:
     80        for particle in event:
     81            id = particle.pid
     82            width = param_card['decay'].get((abs(id),)).value
     83            if width:
     84                vtim = c * random.expovariate(width/cst)
     85                if vtim > threshold:
     86                    particle.vtim = vtim
     87        #write this modify event
     88        output.write(str(event))
     89    output.write('</LesHouchesEvents>\n')
     90    output.close()
     91}}}
     92
    7493The small mass splitting can cause problems in the automatic calculation of the decay width.
    7594One way to fix this problem is by replacing the argument of the square root of the return value of the function `calculate_apx_psarea` in the file `[MadGraph]/mg5decay/decay_objects.py` by its absolute value.