Skip to content

Draft: Fix Userhooks bug and develop new signal generation tool

Tom Hadavizadeh requested to merge thadaviz_inclusiveb_fix_reset into Sim10

This MR creates a new signal generation tool to handle using the Pythia Userhooks in a more straightforward way. The new class is currently called SignalUserHooks and allows different signal and pile up generators to be specified.

The options are steered by the Gauss configuration in python and are currently set up to copy the signal particle ID and cut tools from an existing signal generation tool, so this can be used to overwrite existing configurations e.g.

gaudirun.py Gauss-Job.py Gauss-2018.py '$GAUSSOPTS/GenStandAlone.py' decfile.py '$LBPYTHIA8ROOT/options/Pythia8.py' '$LBPYTHIA8ROOT/options/Pythia8_IncbUserHook.py'

The new tool also includes:

  • support for repeated hadronisation by specifying an alternative options file '$LBPYTHIA8ROOT/options/Pythia8_IncbUserHookRepHad.py'

  • support to generate Bc mesons with Pythia: gaudirun.py Gauss-Job.py Gauss-2018.py '$GAUSSOPTS/GenStandAlone.py' decfile.py '$LBPYTHIA8ROOT/options/Pythia8.py' '$LBPYTHIA8ROOT/options/Pythia8_IncbUserHook.py'

  • support to produce Bc using BcVegPy with standard generator level cuts gaudirun.py Gauss-Job.py Gauss-2018.py '$GAUSSOPTS/GenStandAlone.py' decfile_bcvegpy_Bc.py '$LBBCVEGPYROOT/options/BcVegPyPythia8.py' '$LBBCVEGPYROOT/options/BcVegPyPythia8_IncbUserHook.py'

  • In principle support for Xicc, but this requires more validation.

This MR supersedes !944 (closed)

Merge request reports

Loading