~mg5amc-pwg-team/mg5amc-pwg/v0

« back to all changes in this revision

Viewing changes to MG5aMC_PWG/__init__.py

  • Committer: Marco Zaro
  • Date: 2020-08-04 10:22:42 UTC
  • Revision ID: marco.zaro@gmail.com-20200804102242-p6t3iq5qfyh81k47
some final polishing, including the change of names

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
root_path = os.path.split(os.path.dirname(os.path.realpath( __file__ )))[0]
14
14
sys.path.insert(0, root_path)
15
15
 
16
 
import PwgAmc.pwgamc_exporter as pwgamc_exporter
17
 
import PwgAmc.pwgamc_interface as pwgamc_interface
 
16
import MG5aMC_PWG.mg5amcpwg_exporter as mg5amcpwg_exporter
 
17
import MG5aMC_PWG.mg5amcpwg_interface as mg5amcpwg_interface
18
18
##import Resummation.resummation_exporters as resummation_exporters
19
19
 
20
20
# Three types of functionality are allowed in a plugin
26
26
#    example: new_output = {'myformat': MYCLASS}
27
27
#    madgraph will then allow the command "output myformat PATH"
28
28
#    MYCLASS should inherated of the class madgraph.iolibs.export_v4.VirtualExporter 
29
 
new_output = {'pwgamc': pwgamc_exporter.PwgAmcExporter}
 
29
new_output = {'mg5amcpwg': mg5amcpwg_exporter.PwgAmcExporter}
30
30
 
31
31
# 2. Define new way to handle the cluster.
32
32
#    example new_cluster = {'mycluster': MYCLUSTERCLASS}
37
37
# 3. Define a new interface (allow to add/modify MG5 command)
38
38
#    This can be activated via ./bin/mg5_aMC --mode=PLUGINNAME
39
39
## Put None if no dedicated command are required
40
 
new_interface = pwgamc_interface.PwgAmcInterface
 
40
new_interface = mg5amcpwg_interface.PwgAmcInterface
41
41
 
42
42
 
43
43
########################## CONTROL VARIABLE ####################################
45
45
__email__ = 'marco.zaro@gmail.com'
46
46
__version__ = (1,0,0)
47
47
minimal_mg5amcnlo_version = (2,5,0) 
48
 
maximal_mg5amcnlo_version = (1000,1000,1000)
 
48
maximal_mg5amcnlo_version = (2,1000,1000)
49
49
latest_validated_version = (2,5,0)