Package madgraph
[hide private]
[frames] | no frames]

Source Code for Package madgraph

 1  ################################################################################ 
 2  # 
 3  # Copyright (c) 2009 The MadGraph Development team and Contributors 
 4  # 
 5  # This file is a part of the MadGraph 5 project, an application which  
 6  # automatically generates Feynman diagrams and matrix elements for arbitrary 
 7  # high-energy processes in the Standard Model and beyond. 
 8  # 
 9  # It is subject to the MadGraph license which should accompany this  
10  # distribution. 
11  # 
12  # For more information, please visit: http://madgraph.phys.ucl.ac.be 
13  # 
14  ################################################################################ 
15 -class MadGraph5Error(Exception):
16 """Exception raised if an exception is find 17 Those Types of error will stop nicely in the cmd interface"""
18
19 -class InvalidCmd(MadGraph5Error):
20 """a class for the invalid syntax call"""
21 22 import os 23 24 #Look for basic file position MG5DIR and MG4DIR 25 MG5DIR = os.path.realpath(os.path.join(os.path.dirname(__file__), 26 os.path.pardir)) 27 MG4DIR = MG5DIR 28