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

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

Rivet. July , CERN

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

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

Recasting LHC analyses with MADANALYSIS 5

Studying jets in MC with Rivet

Big Data Analytics Tools. Applied to ATLAS Event Data

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.

CEDAR: HepData, JetWeb and Rivet

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

Recent developments in tracking and

Early experience with the Run 2 ATLAS analysis model

Event Displays and LArg

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

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

LAr Event Reconstruction with the PANDORA Software Development Kit

Improving Generators Interface to Support LHEF V3 Format

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

Latest development for ME-PS matching with MadGraph/MadEvent

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

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

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

PoS(High-pT physics09)036

DESY at the LHC. Klaus Mőnig. On behalf of the ATLAS, CMS and the Grid/Tier2 communities

Monte Carlo programs

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

CMS Conference Report

MC4BSM-2012 Tutorial: PYTHIA 8

Deep Learning Photon Identification in a SuperGranular Calorimeter

Tracking POG Update. Tracking POG Meeting March 17, 2009

TPC Detector Response Simulation and Track Reconstruction

HepData status+history

Netrix icms Asset Manager Adobe InDesign CC plug-in

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

TPC Detector Response Simulation and Track Reconstruction

USING NGC WITH GOOGLE CLOUD PLATFORM

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

MIP Reconstruction Techniques and Minimum Spanning Tree Clustering

The CMS data quality monitoring software: experience and future prospects

ATLAS PILE-UP AND OVERLAY SIMULATION

ATLAS Simulation Computing Performance and Pile-Up Simulation in ATLAS

HIGH ENERGY PHYSICS ON THE OSG. Brian Bockelman CCL Workshop, 2016

Data and Analysis preservation in LHCb

Understanding the predefined examples

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

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

CMS Simulation Software

Benchmarking the ATLAS software through the Kit Validation engine

Expressing Parallelism with ROOT

Install your scientific software stack easily with Spack

The Belle II Software From Detector Signals to Physics Results

ALICE ANALYSIS PRESERVATION. Mihaela Gheata DASPOS/DPHEP7 workshop

ILC Software Overview and recent developments

Starting a Data Analysis

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

Exercises. Cacti Installation and Configuration

Exercises. Cacti Installation and Configuration

Introduction to Linux Workshop 1

MadAnalysis5 A framework for event file analysis.

GNAM for MDT and RPC commissioning

HPS Data Analysis Group Summary. Matt Graham HPS Collaboration Meeting June 6, 2013

commands exercises Linux System Administration and IP Services AfNOG 2015 Linux Commands # Notes

Installation & first startup

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

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

A Web-based control and monitoring system for DAQ applications

ATLAS, CMS and LHCb Trigger systems for flavour physics

Online production validation in a HEP environment

CS370 Operating Systems

Monitoring of Computing Resource Use of Active Software Releases at ATLAS

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.

ROOT Trips & Tricks. Ole Hansen. Jefferson Lab. Hall A & C Analysis Workshop June 26 27, 2017

TPC Detector Response Simulation and Track Reconstruction

GARCON Genetic Algorithm for Rectangular Cuts OptimizatioN

Containers. Pablo F. Ordóñez. October 18, 2018

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

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

LoKi & Bender Smart & transparent physics analysis

arxiv:hep-ph/ v1 27 Mar 2007

TangeloHub Documentation

Stephen J. Gowdy (CERN) 12 th September 2012 XLDB Conference FINDING THE HIGGS IN THE HAYSTACK(S)

INTRODUCTION TO LINUX

Web-interface for Monte-Carlo event generators

HepMC 2. a C++ Event Record for Monte Carlo Generators. User Manual Version 2.0 August 18, 2006.

SiD Simulation & Reconstruction. Norman Graf (for the sim/reco team) LCWS 2010, Beijing March 28, 2010

Simulation and Physics Studies for SiD. Norman Graf (for the Simulation & Reconstruction Team)

Introduction to the shell Part II

CouchDB-based system for data management in a Grid environment Implementation and Experience

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

LHAPDF 6: developments and plans

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

Companion Guide to Practical Tools for Serverless Computing UCC 2017

Using Mail Merge in Microsoft Word XP/2002

Windows Could Not Start The Windows Internal Database Error Code 3417

Monte Carlo Production on the Grid by the H1 Collaboration

Preparing for CLAS12 Data Analysis

Observing Bufferbloat using mininet

CSE 101 Introduction to Computers Development / Tutorial / Lab Environment Setup

CSPAD FAQ And starting point for discussion. Philip Hart, LCLS Users Workshop, Detector session, 2 Oct 2013

Status and Plans for PYTHIA 8

Transcription:

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

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.0 by adding detector transfer-function features C++ library with Python interface, analyses are plugins, code is clean Andy Buckley 2/18

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/18

Rivet setup Local install Easy to install using our bootstrap script: wget http://rivet.hepforge.org/hg/bootstrap/raw-file/2.5.4/rivet-bootstrap bash rivet-bootstrap Needs compiler etc. set up first note, requires C++11 support Run from LCG Can also pick up latest from Genser/LCG build area: 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 rivetbox VM or Docker Virtualised/container pre-prepared environments. Not yet for production use, but handy for tutorials. VM from Rivet downloads, Docker instructions at https://rivet.hepforge.org/trac/wiki/docker Andy Buckley 4/18

First Rivet runs Andy Buckley 5/18

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/18

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/18

Plotting YODA stats library http://yoda.hepforge.org Bin-width handling, bin gaps, object ownership, thread-safety histogramming doesn t use ROOT 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/18

BSM searches and detector effects Andy Buckley 9/18

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/18

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/18

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/18

BSM hands-on Download TESTDET.cc, CMS 2017 I1594909.cc, truerecosplit.sh and gg g1500 chi100 g-ttchi.slha from http://rivet.hepforge.org/tutorial/ Look at the source code in the two.cc files: does it make sense? Ask if not! Try adding constant 70% b-tag efficiency to the jets. What about mistags, or non-const eff? Andy Buckley 13/18

BSM hands-on Download TESTDET.cc, CMS 2017 I1594909.cc, truerecosplit.sh and gg g1500 chi100 g-ttchi.slha from http://rivet.hepforge.org/tutorial/ Look at the source code in the two.cc files: does it make sense? Ask if not! Try adding constant 70% b-tag efficiency to the jets. What about mistags, or non-const eff? $ rivet-buildplugin TESTDET.cc CMS 2017 I1594909.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,CMS 2017 I1594909 -H bsm.yoda fifo.hepmc $ bash truerecosplit.sh bsm.yoda $ rivet-mkhtml bsm-*.yoda -m /TESTDET Browse the bsm.yoda file with yodals -v: the CMS Counters are SR counts for recasting Andy Buckley 14/18

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 15/18

Contur hands-on exercise Finally, let s try running Contur ourselves cd /contur, read SimpleInstructions.txt for setup Download this yoda file from https://contur.hepforge.org/codedocs/running.html Process pre-made my 501 mx 400.yoda with CLTestSingle and contur-mkhtml Adventurous: get 7 and 13 TeV HepMC file from Contur website, run through Rivet with analyses identified from 7/13 WEAK.ana You will need to install two more system packages on the VM (sorry): sudo apt-get install sqlite3 python-scipy (root passwd is r1v3t) Andy Buckley 16/18

That s all, folks Andy Buckley 17/18

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 in v2.6.0 and v3.0.0: better detector functions, systematics weights,... 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 18/18