Skip to content

Instantly share code, notes, and snippets.

View clelange's full-sized avatar

Clemens Lange clelange

View GitHub Profile
#Based on https://cms-pdmv.cern.ch/mcm/public/restapi/requests/get_fragment/HIG-RunIIFall17wmLHEGS-00304
import FWCore.ParameterSet.Config as cms
externalLHEProducer = cms.EDProducer("ExternalLHEProducer",
args = cms.vstring('/afs/cern.ch/work/a/adewit/private/genproductions/bin/MadGraph5_aMCatNLO/dyellell1j_5f_NLO_FXFX_slc6_amd64_gcc481_CMSSW_7_1_30_tarball.tar.xz'),
nEvents = cms.untracked.uint32(5000),
numberOfParameters = cms.uint32(1),
outputFile = cms.string('cmsgrid_final.lhe'),
scriptName = cms.FileInPath('GeneratorInterface/LHEInterface/data/run_generic_tarball_cvmfs.sh')
)

Keybase proof

I hereby claim:

  • I am clelange on github.
  • I am clange (https://keybase.io/clange) on keybase.
  • I have a public key ASCvHSUivFv2YT8JMnojxj2i-9QARCo673ycHIhJa8iBXwo

To claim this, I am signing this object:

[clange@lxplus000]~/myswarmcluster% source ~recast/public/setup.sh
(venv) [clange@lxplus000]~/myswarmcluster% recast catalogue ls
NAME DESCRIPTION
examples/rome Example from ATLAS Exotics Rome Workshop 2018
(venv) [clange@lxplus000]~/myswarmcluster% recast run examples/rome
2018-07-23 13:19:45,430 | pack.eventselection. | INFO | starting file loging for topic: step
2018-07-23 13:21:35,320 | pack.statanalysis.st | INFO | starting file loging for topic: step
RECAST result:
--------------
- name: CLs 95% based upper limit on poi
@clelange
clelange / signal_13TeV_94X_Fall17_private.py
Created September 7, 2018 08:44
Current list of privately produced samples
from CMGTools.RootTools.samples.ComponentCreator import ComponentCreator
kreator = ComponentCreator()
signalSamples_private = []
BulkGravToWW_narrow_M_4500 = kreator.makeMyPrivateMCComponent("BulkGravToWW_narrow_M_4500", "/BulkGraviton_WW_inclu_narrow_M4500/mmozer-MoriondProd-65c6b29ab922da94b788da955c09b417/USER", "PRIVATE", ".*root", "phys03", 1.0)
signalSamples_private.append(BulkGravToWW_narrow_M_4500)
BulkGravToWW_narrow_M_5000 = kreator.makeMyPrivateMCComponent("BulkGravToWW_narrow_M_5000", "/BulkGraviton_WW_inclu_narrow_M5000/mmozer-MoriondProd-65c6b29ab922da94b788da955c09b417/USER", "PRIVATE", ".*root", "phys03", 1.0)
signalSamples_private.append(BulkGravToWW_narrow_M_5000)
BulkGravToWW_narrow_M_5500 = kreator.makeMyPrivateMCComponent("BulkGravToWW_narrow_M_5500", "/BulkGraviton_WW_inclu_narrow_M5500/mmozer-MoriondProd-65c6b29ab922da94b788da955c09b417/USER", "PRIVATE", ".*root", "phys03", 1.0)
signalSamples_private.append(BulkGravToWW_narrow_M_5500)
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
generateName: bsm-search-htc-
labels:
workflows.argoproj.io/archive-strategy: false
spec:
volumeClaimTemplates:
- metadata:
name: vol-cephfs-bsm
@clelange
clelange / standup.md
Last active January 19, 2022 15:03
Standup and weekly+daily planning

Z+charm standup - Week 4

:::info Template for daily standup meetings. Should be copied for each new week. Mind that 30-minute slots might be too granular, could also go to 1-hour slots (but definitely not > 2-hour slots). :::

Table of contents

[TOC]

@clelange
clelange / limit_colors.ipynb
Created February 9, 2024 13:02
CMS Limit plot colours
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.