ATLAS Offline Software
Namespaces | Functions | Variables
MadGraphUtils.py File Reference

Go to the source code of this file.

Namespaces

 python.MadGraphUtils
 

Functions

def python.MadGraphUtils.stack_subprocess (command, **kwargs)
 
def python.MadGraphUtils.setup_path_protection ()
 
def python.MadGraphUtils.config_only_check ()
 
def python.MadGraphUtils.generate_prep (process_dir)
 
def python.MadGraphUtils.error_check (errors_a, return_code)
 
def python.MadGraphUtils.write_test_script ()
 
def python.MadGraphUtils.new_process (process='generate p p > t t~\noutput -f', plugin=None, keepJpegs=False, usePMGSettings=False)
 
def python.MadGraphUtils.get_default_runcard (process_dir=MADGRAPH_GRIDPACK_LOCATION)
 
def python.MadGraphUtils.generate (process_dir='PROC_mssm_0', grid_pack=False, gridpack_compile=False, extlhapath=None, required_accuracy=0.01, runArgs=None, bias_module=None, requirePMGSettings=False)
 
def python.MadGraphUtils.generate_from_gridpack (runArgs=None, extlhapath=None, gridpack_compile=None, requirePMGSettings=False)
 
def python.MadGraphUtils.setupFastjet (process_dir=None)
 
def python.MadGraphUtils.get_LHAPDF_DATA_PATH ()
 
def python.MadGraphUtils.get_LHAPDF_PATHS ()
 
def python.MadGraphUtils.get_lhapdf_id_and_name (pdf)
 
def python.MadGraphUtils.setupLHAPDF (process_dir=None, extlhapath=None, allow_links=True)
 
def python.MadGraphUtils.setNCores (process_dir, Ncores=None)
 
def python.MadGraphUtils.resetLHAPDF (origLHAPATH='', origLHAPDF_DATA_PATH='')
 
def python.MadGraphUtils.get_mg5_executable ()
 
def python.MadGraphUtils.add_lifetimes (process_dir, threshold=None)
 
def python.MadGraphUtils.add_madspin (madspin_card=None, process_dir=MADGRAPH_GRIDPACK_LOCATION)
 
def python.MadGraphUtils.madspin_on_lhe (input_LHE, madspin_card, runArgs=None, keep_original=False)
 
def python.MadGraphUtils.arrange_output (process_dir=MADGRAPH_GRIDPACK_LOCATION, lhe_version=None, saveProcDir=False, runArgs=None, fixEventWeightsForBridgeMode=False)
 
def python.MadGraphUtils.get_expected_reweight_names (reweight_card_loc)
 
def python.MadGraphUtils.get_expected_systematic_names (syst_setting)
 
def python.MadGraphUtils.setup_bias_module (bias_module, process_dir)
 
def python.MadGraphUtils.get_reweight_card (process_dir=MADGRAPH_GRIDPACK_LOCATION)
 
def python.MadGraphUtils.check_reweight_card (process_dir=MADGRAPH_GRIDPACK_LOCATION)
 
def python.MadGraphUtils.helpful_SUSY_definitions ()
 
def python.MadGraphUtils.get_SUSY_variations (process, masses, syst_mod, ktdurham=None)
 
def python.MadGraphUtils.SUSY_process (process='')
 
def python.MadGraphUtils.SUSY_Generation (runArgs=None, process=None, plugin=None, syst_mod=None, keepOutput=False, param_card=None, writeGridpack=False, madspin_card=None, run_settings={}, params={}, fixEventWeightsForBridgeMode=False, add_lifetimes_lhe=False, usePMGSettings=True)
 
def python.MadGraphUtils.update_lhe_file (lhe_file_old, param_card_old=None, lhe_file_new=None, masses={}, delete_old_lhe=True)
 
def python.MadGraphUtils.remap_lhe_pdgids (lhe_file_old, lhe_file_new=None, pdgid_map={}, delete_old_lhe=True)
 
def python.MadGraphUtils.find_key_and_update (akey, dictionary)
 
def python.MadGraphUtils.modify_param_card (param_card_input=None, param_card_backup=None, process_dir=MADGRAPH_GRIDPACK_LOCATION, params={}, output_location=None)
 
def python.MadGraphUtils.modify_run_card (run_card_input=None, run_card_backup=None, process_dir=MADGRAPH_GRIDPACK_LOCATION, runArgs=None, settings={}, skipBaseFragment=False)
 
def python.MadGraphUtils.modify_config_card (config_card_backup=None, process_dir=MADGRAPH_GRIDPACK_LOCATION, settings={}, set_commented=True)
 
def python.MadGraphUtils.print_cards_from_dir (process_dir=MADGRAPH_GRIDPACK_LOCATION)
 
def python.MadGraphUtils.print_cards (proc_card='proc_card_mg5.dat', run_card=None, param_card=None, madspin_card=None, reweight_card=None, warn_on_missing=True)
 
def python.MadGraphUtils.is_gen_from_gridpack ()
 
def python.MadGraphUtils.get_default_config_card (process_dir=MADGRAPH_GRIDPACK_LOCATION)
 
def python.MadGraphUtils.get_cluster_type (process_dir=MADGRAPH_GRIDPACK_LOCATION)
 
def python.MadGraphUtils.is_NLO_run (process_dir=MADGRAPH_GRIDPACK_LOCATION)
 
def python.MadGraphUtils.run_card_consistency_check (isNLO=False, process_dir='.')
 
def python.MadGraphUtils.add_reweighting (run_name, reweight_card=None, process_dir=MADGRAPH_GRIDPACK_LOCATION)
 
def python.MadGraphUtils.check_reset_proc_number (opts)
 
def python.MadGraphUtils.ls_dir (directory)
 
def python.MadGraphUtils.fix_fks_makefile (process_dir)
 

Variables

 python.MadGraphUtils.mglog = Logging.logging.getLogger('MadGraphUtils')
 
string python.MadGraphUtils.python = 'python'
 
string python.MadGraphUtils.MADGRAPH_GRIDPACK_LOCATION = 'madevent'
 
string python.MadGraphUtils.MADGRAPH_RUN_NAME = 'run_01'
 
bool python.MadGraphUtils.MADGRAPH_CATCH_ERRORS = True
 
 python.MadGraphUtils.MADGRAPH_PDFSETTING = None
 
list python.MadGraphUtils.MADGRAPH_COMMAND_STACK = []
 
string python.MadGraphUtils.patched_shutil_loc = '/cvmfs/atlas.cern.ch/repo/sw/Generators/madgraph/models/latest/shutil_patch'