This file contains hidden or 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
################################################## | |
# Yacine Note: Used to hadrinise VBF LHE files from NLO Powheg | |
# Example generator based on LHC parameters | |
# For use with POWHEG events | |
# usage: Herwig read LHE.in | |
################################################## | |
# Technical parameters for this run | |
################################################## | |
cd /Herwig/Generators | |
set EventGenerator:NumberOfEvents NEVENTS |
This file contains hidden or 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
// -*- C++ -*- | |
#include "Rivet/Analysis.hh" | |
#include "Rivet/Projections/FinalState.hh" | |
#include "Rivet/Projections/FastJets.hh" | |
#include "Rivet/Projections/IdentifiedFinalState.hh" | |
#include "Rivet/Projections/VetoedFinalState.hh" | |
#include "qg-taggers.hh" | |
#include "csvwrite.hh" | |
#include <iostream> |
This file contains hidden or 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 matplotlib import pyplot as plt | |
import numpy as np | |
plt.xkcd() | |
fig = plt.figure(figsize=(6,5)) | |
ax = fig.add_subplot(1, 1, 1) | |
plt.xticks([]) | |
plt.yticks([]) |
This file contains hidden or 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/env python | |
import subprocess | |
import sys, os, errno, platform, shutil | |
import urllib2, ssl | |
import tarfile | |
from optparse import OptionParser, OptionGroup | |
from optparse import SUPPRESS_HELP as NOHELP | |
from time import sleep | |
if platform.system() == 'Darwin': |
This file contains hidden or 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
################################################## | |
## Collider typeddede | |
################################################## | |
read snippets/Matchbox.in | |
read snippets/PPCollider.in | |
cd /Herwig/EventHandlers | |
set EventHandler:LuminosityFunction:Energy 13000*GeV | |
################################################## |
This file contains hidden or 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 ROOT | |
import sys, os | |
import numpy as np | |
import math | |
from importlib import import_module | |
import itertools | |
from copy import deepcopy | |
from PhysicsTools.NanoAODTools.postprocessing.framework.postprocessor import PostProcessor | |
from PhysicsTools.NanoAODTools.postprocessing.framework.datamodel import Collection, Object | |
from PhysicsTools.NanoAODTools.postprocessing.framework.eventloop import Module |
This file contains hidden or 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 ROOT | |
import sys, os | |
import numpy as np | |
from importlib import import_module | |
from PhysicsTools.NanoAODTools.postprocessing.framework.postprocessor import PostProcessor | |
from PhysicsTools.NanoAODTools.postprocessing.framework.datamodel import Collection, Object | |
from PhysicsTools.NanoAODTools.postprocessing.framework.eventloop import Module | |
ROOT.PyConfig.IgnoreCommandLineOptions = True |
This file contains hidden or 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
ADDMonoZ_ZtoLL_MD-1_d-2_TuneCUETP8M1_13TeV-pythia8: | |
br: 1.0 | |
kr: 1.0 | |
xsec: 0.06738 | |
ADDMonoZ_ZtoLL_MD-1_d-3_TuneCUETP8M1_13TeV-pythia8: | |
br: 1.0 | |
kr: 1.0 | |
xsec: 0.06738 | |
ADDMonoZ_ZtoLL_MD-1_d-4_TuneCUETP8M1_13TeV-pythia8: | |
br: 1.0 |
This file contains hidden or 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
#ifndef TRUTHRIVETTOOLS_HIGGSTEMPLATECROSSSECTIONS_CC | |
#define TRUTHRIVETTOOLS_HIGGSTEMPLATECROSSSECTIONS_CC | |
// -*- C++ -*- | |
#include "Rivet/Analysis.hh" | |
#include "Rivet/Particle.hh" | |
#include "Rivet/Projections/FastJets.hh" | |
// Definition of the StatusCode and Category enums | |
#include "HiggsTemplateCrossSections.h" |
This file contains hidden or 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
#include <iostream> | |
#include <string> | |
#include <vector> | |
#include <algorithm> | |
#include <math.h> | |
#include <fstream> | |
#include "square.h" | |
using namespace std; |
NewerOlder