contur.config package

Submodules

contur.config.config module

Global configuration class setting default behaviour, importing contur loads all of the following

Module members:

Where these are settable from the command line. See `contur --help` for documentation.

  • useTheoryCorr (bool) see `--xtc`

  • offline (bool) see `--offline`

  • vetoAnalyses (string) see `--ana-match`

  • onlyAnalyses (string) see `--ana-unmatch`

  • splitAnalysis (bool) see `--ana-split`

  • exclude_met_ratio (bool) see `--xr`

  • exclude_hgg (bool) see `--xhg`

  • exclude_hww (bool) see `--xhw`

  • exclude_awz (bool) see `--awz`

  • exclude_b_veto (bool) see `--wbv`

  • exclude_searches (bool) see `-s`

  • exclude_soft_physics (bool) see `--soft_physics`

  • tracks_only (bool) see `--tracks_only`

  • gridMode (bool) see `-g`

  • weight (string) see `--wn

  • binwidth see `--BW`

  • binoffset see `--BO`

  • blocklist (default {“MASS”,”STOPMIX”}) see `--S`

Stats/fitting, parameters, see `contur --help`

  • min_num_sys

  • look_elsewhere

Batch system

  • using_condor

  • condor_os

  • using_qsub (Default)

  • using_slurm

  • seed (random number seed)

Presentation options for rivet

  • nostack If true, don’t stack signal and background for display

These are used by `contur-plot`

  • contour_colour

  • map_colorCycle (set to None, will be initialised from colour config if a pool name is unrecognised)

  • plot_format (pdf or png)

Default file names

  • mceg (default “herwig”)

  • mceg_template (default “herwig.in”)

  • paramfile (default “params.dat”)

  • tag (default “runpoint”)

  • unneeded_files (default [“herwig.run”,”Looptools.log”, “py.py”, “mgevents”]) These files will be removed when runing `contur-gridtool`

  • param_steering_file (default “param_file.dat”)

  • summary_file (default Summary.txt)

  • output_dir (default ANALYSIS)

  • batch_output_dir (default myscan00)

These are used internally, set from other conditions.

  • silenceWriter (bool) – Disables a lot of plotting output, for when it is not needed (eg in grid mode).

  • contur_log (logging.logger) logger object

  • stat_types [“DATABG”,”SMBG”,”EXP”,”HLEXP”] This indexes different ways of evaluating a likelihood.

    DATABG: using the data as the background. This can always be done and is what has been used for most contur results so far. SMBG: if we have the Standard Model prediction, we evaluate the exclusion using this as the background too. EXP: this is the expected limit. Evaluated by moving the data central value to the SM prediction (when we have one) HLEXP: this is the expected limit. Evaluated as above, but reducing the uncertainties by sqrt of lumi ratio to the projected HL-LHC

exception contur.config.config.ConturError[source]

Bases: Exception

contur.config.config.setup_logger(filename='contur.log', logstream=None, level='ERROR')[source]

set up the logger object

Parameters:

filename – name of log file

contur.config.paths module

contur.config.paths.data_path(*relpaths)[source]

Get the complete path to a sub-path in the user’s local Contur installation

contur.config.paths.root_path()[source]

Get the root paths of the contur installation

contur.config.paths.user_path(*relpaths)[source]

Get the complete path to a sub-path in the user’s local Contur installation

contur.config.version module

set the version number

Module contents