bsmart.collider package

Submodules

bsmart.collider.InterpolateXSection module

Routines for interpolating cross-sections

Return results in pb

Options are:

class bsmart.collider.InterpolateXSection.XS(xsinfodict)[source]

Bases: object

get_xs_info(var_dict)[source]
getxs(mass)[source]
getxserr(mass)[source]
loadxs(xsinfodict)[source]

bsmart.collider.MA5aux module

Auxiliary routines for MadAnalysis

bsmart.collider.MA5aux.ReadCutFlow(cffile)[source]

bsmart.collider.MGaux module

class bsmart.collider.MGaux.MadGraphRunner(settings)[source]

Bases: object

run(spc_file, temp_dir, log, data_point)[source]
bsmart.collider.MGaux.quadrature(input)[source]
bsmart.collider.MGaux.readbanner(rundir)[source]
bsmart.collider.MGaux.readmerged(rundir)[source]
bsmart.collider.MGaux.readparton(rundir)[source]
bsmart.collider.MGaux.readxsdata(rundir)[source]

will try the above routines to see which works

bsmart.collider.MGaux.write_command_file(fname, commands, var_dict)[source]

function to write a set of commands for madgraph with the possibility of replacing

bsmart.collider.pythiacfg module

Script for editing a pythia config file based on a template

The idea is that each entry is of the form

<string> = <value>

The code will attempt to evaluate the value based on the inputs given, which should be a function of the input variables of the code.

class bsmart.collider.pythiacfg.PYTHIACFG[source]

Bases: object

read(template_in)[source]
write(filename, var_vals, var_names=None)[source]
write_dict(filename, var_dict={})[source]

bsmart.collider.splitlhe module

Simple routine to split a LHE file into pieces for parallel handling in HackAnalysis

bsmart.collider.splitlhe.splitlhe(n_cores, infile, split_lhe_name='Split/split')[source]

Module contents