Skip to content

Instantly share code, notes, and snippets.

@stwunsch
stwunsch / qcd.py
Created May 4, 2020 09:59
Simple measurement of the QCD extrapolation factor for the CMS Open Data Higgs to two tau leptons analysis (http://opendata.web.cern.ch/record/12350)
# Simple measurement of the QCD scale factor
#
# The input file "histograms_antiiso.root" is produces with the "histograms.py" script
# from the original analysis but with an inverted muon isolation (iso_1>0.1). You can
# change this easily in the baseline selection next to the cut on the transverse mass.
# This allows us to measure the difference of the yield for the QCD estimate
# in the same-sign vs opposite-sign region and we can use the ratio as
# extrapolation factor in the actual analysis.
@stwunsch
stwunsch / gof.sh
Last active January 31, 2019 09:50
#!/bin/bash
ERA=2016
CHANNEL=mt
BIN=12
ALGO=saturated
for ALGO in saturated AD KS; do
# Clean ROOT files
rm -f higgs*.root *.json *.pdf *.png ${PWD}/workspace.root

Keybase proof

I hereby claim:

  • I am stwunsch on github.
  • I am stefanwunsch (https://keybase.io/stefanwunsch) on keybase.
  • I have a public key ASCuYsy_eOGIiBIfU0-bNMHAGzkA9Zz0I9ZaM2qn2mYDyAo

To claim this, I am signing this object: