Package madgraph :: Package various :: Module banner :: Class MadAnalysis5Card
[hide private]
[frames] | no frames]

Class MadAnalysis5Card

source code

object --+    
         |    
      dict --+
             |
            MadAnalysis5Card

A class to store a MadAnalysis5 card. Very basic since it is basically free format.

Instance Methods [hide private]
 
default_setup(self)
define the default value
source code
new empty dictionary

__init__(self, finput=None, mode=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
read(self, input, mode=None)
Read an MA5 card
source code
 
write(self, output)
Write an MA5 card.
source code
 
get_MA5_cmds(self, inputs_arg, submit_folder, run_dir_path=None, UFO_model_path=None, run_tag='')
Returns a list of tuples ('AnalysisTag',['commands']) specifying the commands of the MadAnalysis runs required from this card.
source code

Inherited from dict: __cmp__, __contains__, __delitem__, __eq__, __ge__, __getattribute__, __getitem__, __gt__, __iter__, __le__, __len__, __lt__, __ne__, __new__, __repr__, __setitem__, __sizeof__, clear, copy, fromkeys, get, has_key, items, iteritems, iterkeys, itervalues, keys, pop, popitem, setdefault, update, values, viewitems, viewkeys, viewvalues

Inherited from object: __delattr__, __format__, __reduce__, __reduce_ex__, __setattr__, __str__, __subclasshook__

Class Methods [hide private]
 
events_can_be_reconstructed(cls, file_path)
Checks from the type of an event file whether it can be reconstructed or not.
source code
 
empty_analysis(cls)
A method returning the structure of an empty analysis
source code
 
empty_reconstruction(cls)
A method returning the structure of an empty reconstruction
source code
Class Variables [hide private]
  _MG5aMC_escape_tag = '@MG5aMC'
  _default_hadron_inputs = ['*.hepmc', '*.hep', '*.stdhep', '*.l...
  _default_parton_inputs = ['*.lhe']
  _skip_analysis = False

Inherited from dict: __hash__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, finput=None, mode=None)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Returns:
new empty dictionary

Overrides: object.__init__
(inherited documentation)

get_MA5_cmds(self, inputs_arg, submit_folder, run_dir_path=None, UFO_model_path=None, run_tag='')

source code 

Returns a list of tuples ('AnalysisTag',['commands']) specifying the commands of the MadAnalysis runs required from this card. At parton-level, the number of such commands is the number of analysis asked for. In the future, the idea is that the entire card can be processed in one go from MA5 directly.


Class Variable Details [hide private]

_default_hadron_inputs

Value:
['*.hepmc', '*.hep', '*.stdhep', '*.lhco', '*.root']