Collider analysis recasting with Rivet & Contur. Andy Buckley, University of Glasgow Jon Butterworth, University College London MC4BSM, 20 April 2018

Similar documents
Analysis preservation and recasting with Rivet & Contur. Andy Buckley, University of Glasgow FNAL Reinterpretation Workshop, 16 Oct 2017

Rivet. July , CERN

Rivet tutorial. Andy Buckley, Hendrik Hoeth. Les Houches /30

Recasting LHC analyses with MADANALYSIS 5

Rivet tutorial. Andy Buckley. ATLAS Rivet tutorial, /27

Studying jets in MC with Rivet

Big Data Analytics Tools. Applied to ATLAS Event Data

CEDAR: HepData, JetWeb and Rivet

Study of the Higgs boson coupling to the top quark and of the b jet identification with the ATLAS experiment at the Large Hadron Collider.

Offline Tutorial I. Małgorzata Janik Łukasz Graczykowski. Warsaw University of Technology

LAr Event Reconstruction with the PANDORA Software Development Kit

Recasting with. Eric Conte, Benjamin Fuks. (Re)interpreting the results of new physics searches at the LHC June CERN

Analysis of Σ 0 baryon, or other particles, or detector outputs from the grid data at ALICE

Early experience with the Run 2 ATLAS analysis model

Data Analysis in ATLAS. Graeme Stewart with thanks to Attila Krasznahorkay and Johannes Elmsheuser

handling of LHE files in the CMS production and usage of MCDB

Dijet A LL Dijet cross section 2006 Dijet A LL Preparation for Tai Sakuma MIT

HepData status+history

Improving Generators Interface to Support LHEF V3 Format

Recent developments in tracking and

Contents. Note: pay attention to where you are. Note: Plaintext version. Note: pay attention to where you are... 1 Note: Plaintext version...

Event Displays and LArg

8.882 LHC Physics. Analysis Tips. [Lecture 9, March 4, 2009] Experimental Methods and Measurements

Latest development for ME-PS matching with MadGraph/MadEvent

Monte Carlo programs

TPC Detector Response Simulation and Track Reconstruction

MC4BSM-2012 Tutorial: PYTHIA 8

TPC Detector Response Simulation and Track Reconstruction

Software and computing evolution: the HL-LHC challenge. Simone Campana, CERN

PoS(High-pT physics09)036

The CMS data quality monitoring software: experience and future prospects

USING NGC WITH GOOGLE CLOUD PLATFORM

ILC Software Overview and recent developments

CS370 Operating Systems

Bioinformatics? Reads, assembly, annotation, comparative genomics and a bit of phylogeny.

Modelling of non-gaussian tails of multiple Coulomb scattering in track fitting with a Gaussian-sum filter

Tracking POG Update. Tracking POG Meeting March 17, 2009

TPC Detector Response Simulation and Track Reconstruction

Spring 2010 Research Report Judson Benton Locke. High-Statistics Geant4 Simulations

CMS Simulation Software

Expressing Parallelism with ROOT

Benchmarking the ATLAS software through the Kit Validation engine

The Belle II Software From Detector Signals to Physics Results

Starting a Data Analysis

ATLAS Simulation Computing Performance and Pile-Up Simulation in ATLAS

Direct photon measurements in ALICE. Alexis Mas for the ALICE collaboration

Install your scientific software stack easily with Spack

Understanding the predefined examples

CS 390 Software Engineering Lecture 3 Configuration Management

Netrix icms Asset Manager Adobe InDesign CC plug-in

CMS Conference Report

STATUS OF PLANS TO USE CONTAINERS IN THE WORLDWIDE LHC COMPUTING GRID

Installation & first startup

MadAnalysis5 A framework for event file analysis.

Observing Bufferbloat using mininet

Hall D and IT. at Internal Review of IT in the 12 GeV Era. Mark M. Ito. May 20, Hall D. Hall D and IT. M. Ito. Introduction.

Monte Carlo Production on the Grid by the H1 Collaboration

Physics and Detector Simulations. Norman Graf (SLAC) 2nd ECFA/DESY Workshop September 24, 2000

Physics Analysis Software Framework for Belle II

ALICE ANALYSIS PRESERVATION. Mihaela Gheata DASPOS/DPHEP7 workshop

Atlantis event display tutorial

News in RSA-RTE CP1

GARCON Genetic Algorithm for Rectangular Cuts OptimizatioN

Introduction to Linux Workshop 1

Frank Gaede, DESY, LCWS 2005, Stanford, CA March Overview of Simulation and Reconstruction Tools in Europe

Introduction to Flair. FLUKA Beginner s Course

Belle II - Git migration

Chris Simpkins (Georgia Tech) CS 2316 Data Manipulation for Engineers Python Overview 1 / 9

Histograms And N-tuples

Lecture 1.1. What is PAT and How to use it?

Deep Learning Photon Identification in a SuperGranular Calorimeter

Project C: B+Tree. This project may be done in groups of up to three people.

Lab 1 Introduction to UNIX and C

Online production validation in a HEP environment

A Web-based control and monitoring system for DAQ applications

GNAM for MDT and RPC commissioning

WORK PROJECT REPORT: TAPE STORAGE AND CRC PROTECTION

Data needs to be prepped for loading into matlab.

Machine Learning in Data Quality Monitoring

Windows Could Not Start The Windows Internal Database Error Code 3417

9 Reasons To Use a Binary Repository for Front-End Development with Bower

LHAPDF 6: developments and plans

Worldwide Production Distributed Data Management at the LHC. Brian Bockelman MSST 2010, 4 May 2010

ATLAS NOTE ATLAS-CONF July 20, Commissioning of the ATLAS high-performance b-tagging algorithms in the 7 TeV collision data

Preparing for CLAS12 Data Analysis

Installation of CMSSW in the Grid DESY Computing Seminar May 17th, 2010 Wolf Behrenhoff, Christoph Wissing

Tracking and Vertex reconstruction at LHCb for Run II

Practical Statistics for Particle Physics Analyses: Introduction to Computing Examples

Question: 2 Kubernetes changed the name of cluster members to "Nodes." What were they called before that? Choose the correct answer:

arxiv:hep-ph/ v1 27 Mar 2007

How to discover the Higgs Boson in an Oracle database. Maaike Limper

Data Science. Data Analyst. Data Scientist. Data Architect

CMS Analysis Workflow

TPC digitization and track reconstruction: efficiency dependence on noise

Data and Analysis preservation in LHCb

RADU POPESCU IMPROVING THE WRITE SCALABILITY OF THE CERNVM FILE SYSTEM WITH ERLANG/OTP

Change Log. L-Py. July 24th 2009: version (rev 6689): Introduce Lsystem::Debugger. Introduce first ui of a Lsystem Debugger.

Intermediate Programming, Spring Misha Kazhdan

Calorimeter Object Status. A&S week, Feb M. Chefdeville, LAPP, Annecy

Biocomputing II Coursework guidance

Transcription:

Collider analysis recasting with Rivet & Contur Andy Buckley, University of Glasgow Jon Butterworth, University College London MC4BSM, 20 April 2018

Rivet Rivet is an analysis system for MC events, and lots of analyses Easy and powerful way to get physics numbers & plots from any MC gen LHC standard for preserving data analyses: standard in ATLAS & CMS SM Origins in SM, and particularly QCD for MCs extended for search preservation since v2.5 by adding detector transfer-function features C++ library with Python interface, analyses are plugins, code is clean Andy Buckley 2/17

Generator independence A Pythia8 tt event visualised from HepMC output: Most of this is not standardised: Herwig and Sherpa look very different. But final states and decay chains have to have equivalent meaning. Andy Buckley 3/17

Rivet setup Docker VM-like pre-prepared environments: avoid platform issues, integrates well with host. Instructions at https://rivet.hepforge.org/trac/wiki/docker docker pull agbuckley/rivet-tutorial docker run -it agbuckley/rivet-tutorial Local install Easy to install using our bootstrap script: wget http://rivet.hepforge.org/hg/bootstrap/raw-file/2.6.0/rivet-bootstrap bash rivet-bootstrap Needs valid compiler (C++11), etc. environment Run from LCG ssh lxplus7.cern.ch. /cvmfs/sft.cern.ch/lcg/releases/lcg_87/gcc/6.2.0/x86_64-centos7/setup.sh. /cvmfs/sft.cern.ch/lcg/releases/lcg_87/mcgenerators/rivet/2.5.4/... x86_64-centos7-gcc62-opt/rivetenv.sh Andy Buckley 4/17

First Rivet runs Andy Buckley 5/17

Command-line interface rivet and other command line tools to query and run routines List available analyses: rivet --list-analyses List ATLAS analyses: rivet --list-analyses "ATLAS CMS" Show some pure-mc analyses full details: rivet --show-analysis MC_ Same metadata and API docs online at http://rivet.hepforge.org All Rivet commands start with rivet-, so tab-complete lists them all Andy Buckley 6/17

Running existing analyses To avoid huge files, we get the events from generator to Rivet by writing HepMC (from Py8) to a filesystem pipe $ mkfifo fifo.hepmc $ run-pythia -n 200000 -e 8000 -c Top:all=on -o fifo.hepmc & $ rivet fifo.hepmc -a MC_TTBAR,MC_JETS,MC_GENERIC -a ATLAS_2015_I1404878,CMS_2016_I1473674 $ rivet-mkhtml Rivet.yoda: Pythia 8 $t\bar{t}$ By default unfinalised histos are written every 1000 events: monitor progress through the run. Killing with Ctrl-C is safe: finalizing is run Andy Buckley 7/17

Plotting YODA stats library http://yoda.hepforge.org Bin-width handling, bin gaps, object ownership, thread-safety non-root histogramming Separation of stats from presentation: plotting via make-plots script Text-based data format with all second-order stat moments: full stat merging up to all means and variances YAML metadata and zipped read/write from v1.7.0 Being gradually extended to handle more complex physics data types CLI tools: yodals, yodadiff, yodamerge, yodascale, yoda2root, etc. 1/N jet dn/dp rel [GeV 1 ] MC/Data 10 1 1 10 1 10 2 1.4 1.2 1 0.8 0.6 Charged jet p rel (anti-k t, R = 0.4, y 0.0-1.9, p 15.0-24.0) Data Py8 0 0.5 1 1.5 2 Charged particle p rel [GeV] Andy Buckley 8/17

BSM searches and detector effects Andy Buckley 9/17

Detector effects Normal in SM, top, etc. measurements to unfold detector effects. Usually uneconomic to do that for BSM searches Explicit fast detector simulation vs. smearing/efficiencies: MC truth Triggers Efficiencies Smearing Detector hits Reco/analysis Digitization Reco?? Trigger Det (Private) reco algorithms already reverse most detector effects Reco calibration to MC truth, so kinematics usually subleading Efficiency & mis-id effs dominate tabulated in all fast-sims flexible parametrisation: effs change with analysis phase-space, experiment reco-code version, collider run,... and need to guarantee stability for preservation Andy Buckley 10/17

Using Rivet s fast-sim tools Smearing is provided as wrapper projections on normal particle, jet, and MET finders. Smearing configuration via efficiency/modifier functions. To use, first #include "Rivet/Projections/Smearing.hh" Examples: FinalState es1(cuts::abseta < 5 && Cuts::abspid == PID::ELECTRON); SmearedParticles es2(es, ELECTRON_EFF_ATLAS_RUN2, ELECTRON_SMEAR_ATLAS_RUN2); declare(recoes, "Electrons"); FastJets js1(fastjets::antikt, 0.6, JetAlg::DECAY_MUONS); SmearedJets js2(fj, JET_SMEAR_ATLAS_RUN2, JET_EFF_BTAG_ATLAS_RUN2); declare(recoj, "Jets");... Particles elecs = apply<particlefinder>(event, "Electrons").particles(10*GeV); Jets jets = apply<jetalg>(event, "Jets").jetsByPt(30*GeV); Standard global functions here, but private fns or inline lambdas better when possible Andy Buckley 11/17

Selection tools for search analyses Search analyses typically do a lot more object filtering than measurements. Lots of tools to express complex logic neatly: Filtering functions: filter_select(const Particles/Jets&, FN), filter_discard(...) + ifilter_* in-place variants Functors for common stateful filtering criteria: PtGtr(10*GeV), EtaLess(5), AbsEtaGtr(2.5), DeltaRGtr(mom, 0.4), ParticleEffFilter(FN),... Lots of these in Rivet/Tools/ParticleBaseUtils.hh, Rivet/Tools/ParticleUtils.hh, and Rivet/Tools/JetUtils.hh any(), all(), none(), etc. accepting functions/functors Cut-flow monitor via #include "Rivet/Tools/Cutflow.hh" Andy Buckley 12/17

BSM hands-on Look at the source code in TESTDET.cc: does it make sense? Build & run like: $ rivet-buildplugin TESTDET.cc $ run-pythia -n 200000 -e 13000 -o fifo.hepmc -c SUSY:all=on -c SLHA:file=gg_g1500_chi100_g-ttchi.slha & $ rivet --pwd -a TESTDET -H bsm.yoda fifo.hepmc -lanalysis=debug Split and compare the particle- and reco-level observables: $ bash truerecosplit.sh bsm.yoda $ rivet-mkhtml bsm-*.yoda -m /TESTDET Try adding a constant 70% b-tag efficiency to the jets: JET_BTAG_EFFS(0.7) or (const Jet& j) return j.btagged()? 0.7 : 0.0;. Try the same with CMS_2017_I1594909.cc; browse the file with yodals -v to see the the CMS signal-region counts for recasting Andy Buckley 13/17

Contur: limit-setting using Rivet analyses Contur is a layer on top of Rivet to do statistical interpretation of injected BSM signal to Standard Model phase spaces. Idea: make use of the full set of Rivet analyses to constrain new physics models. Modelling inclusivity also important: a strength of Herwig 7 Simplified vector+dm model Benefits: model-agnostic and very quick. Can study many possible signatures at the same time Current constraints: SM modelling is hard, so assume data = SM! Single-bin limits within manual analysis groupings in lieu of full correlations. Working to include SM predictions and uncertainties Eff-coupling light scalars Andy Buckley 14/17

Contur hands-on exercise Finally, let s try running Contur ourselves. We re going to use a separate Docker image, which adds Herwig 7 & Contur: docker pull agbuckley/contur-tutorial docker run -it agbuckley/contur-tutorial In docker, do: source setupcontur.sh make Then you can try: contur -s -t CS my_1500_mx_1000-weak.yoda and contur-mkhtml my_1500_mx_1000-weak.yoda Look at the plots in the contur-plots directory (use docker cp) Other YODA files available, or try generating your own with Herwig/Rivet Andy Buckley 15/17

That s all, folks Andy Buckley 16/17

Summary Rivet is a user-friendly MC analysis system for prototyping and preserving data analyses Allows theorists to use analyses for model development & testing, and BSM recasting Also a very useful cross-check: quite a few analysis bugs have been found via Rivet! Supports detector simulation for BSM search preservation: more features coming soon: systematics weights, more BSM features... Contributions and team membership all very welcome. Twice-annual Rivet hackfests: BSMers welcome! Contur is a BSM limit-setting framework built on Rivet Can operate on any source of YODA files: use the comprehensiveness of Rivet s SM analyses to constrain BSM. Much extension underway... roll up, test your model against the SM! Andy Buckley 17/17