Skip to content

Instantly share code, notes, and snippets.

View kratsg's full-sized avatar

Giordon Stark kratsg

View GitHub Profile
[
"boot_16",
"boot_17",
"boot_18",
"bTagWeight_FT_EFF_B_systematics",
"bTagWeight_FT_EFF_C_systematics",
"bTagWeight_FT_EFF_extrapolation",
"bTagWeight_FT_EFF_extrapolation_from_charm",
"bTagWeight_FT_EFF_Light_systematics",
"btag_BT",
#********************************************************************
# MadGraph5_aMC@NLO *
#********************************************************************
# Les Houches friendly file for the SM parameters of *
# MadGraph5_aMC@NLO Spectrum and decay widths produced by SMCalc *
#********************************************************************
# Please note the following IMPORTANT issues: *
# *
# 0. REFRAIN from editing this file by hand! Some of the parame- *
# ters are not independent *
import weakref
#import click
import pyhf
__events = {}
def subscribe(event, func):
global __events
__events.setdefault(event, Callables()).append(func)
class Greet:
import mecom
import time
class Peltier(mecom.MeCom):
def __init__(self, port, interesting_ids=[1000, 1001, 1010, 1020, 1021, 1200, 2010]):
super().__init__(port)
self.interested = interesting_ids
def print(self, verbose=False):
for command in sorted(self.PARAMETERS._PARAMETERS, key=lambda x: x.id):
18f2886b4b0750027f874615182e8a39 ./hrm/sleptons/bkgonly_MGPy8EG_A14N23LO_SlepSlep_direct_degenerate_100p0_60p0_2L2MET75_excl_AllSys_HghMETLowMET_V2_sepNF_prun.json
18f2886b4b0750027f874615182e8a39 ./hrm/sleptons/bkgonly_MGPy8EG_A14N23LO_SlepSlep_direct_degenerate_100p0_70p0_2L2MET75_excl_AllSys_HghMETLowMET_V2_sepNF_prun.json
18f2886b4b0750027f874615182e8a39 ./hrm/sleptons/bkgonly_MGPy8EG_A14N23LO_SlepSlep_direct_degenerate_100p0_80p0_2L2MET75_excl_AllSys_HghMETLowMET_V2_sepNF_prun.json
18f2886b4b0750027f874615182e8a39 ./hrm/sleptons/bkgonly_MGPy8EG_A14N23LO_SlepSlep_direct_degenerate_100p0_90p0_2L2MET75_excl_AllSys_HghMETLowMET_V2_sepNF_prun.json
18f2886b4b0750027f874615182e8a39 ./hrm/sleptons/bkgonly_MGPy8EG_A14N23LO_SlepSlep_direct_degenerate_100p0_95p0_2L2MET75_excl_AllSys_HghMETLowMET_V2_sepNF_prun.json
18f2886b4b0750027f874615182e8a39 ./hrm/sleptons/bkgonly_MGPy8EG_A14N23LO_SlepSlep_direct_degenerate_100p0_98p0_2L2MET75_excl_AllSys_HghMETLowMET_V2_sepNF_prun.json
18f2886b4b0750027f874615182e8a39
{
"channels": [
{
"name": "CR_1L_vbfjjM",
"samples": [
{
"data": [
86.4917984008789,
12.507765769958496,
1.419508695602417,
import numpy as np
import json
import pyhf
import jsonpatch
import copy
#fname = 'EwkCompressed2018.txt'
fname = 'test.txt'
data = np.genfromtxt(fname, dtype=('|U50', float, float, float), delimiter=",", names=True)
BLOCK MODSEL
1 100 # MSSM:0, mSUGRA:1, mGMSB=2, mAMSB=3, (+100 for nonminimal GMSB, AMSB)
# MSSM bottom up:-1, HighScaleMSSM: 100, HighScaleMSSM with Top Down: 101, External: 999
3 0 # MSSM particle content:0, External: 99
11 1 # MSSM bottom-up only: number of points
BLOCK SUSPECT_CONFIG
0 2.10000000e+01 # 21: 2-loop RGE (default), 11: 1-loop, 99: provided externally
1 1.00000000e+00 # 1: g_1(gut) = g_2(gut) consistently calculated from input, 0: High scale input via index 2
2 2.50000000e+16 # unification scale for top-down or target scale for bottom-up (if imposed via index 1)
3 2.00000000e+00 # RGE accuracy: 1: moderate, 2: accurate (default), 3: expert input via index 9
BLOCK MODSEL
1 0 # MSSM:0, mSUGRA:1, mGMSB=2, mAMSB=3, (+100 for nonminimal GMSB, AMSB)
# MSSM bottom up:-1, HighScaleMSSM: 100, HighScaleMSSM with Top Down: 101, External: 999
3 0 # MSSM particle content:0, External: 99
11 1 # MSSM bottom-up only: number of points
BLOCK SUSPECT_CONFIG
0 2.10000000e+01 # 21: 2-loop RGE (default), 11: 1-loop, 99: provided externally
1 1.00000000e+00 # 1: g_1(gut) = g_2(gut) consistently calculated from input, 0: High scale input via index 2
2 2.50000000e+16 # unification scale for top-down or target scale for bottom-up (if imposed via index 1)
3 2.00000000e+00 # RGE accuracy: 1: moderate, 2: accurate (default), 3: expert input via index 9
absl-py==0.11.0
alabaster==0.7.12
ansiwrap==0.8.4
appdirs==1.4.4
appnope==0.1.2
argon2-cffi==20.1.0
astunparse==1.6.3
async-generator==1.10
attrs==20.3.0
awkward==0.13.0