Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions epochX/cudacpp/CODEGEN/PLUGIN/CUDACPP_SA_OUTPUT/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
import madgraph.iolibs.files as files
import madgraph.various.misc as misc

from . import launch_plugin


# AV - define the plugin's process exporter
# (NB: this is the plugin's main class, enabled in the new_output dictionary in __init__.py)
class PLUGIN_ProcessExporter(PLUGIN_export_cpp.ProcessExporterGPU):
Expand Down Expand Up @@ -151,11 +154,6 @@ class PLUGIN_ProcessExporter(PLUGIN_export_cpp.ProcessExporterGPU):
###helas_exporter = None
helas_exporter = model_handling.PLUGIN_GPUFOHelasCallWriter # this is one of the main fixes for issue #341!

# Default class for the run_card to use
from . import launch_plugin
run_card_class = launch_plugin.CPPRunCard


# AV (default from OM's tutorial) - add a debug printout
def __init__(self, *args, **kwargs):
self.in_madevent_mode = False # see MR #747
Expand Down Expand Up @@ -300,6 +298,10 @@ class PLUGIN_ProcessExporter_MadEvent(PLUGIN_ProcessExporter):
#------------------------------------------------------------------------------------

class SIMD_ProcessExporter(PLUGIN_ProcessExporter_MadEvent):

# Default class for the run_card to use
run_card_class = launch_plugin.CPPRunCard

def change_output_args(args, cmd):
""" """
cmd._export_format = "madevent"
Expand All @@ -312,6 +314,10 @@ def change_output_args(args, cmd):
#------------------------------------------------------------------------------------

class GPU_ProcessExporter(PLUGIN_ProcessExporter_MadEvent):

# Default class for the run_card to use
run_card_class = launch_plugin.GPURunCard

def change_output_args(args, cmd):
""" """
cmd._export_format = "madevent"
Expand Down