Skip to content

Instantly share code, notes, and snippets.

@wiso
wiso / localgroupdisk
Created April 14, 2015 22:03
Analysis of usage of localgroupdisk
{
"metadata": {
"name": "",
"signature": "sha256:3e1c49c3c4e537695ae945cbf720250a7981031b9cf4e7037eba8a129208ef78"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
@wiso
wiso / chi2_problem_root
Created April 15, 2015 22:36
chi2 problem root
{
"metadata": {
"name": "",
"signature": "sha256:df7234a0e683ce8cb49122683b52f787f9f33e94bdd3a6bc8189dc167e0e2aee"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
@wiso
wiso / chi2_problem
Created April 15, 2015 23:03
chi2 problem root_bis
{
"metadata": {
"name": "",
"signature": "sha256:73fa0c55dc2c0975d9c2102088e87500ae209e8b36bf73fe3b3633d6fe405423"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
@wiso
wiso / ftest
Last active August 29, 2015 14:19
ftest
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"See as example https://indico.cern.ch/event/147827/material/slides/1?contribId=9, slide 16"
]
},
{
@wiso
wiso / diago1
Created April 23, 2015 00:07
diago1
This file has been truncated, but you can view the full file.
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Diagonalization example"
]
},
{
@wiso
wiso / gist:a7bdc5768ed6f8fce170
Created May 18, 2015 21:13
discrete profiling
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
@wiso
wiso / lartemperature
Created May 27, 2015 14:32
Propagation of temperature difference
## Propagation of temperature difference
$$E^\text{(corr)}_{\text{year}} = E_{\text{year}} / (1 + \alpha_{\text{year}})$$
we want
$$E^\text{(corr)}_{\text{2012}} = E^\text{(corr)}_{\text{2015}} $$
and we know (temperature effect):
@wiso
wiso / pjs.ipynb
Last active August 29, 2015 14:23
photon jet sample statistics
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@wiso
wiso / RooSpline.cxx
Created July 13, 2015 09:54
RooSpline
#include "RooFit.h"
#include "RooTrace.h"
#include "Riostream.h"
#include <vector>
#include <string>
#include "RooSpline.h"
#include "RooNameReg.h"
#include "RooAbsReal.h"
{
"cells": [
{
"cell_type": "code",
"execution_count": 4,
"metadata": {
"collapsed": false
},
"outputs": [
{