This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl -w | |
################################################################################ | |
# merge.pl | |
# Richard Corke ([email protected]) | |
# | |
# Changed structure to not read entire files into memory | |
# | |
# Based on merge.pl v1.2 by Michel Herquet (UCL-CP3) | |
# DESCRIPTION : script to merge to LHE events files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"private": { | |
"delegate-dn": [ | |
"/DC=ch/DC=cern/OU=computers/CN=markv.cern.ch|/DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=awoodard/CN=719477/CN=Anna Elizabeth Woodard/CN=proxy" | |
], | |
"backend-urls" : { | |
"cacheSSL" : "https://cmsweb-testbed.cern.ch/crabcache", | |
"baseURL" : "https://cmsweb-testbed.cern.ch/crabcache", | |
"htcondorSchedds" : { | |
"[email protected]" : { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import re | |
import numpy as np | |
from numpy.polynomial import Polynomial | |
import ROOT | |
from HiggsAnalysis.CombinedLimit.PhysicsModel import PhysicsModel | |
from HiggsAnalysis.CombinedLimit.SMHiggsBuilder import SMHiggsBuilder |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from collections import defaultdict | |
import os | |
import re | |
import numpy as np | |
import ROOT | |
ROOT.gROOT.SetBatch(True) | |
from rootpy.plotting import Hist, HistStack, Legend, Canvas | |
from rootpy.plotting.style import get_style, set_style | |
from rootpy.plotting.utils import draw |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/python3 | |
import requests | |
import shlex | |
import subprocess | |
# login to beeminder and visit https://www.beeminder.com/api/v1/auth_token.json | |
auth_token = 'token' | |
username = 'username' | |
goal = 'thesis' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/python3 | |
import re | |
import requests | |
import shlex | |
import subprocess | |
# login to beeminder and visit https://www.beeminder.com/api/v1/auth_token.json | |
auth_token = 'token' | |
username = 'username' | |
goal = 'thesis' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Author: Matthias Wolf | |
\subfloat[][]{ | |
\feynmandiagram [horizontal=l2 to h] { | |
g1 -- [gluon] l1 -- [anti fermion,edge label={\Ptop,\Pb}] l2 -- [scalar, edge label=\PH] h, | |
g2 -- [gluon] l3 -- [fermion] l2, | |
l3 -- [anti fermion] l1, | |
g1 -- [draw=none] g2, | |
}; | |
\label{sfig:ggf} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Based on https://gist.github.com/CTimmerman/1f328f02ac2740f4c90d | |
""" | |
import cloudpickle | |
import dill | |
import _pickle | |
import json | |
import marshal | |
import pickle | |
import random |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"parsl":{ | |
"tags":["python packages", "parallel scripting"], | |
"show-in-list":1, | |
"versions":[ | |
{ | |
"version":"auto", | |
"source":{ | |
"type":"generic", | |
"auto-version":[ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import parsl | |
from parsl.providers import SlurmProvider | |
from parsl.config import Config | |
from parsl.executors.ipp import IPyParallelExecutor | |
from parsl.app.app import python_app | |
config = Config( | |
executors=[ | |
IPyParallelExecutor( |
OlderNewer