HEP data analysis using ROOT

Size: px
Start display at page:

Download "HEP data analysis using ROOT"

Transcription

1 HEP data analysis using ROOT week 3 ROOT Maths and Physics Libraries ROOT Geometries Mark Hodgkinson 1

2 Week 3 ROOT maths and physics libraries vectors and their operations data modelling with RooFit ROOT geometries internal TGeo classes interfaces to other platforms 2

3 ROOT vectors TLorentzVector probably the most useful for HEP data analysis root [1] TLorentzVector v root [2] v.print() (x,y,z,t)=( , , , ) (P,eta,phi,E)=( , , , ) root [3] initialised to (0,0,0,0) Other 2D and 3D vectors available root [3] TVector TVectorT<double> TVectorT<float> TVector2 TVector3 3

4 TLorentzVector Assumes beam along z-axis transverse variables derived accordingly e.g. DeltaPhi: angle between two 4 momenta in transverse plane E t : transverse energy 4

5 Extended ROOT vectors Extended vector libs now available root [1] gsystem->load("libgenvector.so"); many useful operations e.g. vector projections 5

6 GenVector example Find mathcorevectorcollection.c in $ROOTSYS copy to your working directory and run (compiled) $ root mathcorevectorcollection.c+ Time for new Vector ****************************************************************************** *Tree :t1 : Tree with new LorentzVector * *Entries : : Total = bytes File Size = * * : : Tree compression factor = 1.11 * ****************************************************************************** *Br 0 :tracks : Int_t tracks_ * *Entries : : Total Size= bytes File Size = * *Baskets : 4 : Basket Size= bytes Compression= 3.34 * *...* *Br 1 :tracks.fcoordinates.fx : Double_t fx[tracks_] * *Entries : : Total Size= bytes File Size = * *Baskets : 16 : Basket Size= bytes Compression= 1.07 * *...* *Br 2 :tracks.fcoordinates.fy : Double_t fy[tracks_] * *Entries : : Total Size= bytes File Size = * *Baskets : 16 : Basket Size= bytes Compression= 1.07 * 6 *...*

7 300 h1 E n t r i e s Mean RMS h2 E n t r i e s Mean RMS GenVector example h3 E n t r i e s Mean RMS h5 E n t r i e s Mean RMS h4 E n t r i e s Mean RMS h6 E n t r i e s Mean RMS

8 GenVector example Look at the macro writes an STL vector of LorentzVectors to a TTree Don t use magic numbers to define fundamental constants! root [1] TDatabasePDG db root [2] db.getparticle(211).mass() (const Double_t) e-01 8

9 Task Here you will practice using a TTree to fill some histograms - in this case we need to make a plot of the visible tau mass. ROOT files with trees from MC simulation of Z->tautau are available. Run the example and look at the printed visible tau pt - it is always zero! In TauTruthClassifiers_MC12.cxx you need to fill in the setvisiblevectors function - use the getnprong function as an example of what to do. Then create and fill a histogram of the true visible mass (i.e. don t include invisible particles - remember each tau always decays into a W boson and a neutrino, followed by the W decay to leptons or hadrons), and write it out to a file. Need Monte Carlo particle numbering scheme here. Will use your knowledge of TLorentzVector, c++ vectors, ROOT histograms and file I/ O. Also notice it uses a std::map, but this is setup for you. Map is c++ way of storing data with a key - it maps a key to a variable. In this case the key is an integer and the data retrieved is a TLorentzVector. Can find many webpages explaining maps and other c++ data structures (pair, set etc) you might find useful with google search. Copy the folder from /home/hodgkinson/roottutorial_week3 to your own area. 9

10 Task You can build an executable by typing make. Next week we will discuss more details about compilation. Then run the ROOTTutorial executable and specify the range of events to process - in the above we process all events between 0 and Input files have events in total. What is actually being run starts from the code inside main.cxx, which in turn calls functions in the other source code files. We have instructions to submit jobs to our linux box cluster here - so you might also think about running jobs in parallel to speed up things, and then hadding the output files. If you get errors when you add your code in, typical things to do are: use google - often lots of hits from stackoverflow website about the exact errors you get ask someone more experienced for help (people in your office etc) 10

11 RooFit Introduction from main author W. Wekerke (Nikhef) here. As with all software tools, you need to judge if you need this or if native ROOT fitting is enough - it is if all you want to do is fit a simple Gaussian for example. e.g. for one of my projects, we are just using TH1F->Fit() functionality 11

12 Taken from link on previous slide Short answer - sufficiently complex fit might be better done in Roofit. Rootfit is an extension of ROOT, and nowadays comes by default when you install (default ROOT version, now on HEP0 has it - other versions may not, but can ask M. Robinson to install if needed). 12

13 Simulating data with RooFit Very often hear people talking about Toy MC use parameterisations of input PDFs for speed often useful to reweight PDFs to study propagation of errors RooFit provides such functionality worked example from 13

14 RooFit example PDF functions in RooFit Landau: parameterisation of de/dx Argus: empirical function describing n-body decay Breit-Wigner: ( Gaussian) describes a resonance Crystal-Ball: radiative energy loss Decay: can be symmetric and convoluted This e.g. uses the Argus function 14

15 RooFit Example RooRealVar has a name, a title and a range. Optionally can specify a unit as well. RooRealVar by default initialises the value at mid-range. But can also specify both initial value and range. Finally can create Gaussian PDF of the mass with a mean and width. 15

16 RooFit Example We can put the gaussian pdf in a RooPlot, and then draw the RooPlot. Task: Setup a Landau PDF and draw that. 16

17 RooFit example Argus background component // --- Build Argus background PDF --- RooRealVar argpar("argpar","argus shape parameter",-20.0,-100.,-1.) ; RooConstVar argconst("argconst","argus constant",5.291); RooArgusBG argus("argus","argus PDF",mes,argconst,argpar) ; Signal + Background PDF // --- Construct signal+background PDF --- RooRealVar nsig("nsig","#signal events",200,0.,10000) ; RooRealVar nbkg("nbkg","#background events",800,0.,10000) ; RooAddPdf sum("sum","g+a",rooarglist(gauss,argus),rooarglist(nsig,nbkg)) ; 17

18 RooFit example Generate unbinned toy data and perform Max Likelihood fit // --- Generate a toymc sample from composite PDF --- RooDataSet *data = sum.generate(mes,2000); // --- Perform extended ML fit of composite PDF to toy data --- sum.fitto(*data); // --- Plot toy data and composite PDF overlaid --- RooPlot* mesframe = mes.frame(); data->ploton(mesframe); sum.ploton(mesframe); sum.ploton(mesframe,roofit::components(argus),roofit::linestyle(kdashed)); mesframe->draw(); 18

19 RooFit example 19

20 Task Lets re-use tree2.root, that we generated in previous lecture tasks. We can import the destep variable into a RootDataSet and then use a RootPlot to draw it. Task: Set up an appropriate PDF and use it to fit this data. Compare this to using native ROOT fit functionality with appropriate shape. 20

21 Fitting Have only scratched the surface - enough to get you going, but much more you can learn. Other tools exist, e.g. HistFitter developed by ATLAS extends Roofit to make it fits of multiple data regions more convenient (e.g. typical ATLAS search for supersymmetry has histograms from 10 signal regions, each of which may have say 6 control and validation regions to constrain the PDFs) Task: Remake the tau visible mass histogram, only for 3-prong taus (Hint: you need only change 1-2 lines of code for this) Then read in the tau visible mass histogram, choose a shape and do a fit to the mass (use either RooFit or standard Fitting, as you prefer) Hint: You will need to run on all 45k events eventually, most of these 3 prong taus decay via the a1 resonance - a Breit-Wigner shape might be a good bet according to the PDG book. ROOT tutorials (in tutorials folder underneath $ROOTSYS) there are many Rootfit examples. 21

22 ROOT Geometries Many HEP experiments use ROOT compatible geometry definitions Some cross-platform interfaces VMC, GEANT, XML, GDML 22

23 T2K Near Detector (ND280) 23

24 T2K Near Detector (ND280) 24

25 ACoRNE 25

26 examples in tutorials/geom e.g. rootgeom.c run it invoke the OpenGL viewer try some of the others ROOT TGeo 26

27 Interfaces to other platforms 27

28 geant4 Virtual MC Extension to ROOT built against Geant4 (or Geant3) Permits use of different transport codes without changing user code and geometry a little beyond the scope of this course 28

29 Tasks Recap Run the mathcorevectorcollection.c example and read it. Plot the visible tau mass using ROOTTutorial_Week3 Plot a Landau shape using Roofit Import data from tree2.root into Rootfit and perform a fit of the destep variable. Fit the tau mass from 3-prong decays using ROOTTutorial_Week3 Have a look at the ROOT geometry tutorials. If you don t have time for this all the geometry are probably the least important, as this is a rather specialised use case most people won t ever use. 29

30 Closing remarks Many physics objects and mathematical operations supported only skimmed surface today Don t rewrite/reinvent unnecessarily shouldn t be coding e.g. coordinate transformations and vector products Magic numbers are bad saw some today 30

31 Closing remarks Introduced macro compilation lots more on this next week Next time: compiling binaries and libs ROOT as a dependency bindings to other languages Any questions? 31

32 end

33 backups

RooFit Tutorial. Jeff Haas Florida State University April 16, 2010

RooFit Tutorial. Jeff Haas Florida State University April 16, 2010 RooFit Tutorial Jeff Haas Florida State University April 16, 2010 Outline Purpose Structure Basic Classes Implementation Toy Monte Carlo Fitting data Fitting options & results April 16, 2009 FSU CMS Meeting

More information

Introduction to RooFit

Introduction to RooFit Lukas Hehn KSETA PhD Workshop Freudenstadt, October 16th to 18th 2003 Lukas Hehn, KIT Universität des Landes Baden-Württemberg und nationales Forschungszentrum in der Helmholtz-Gemeinschaft www.kit.edu

More information

Tutorial Organisa0on

Tutorial Organisa0on 1 Tutorial Organisa0on The goal of this Tutorial is to introduce the RooFit framework and to perform simple opera0ons with RooFit objects. Advanced topics will be taught by Wouter. We are not RooFit gurus

More information

Introduction to RooFit

Introduction to RooFit Introduction to RooFit 1. Introduction and overview 2. Creation and basic use of models 3. Addition and Convolution 4. Common Fitting Problems 5. Multidimensional and Conditional models 6. Fit validation

More information

HEP data analysis using ROOT

HEP data analysis using ROOT HEP data analysis using ROOT week I ROOT, CLING and the command line Histograms, Graphs and Trees Mark Hodgkinson Course contents ROOT, CLING and the command line Histograms, Graphs and Trees File I/O,

More information

RooFit/RooStats Tutorials. Lorenzo Moneta (CERN) Sven Kreiss (NYU)

RooFit/RooStats Tutorials. Lorenzo Moneta (CERN) Sven Kreiss (NYU) RooFit/RooStats Tutorials Lorenzo Moneta (CERN) Sven Kreiss (NYU) Outline RooFit Introduction and overview of basic functionality Composite models building Advance functionality (e.g. working with likelihood)

More information

ROOT: An object-orientated analysis framework

ROOT: An object-orientated analysis framework C++ programming for physicists ROOT: An object-orientated analysis framework PD Dr H Kroha, Dr J Dubbert, Dr M Flowerdew 1 Kroha, Dubbert, Flowerdew 14/04/11 What is ROOT? An object-orientated framework

More information

Monte Carlo programs

Monte Carlo programs Monte Carlo programs Alexander Khanov PHYS6260: Experimental Methods is HEP Oklahoma State University November 15, 2017 Simulation steps: event generator Input = data cards (program options) this is the

More information

EicRoot for tracking R&D studies

EicRoot for tracking R&D studies EicRoot for tracking R&D studies Alexander Kiselev EIC Software Meeting Jefferson Lab September,24 2015 Contents of the talk Tracking code implementation in EicRoot Few particular applications: Basic forward

More information

ROOT Analysis Framework (I) Introduction. Qipeng Hu March 15 th, 2015

ROOT Analysis Framework (I) Introduction. Qipeng Hu March 15 th, 2015 ROOT Analysis Framework (I) Introduction Qipeng Hu March 15 th, 2015 What is ROOT? Why do we use it? Simple answer: It makes plots! Graph [fb/gev] dσ jet /de T,jet 7 6 5 4 3 2 s = 14 TeV η

More information

Optimizing a High Energy Physics (HEP) Toolkit on Heterogeneous Architectures

Optimizing a High Energy Physics (HEP) Toolkit on Heterogeneous Architectures Optimizing a High Energy Physics (HEP) Toolkit on Heterogeneous Architectures Yngve Sneen Lindal Master of Science in Computer Science Submission date: August 2011 Supervisor: Anne Cathrine Elster, IDI

More information

Lecture I: Basics REU Root Duke Jen Raaf

Lecture I: Basics REU Root Duke Jen Raaf Lecture I: Basics Linux commands What is ROOT? Interactive ROOT session - command line vs. macros vs. user-compiled code Opening files / accessing information Histograms and Trees and Functions, Oh My!

More information

INTRODUCTION TUTORIAL

INTRODUCTION TUTORIAL INTRODUCTION TUTORIAL Introduction to ROOT Adrian Bevan YETI January 2007 Uses ROOT 5.12.00 OVERVIEW 3 tutorials over the next two days: Introduction: Introduction to ROOT. Multi Variate Analysis: Training

More information

MC Tools Introduction Part I

MC Tools Introduction Part I MC Tools Introduction Part I GLAST Software Analysis Group Monday, August 12, 2002 Tracy Usher Root MC Output Classes (As of August 12, 2002) There are four main Monte Carlo Root output classes: McParticle

More information

EicRoot software framework

EicRoot software framework EicRoot software framework Alexander Kiselev EIC Software Meeting Jefferson Lab September,24 2015 Contents of the talk FairRoot software project EicRoot framework structure Typical EicRoot applications

More information

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

HPS Data Analysis Group Summary. Matt Graham HPS Collaboration Meeting June 6, 2013 HPS Data Analysis Group Summary Matt Graham HPS Collaboration Meeting June 6, 2013 Data Analysis 101 define what you want to measure get data to disk (by magic or whatever) select subset of data to optimize

More information

Thursday, February 16, More C++ and root

Thursday, February 16, More C++ and root More C++ and root Today s Lecture Series of topics from C++ Example of thinking though a problem Useful physics classes in ROOT Functions by this point you are used to the syntax of a function pass by

More information

Introduction to ROOT. M. Eads PHYS 474/790B. Friday, January 17, 14

Introduction to ROOT. M. Eads PHYS 474/790B. Friday, January 17, 14 Introduction to ROOT What is ROOT? ROOT is a software framework containing a large number of utilities useful for particle physics: More stuff than you can ever possibly need (or want)! 2 ROOT is written

More information

ComPWA: A common amplitude analysis framework for PANDA

ComPWA: A common amplitude analysis framework for PANDA Journal of Physics: Conference Series OPEN ACCESS ComPWA: A common amplitude analysis framework for PANDA To cite this article: M Michel et al 2014 J. Phys.: Conf. Ser. 513 022025 Related content - Partial

More information

Understanding the predefined examples

Understanding the predefined examples Tutorial category: Expert mode Understanding the predefined examples 1/32 Version 1.0 Date 29/10/2013 Official MadAnalysis 5 website : https://launchpad.net/madanalysis5/ Goals of this tutorial Understanding

More information

Introduction to ROOT. Sebastian Fleischmann. 06th March 2012 Terascale Introductory School PHYSICS AT THE. University of Wuppertal TERA SCALE SCALE

Introduction to ROOT. Sebastian Fleischmann. 06th March 2012 Terascale Introductory School PHYSICS AT THE. University of Wuppertal TERA SCALE SCALE to ROOT University of Wuppertal 06th March 2012 Terascale Introductory School 22 1 2 3 Basic ROOT classes 4 Interlude: 5 in ROOT 6 es and legends 7 Graphical user interface 8 ROOT trees 9 Appendix: s 33

More information

A Geometrical Modeller for HEP

A Geometrical Modeller for HEP A Geometrical Modeller for HEP R. Brun, A. Gheata CERN, CH 1211, Geneva 23, Switzerland M. Gheata ISS, RO 76900, Bucharest MG23, Romania For ALICE off-line collaboration Geometrical modelling generally

More information

Using Fluxes and Geometries

Using Fluxes and Geometries Using Fluxes and Geometries Gabriel N. Perdue Fermilab Special thanks to Robert Hatcher for much of the material in this presentation. Why does GENIE need Geometry? Real fluxes and geometries are never

More information

TOOLS FOR DATA ANALYSIS INVOLVING

TOOLS FOR DATA ANALYSIS INVOLVING TOOLS FOR DATA ANALYSIS INVOLVING µ-vertex DETECTORS KalmanFitter package : Primary vertex fit Secondary vertex fit Decay chain TMVA package : Multivariate analysis 1 J. Bouchet Kent State University cτ

More information

Electron and Photon Reconstruction and Identification with the ATLAS Detector

Electron and Photon Reconstruction and Identification with the ATLAS Detector Electron and Photon Reconstruction and Identification with the ATLAS Detector IPRD10 S12 Calorimetry 7th-10th June 2010 Siena, Italy Marine Kuna (CPPM/IN2P3 Univ. de la Méditerranée) on behalf of the ATLAS

More information

Topics for the TKR Software Review Tracy Usher, Leon Rochester

Topics for the TKR Software Review Tracy Usher, Leon Rochester Topics for the TKR Software Review Tracy Usher, Leon Rochester Progress in reconstruction Reconstruction short-term plans Simulation Calibration issues Balloon-specific support Personnel and Schedule TKR

More information

Data Analysis Frameworks

Data Analysis Frameworks Data Analysis Frameworks ROOT Data Analysis Frameworks Computational Physics Prof. Paul Eugenio Department of Physics Florida State University April 10, 2018 Exercise 8 Due Date extended to Noon Thursday

More information

R3BRoot Framework. D. Kresan GSI, Darmstadt. First R3BRoot Development Workshop July 28 30, 2015 GSI, Darmstadt

R3BRoot Framework. D. Kresan GSI, Darmstadt. First R3BRoot Development Workshop July 28 30, 2015 GSI, Darmstadt GSI, Darmstadt First R3BRoot Development Workshop July 28 30, 2015 GSI, Darmstadt Outline Introduction to concept Relation to FairRoot Combined solution for R3B analysis Framework components - Analysis

More information

CSCI 1100L: Topics in Computing Lab Lab 11: Programming with Scratch

CSCI 1100L: Topics in Computing Lab Lab 11: Programming with Scratch CSCI 1100L: Topics in Computing Lab Lab 11: Programming with Scratch Purpose: We will take a look at programming this week using a language called Scratch. Scratch is a programming language that was developed

More information

Updated impact parameter resolutions of the ATLAS Inner Detector

Updated impact parameter resolutions of the ATLAS Inner Detector Updated impact parameter resolutions of the ATLAS Inner Detector ATLAS Internal Note Inner Detector 27.09.2000 ATL-INDET-2000-020 06/10/2000 Szymon Gadomski, CERN 1 Abstract The layout of the ATLAS pixel

More information

Progress on G4 FDIRC Simulation. Doug Roberts University of Maryland

Progress on G4 FDIRC Simulation. Doug Roberts University of Maryland Progress on G4 FDIRC Simulation Doug Roberts University of Maryland Since SLAC Workshop Spent some time trying to streamline and speed-up the reconstruction technique Needed quicker turnaround on resolution

More information

Introduction to Geant4

Introduction to Geant4 Introduction to Geant4 Release 10.4 Geant4 Collaboration Rev1.0: Dec 8th, 2017 CONTENTS: 1 Geant4 Scope of Application 3 2 History of Geant4 5 3 Overview of Geant4 Functionality 7 4 Geant4 User Support

More information

Preparing for CLAS12 Data Analysis

Preparing for CLAS12 Data Analysis Preparing for CLAS12 Data Analysis Derek Glazier University of Glasgow Hadron Spectroscopy Working Group 3/30/2017 With HASPECT collaboration : Edinburgh, JPAC, Giessen, Glasgow, Genova, Mainz, Ohio, Torino,

More information

RooFit Tutorial Fitting and Generating

RooFit Tutorial Fitting and Generating RooFit Tutorial Fitting and Generating Wouter Verkerke (UC Santa Barbara) David Kirkby (UC Irvine) 2000-2002 Regents of the University of California Overview WARNING - This tutorial is incomplete Relevant

More information

Maximum Likelihood Fits on GPUs S. Jarp, A. Lazzaro, J. Leduc, A. Nowak, F. Pantaleo CERN openlab

Maximum Likelihood Fits on GPUs S. Jarp, A. Lazzaro, J. Leduc, A. Nowak, F. Pantaleo CERN openlab Maximum Likelihood Fits on GPUs S. Jarp, A. Lazzaro, J. Leduc, A. Nowak, F. Pantaleo CERN openlab International Conference on Computing in High Energy and Nuclear Physics 2010 (CHEP2010) October 21 st,

More information

GooFit: Massively parallel function evaluation

GooFit: Massively parallel function evaluation GooFit: Massively parallel function evaluation Maximum-likelihood fits to determine physics parameters have execution time at least quadratic in number of fit parameters, and linear in number of events.

More information

Welcome to Lab! Feel free to get started until we start talking! The lab document is located on the course website:

Welcome to Lab! Feel free to get started until we start talking! The lab document is located on the course website: Welcome to Lab! Feel free to get started until we start talking! The lab document is located on the course website: https://users.wpi.edu/~sjarvis/ece2049_smj/ We will come around checking your pre-labs

More information

8.882 LHC Physics. Track Reconstruction and Fitting. [Lecture 8, March 2, 2009] Experimental Methods and Measurements

8.882 LHC Physics. Track Reconstruction and Fitting. [Lecture 8, March 2, 2009] Experimental Methods and Measurements 8.882 LHC Physics Experimental Methods and Measurements Track Reconstruction and Fitting [Lecture 8, March 2, 2009] Organizational Issues Due days for the documented analyses project 1 is due March 12

More information

Lecture 7. Simulations and Event Generators. KVI Root-course, April Gerco Onderwater, KVI p.1/18

Lecture 7. Simulations and Event Generators. KVI Root-course, April Gerco Onderwater, KVI p.1/18 Lecture 7 Simulations and Event Generators KVI Root-course, April 19 2005 Gerco Onderwater, KVI p.1/18 Exercise 1 Write a macro which performs a benchmark comparison between TRandom, TRandom2, TRandom3.

More information

05/09/07 CHEP2007 Stefano Spataro. Simulation and Event Reconstruction inside the PandaRoot Framework. Stefano Spataro. for the collaboration

05/09/07 CHEP2007 Stefano Spataro. Simulation and Event Reconstruction inside the PandaRoot Framework. Stefano Spataro. for the collaboration for the collaboration Overview Introduction on Panda Structure of the framework Event generation Detector implementation Reconstruction The Panda experiment AntiProton Annihilations at Darmstadt Multi

More information

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

ROOT Trips & Tricks. Ole Hansen. Jefferson Lab. Hall A & C Analysis Workshop June 26 27, 2017 ROOT Trips & Tricks Ole Hansen Jefferson Lab Hall A & C Analysis Workshop June 26 27, 2017 Ole Hansen (Jefferson Lab) ROOT Trips & Tricks Analysis Workshop 2017 1 / 25 Brief Introduction Ole Hansen (Jefferson

More information

Experiences with Open Inventor. 1 Introduction. 2 HEP Visualization in an Object-Oriented Environment

Experiences with Open Inventor. 1 Introduction. 2 HEP Visualization in an Object-Oriented Environment Experiences with Open Inventor Joseph Boudreau University of Pittsburgh, Pittsburgh, PA, 15260 USA Abstract The Open Inventor(OI) library is a toolkit for constructing, rendering and interacting with a

More information

Advanced Statistics Course Part II

Advanced Statistics Course Part II Advanced Statistics Course Part II W. Verkerke (NIKHEF) Wouter Verkerke, NIKHEF Setting limits 3 ways Wouter Verkerke, NIKHEF, 2 U.L. in Poisson Process, n=3 observed: 3 ways Bayesian interval at 90% credibility:

More information

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

How to discover the Higgs Boson in an Oracle database. Maaike Limper How to discover the Higgs Boson in an Oracle database Maaike Limper 2 Introduction CERN openlab is a unique public-private partnership between CERN and leading ICT companies. Its mission is to accelerate

More information

Drawing in 3D (viewing, projection, and the rest of the pipeline)

Drawing in 3D (viewing, projection, and the rest of the pipeline) Drawing in 3D (viewing, projection, and the rest of the pipeline) CS559 Spring 2017 Lecture 6 February 2, 2017 The first 4 Key Ideas 1. Work in convenient coordinate systems. Use transformations to get

More information

An interesting related problem is Buffon s Needle which was first proposed in the mid-1700 s.

An interesting related problem is Buffon s Needle which was first proposed in the mid-1700 s. Using Monte Carlo to Estimate π using Buffon s Needle Problem An interesting related problem is Buffon s Needle which was first proposed in the mid-1700 s. Here s the problem (in a simplified form). Suppose

More information

Partial Wave Analysis using Graphics Cards

Partial Wave Analysis using Graphics Cards Partial Wave Analysis using Graphics Cards Niklaus Berger IHEP Beijing Hadron 2011, München The (computational) problem with partial wave analysis n rec * * i=1 * 1 Ngen MC NMC * i=1 A complex calculation

More information

New Developments of ROOT Mathematical Software Libraries

New Developments of ROOT Mathematical Software Libraries New Developments of ROOT Mathematical Software Libraries Lorenzo Moneta CERN/PH-SFT Root Math Work Package Main responsibilities for this work package: Evaluation of basic mathematical functions Numerical

More information

More Formulas: circles Elementary Education 12

More Formulas: circles Elementary Education 12 More Formulas: circles Elementary Education 12 As the title indicates, this week we are interested in circles. Before we begin, please take some time to define a circle: Due to the geometric shape of circles,

More information

AFit User Guide. Abstract

AFit User Guide. Abstract AFit User Guide Adrian Bevan 1, Fergus Wilson 2 December 24, 21 Abstract AFit provides a high level user interface to RooFit and TMVA. Complicated maximum-likelihood fits can be set up using a text file

More information

A New Segment Building Algorithm for the Cathode Strip Chambers in the CMS Experiment

A New Segment Building Algorithm for the Cathode Strip Chambers in the CMS Experiment EPJ Web of Conferences 108, 02023 (2016) DOI: 10.1051/ epjconf/ 201610802023 C Owned by the authors, published by EDP Sciences, 2016 A New Segment Building Algorithm for the Cathode Strip Chambers in the

More information

Rivet. July , CERN

Rivet. July , CERN Rivet Chris Gütschow (UC London) Chris Pollard (Glasgow) Deepak Kar (Witwatersrand) Holger Schulz (Durham) July 13 2016, CERN H. Schulz Rivet 1 / 19 Contents 1 Introduction 2 Basic work cycle 3 Writing

More information

Lecture 1: Overview

Lecture 1: Overview 15-150 Lecture 1: Overview Lecture by Stefan Muller May 21, 2018 Welcome to 15-150! Today s lecture was an overview that showed the highlights of everything you re learning this semester, which also meant

More information

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

Analysis of Σ 0 baryon, or other particles, or detector outputs from the grid data at ALICE Analysis of Σ 0 baryon, or other particles, or detector outputs from the grid data at ALICE Introduction Analysis Chain Current status of Σ 0 analysis Examples of root files from the data and MC Discussion

More information

LAr Event Reconstruction with the PANDORA Software Development Kit

LAr Event Reconstruction with the PANDORA Software Development Kit LAr Event Reconstruction with the PANDORA Software Development Kit Andy Blake, John Marshall, Mark Thomson (Cambridge University) UK Liquid Argon Meeting, Manchester, November 28 th 2012. From ILC/CLIC

More information

SiD Tracking using VXD. Nick Sinev, University of Oregon

SiD Tracking using VXD. Nick Sinev, University of Oregon SiD Tracking using VXD Nick Sinev, University of Oregon Plan Motivation Track reconstruction algorithm Performance for single tracks Does it have any limits? With backgrounds To do Motivation Tracking

More information

Tau ID systematics in the Z lh cross section measurement

Tau ID systematics in the Z lh cross section measurement Tau ID systematics in the Z lh cross section measurement Frank Seifert1 supervised by Arno Straessner1, Wolfgang Mader1 In collaboration with Michel Trottier McDonald2 Technische Universität Dresden 1

More information

lecture 18 - ray tracing - environment mapping - refraction

lecture 18 - ray tracing - environment mapping - refraction lecture 18 - ray tracing - environment mapping - refraction Recall Ray Casting (lectures 7, 8) for each pixel (x,y) { cast a ray through that pixel into the scene, and find the closest surface along the

More information

Lab Practical - Limit Equilibrium Analysis of Engineered Slopes

Lab Practical - Limit Equilibrium Analysis of Engineered Slopes Lab Practical - Limit Equilibrium Analysis of Engineered Slopes Part 1: Planar Analysis A Deterministic Analysis This exercise will demonstrate the basics of a deterministic limit equilibrium planar analysis

More information

The virtual geometry model

The virtual geometry model Journal of Physics: Conference Series The virtual geometry model To cite this article: I Hivnáová and B Viren 2008 J. Phys.: Conf. Ser. 119 042016 View the article online for updates and enhancements.

More information

Alignment of the CMS Silicon Tracker

Alignment of the CMS Silicon Tracker Alignment of the CMS Silicon Tracker Tapio Lampén 1 on behalf of the CMS collaboration 1 Helsinki Institute of Physics, Helsinki, Finland Tapio.Lampen @ cern.ch 16.5.2013 ACAT2013 Beijing, China page 1

More information

MadAnalysis5 A framework for event file analysis.

MadAnalysis5 A framework for event file analysis. MadAnalysis5 A framework for event file analysis. Benjamin Fuks (IPHC Strasbourg / Université de Strasbourg). In collaboration with E. Conte & G. Serret. MadGraph 2011 Meeting @ Academia Belgica (Roma).

More information

Deep Learning Photon Identification in a SuperGranular Calorimeter

Deep Learning Photon Identification in a SuperGranular Calorimeter Deep Learning Photon Identification in a SuperGranular Calorimeter Nikolaus Howe Maurizio Pierini Jean-Roch Vlimant @ Williams College @ CERN @ Caltech 1 Outline Introduction to the problem What is Machine

More information

A dedicated tool for PET scanner simulations using FLUKA

A dedicated tool for PET scanner simulations using FLUKA A dedicated tool for PET scanner simulations using FLUKA P. G. Ortega FLUKA meeting June 2013 1 Need for in-vivo treatment monitoring Particles: The good thing is that they stop... Tumour Normal tissue/organ

More information

GlueX Computing GlueX Collaboration Meeting JLab. Edward Brash University of Regina December 11 th -13th, 2003

GlueX Computing GlueX Collaboration Meeting JLab. Edward Brash University of Regina December 11 th -13th, 2003 GlueX Computing GlueX Collaboration Meeting JLab Edward Brash University of Regina December 11 th -13th, 2003 VRVS Videoconferences - www.vrvs.org -> web-based videoconferencing site currently free - audio/video/chat

More information

Practical Statistics for Particle Physics Analyses: Introduction to Computing Examples

Practical Statistics for Particle Physics Analyses: Introduction to Computing Examples Practical Statistics for Particle Physics Analyses: Introduction to Computing Examples Louis Lyons (Imperial College), Lorenzo Moneta (CERN) IPMU, 27-29 March 2017 Introduction Hands-on session based on

More information

ROOT5. L. Peter Alonzi III. November 10, University of Virginia

ROOT5. L. Peter Alonzi III. November 10, University of Virginia ROOT5 L. Peter Alonzi III University of Virginia November 10, 2010 Philosophy ROOT was written by people who haven t done physics for 20 years for people who won t do physics for 20 years. Back in the

More information

An SQL-based approach to physics analysis

An SQL-based approach to physics analysis Journal of Physics: Conference Series OPEN ACCESS An SQL-based approach to physics analysis To cite this article: Dr Maaike Limper 2014 J. Phys.: Conf. Ser. 513 022022 View the article online for updates

More information

Geant4 activities at DESY

Geant4 activities at DESY Geant4 activities at DESY 3 rd Ecfa/Desy workshop Prague November 2002 Frank Gaede DESY -IT- Outline Introduction Current work Near term goals Looking ahead Conclusion ECFA/DESY workshop Prague 11/02 Frank

More information

CMS Simulation Software

CMS Simulation Software CMS Simulation Software Dmitry Onoprienko Kansas State University on behalf of the CMS collaboration 10th Topical Seminar on Innovative Particle and Radiation Detectors 1-5 October 2006. Siena, Italy Simulation

More information

Welcome to Lab! You do not need to keep the same partner from last lab. We will come around checking your prelabs after we introduce the lab

Welcome to Lab! You do not need to keep the same partner from last lab. We will come around checking your prelabs after we introduce the lab Welcome to Lab! Feel free to get started until we start talking! The lab document is located on the course website: http://users.wpi.edu/~ndemarinis/ece2049/ You do not need to keep the same partner from

More information

Mini-Project 1: The Library of Functions and Piecewise-Defined Functions

Mini-Project 1: The Library of Functions and Piecewise-Defined Functions Name Course Days/Start Time Mini-Project 1: The Library of Functions and Piecewise-Defined Functions Part A: The Library of Functions In your previous math class, you learned to graph equations containing

More information

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

Spring 2010 Research Report Judson Benton Locke. High-Statistics Geant4 Simulations Florida Institute of Technology High Energy Physics Research Group Advisors: Marcus Hohlmann, Ph.D. Kondo Gnanvo, Ph.D. Note: During September 2010, it was found that the simulation data presented here

More information

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

Offline Tutorial I. Małgorzata Janik Łukasz Graczykowski. Warsaw University of Technology Offline Tutorial I Małgorzata Janik Łukasz Graczykowski Warsaw University of Technology Offline Tutorial, 5.07.2011 1 Contents ALICE experiment AliROOT ROOT GRID & AliEn Event generators - Monte Carlo

More information

Unit 14: Transformations (Geometry) Date Topic Page

Unit 14: Transformations (Geometry) Date Topic Page Unit 14: Transformations (Geometry) Date Topic Page image pre-image transformation translation image pre-image reflection clockwise counterclockwise origin rotate 180 degrees rotate 270 degrees rotate

More information

DVCS software and analysis tutorial

DVCS software and analysis tutorial DVCS software and analysis tutorial Carlos Muñoz Camacho Institut de Physique Nucléaire, Orsay, IN2P3/CNRS DVCS Collaboration Meeting January 16 17, 2017 Carlos Muñoz Camacho (IPNO) DVCS Software Jan 16,

More information

RooFit Programmers Tutorial

RooFit Programmers Tutorial RooFit Programmers Tutorial Wouter Verkerke (UC Santa Barbara) David Kirkby (UC Irvine) RooFit users tutorial RooFit design philosophy Mathematical concepts as C++ objects General rules for RooFit classes

More information

ATLAS NOTE. December 4, ATLAS offline reconstruction timing improvements for run-2. The ATLAS Collaboration. Abstract

ATLAS NOTE. December 4, ATLAS offline reconstruction timing improvements for run-2. The ATLAS Collaboration. Abstract ATLAS NOTE December 4, 2014 ATLAS offline reconstruction timing improvements for run-2 The ATLAS Collaboration Abstract ATL-SOFT-PUB-2014-004 04/12/2014 From 2013 to 2014 the LHC underwent an upgrade to

More information

Data Analysis in Experimental Particle Physics

Data Analysis in Experimental Particle Physics Data Analysis in Experimental Particle Physics C. Javier Solano S. Grupo de Física Fundamental Facultad de Ciencias Universidad Nacional de Ingeniería Data Analysis in Particle Physics Outline of Lecture

More information

Simulating the RF Shield for the VELO Upgrade

Simulating the RF Shield for the VELO Upgrade LHCb-PUB-- March 7, Simulating the RF Shield for the VELO Upgrade T. Head, T. Ketel, D. Vieira. Universidade Federal do Rio de Janeiro (UFRJ), Rio de Janeiro, Brazil European Organization for Nuclear Research

More information

Molecular Statistics Exercise 1. As was shown to you this morning, the interactive python shell can add, subtract, multiply and divide numbers.

Molecular Statistics Exercise 1. As was shown to you this morning, the interactive python shell can add, subtract, multiply and divide numbers. Molecular Statistics Exercise 1 Introduction This is the first exercise in the course Molecular Statistics. The exercises in this course are split in two parts. The first part of each exercise is a general

More information

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

Modelling of non-gaussian tails of multiple Coulomb scattering in track fitting with a Gaussian-sum filter Modelling of non-gaussian tails of multiple Coulomb scattering in track fitting with a Gaussian-sum filter A. Strandlie and J. Wroldsen Gjøvik University College, Norway Outline Introduction A Gaussian-sum

More information

Expressing Parallelism with ROOT

Expressing Parallelism with ROOT Expressing Parallelism with ROOT https://root.cern D. Piparo (CERN) for the ROOT team CHEP 2016 2 This Talk ROOT helps scientists to express parallelism Adopting multi-threading (MT) and multi-processing

More information

2017 Summer Course on Optical Oceanography and Ocean Color Remote Sensing. Monte Carlo Simulation

2017 Summer Course on Optical Oceanography and Ocean Color Remote Sensing. Monte Carlo Simulation 2017 Summer Course on Optical Oceanography and Ocean Color Remote Sensing Curtis Mobley Monte Carlo Simulation Delivered at the Darling Marine Center, University of Maine July 2017 Copyright 2017 by Curtis

More information

Shadows in the graphics pipeline

Shadows in the graphics pipeline Shadows in the graphics pipeline Steve Marschner Cornell University CS 569 Spring 2008, 19 February There are a number of visual cues that help let the viewer know about the 3D relationships between objects

More information

Using Functional Languages and Declarative Programming to Analyze Large Datasets: LINQtoROOT

Using Functional Languages and Declarative Programming to Analyze Large Datasets: LINQtoROOT Journal of Physics: Conference Series Using Functional Languages and Declarative Programming to Analyze Large Datasets: LINQtoROOT To cite this article: G Watts 2012 J. Phys.: Conf. Ser. 396 022057 Related

More information

LHC-B. 60 silicon vertex detector elements. (strips not to scale) [cm] [cm] = 1265 strips

LHC-B. 60 silicon vertex detector elements. (strips not to scale) [cm] [cm] = 1265 strips LHCb 97-020, TRAC November 25 1997 Comparison of analogue and binary read-out in the silicon strips vertex detector of LHCb. P. Koppenburg 1 Institut de Physique Nucleaire, Universite de Lausanne Abstract

More information

Lab 2 Building on Linux

Lab 2 Building on Linux Lab 2 Building on Linux Assignment Details Assigned: January 28 th, 2013. Due: January 30 th, 2013 at midnight. Background This assignment should introduce the basic development tools on Linux. This assumes

More information

INTRODUCTION TO THE ANAPHE/LHC++ SOFTWARE SUITE

INTRODUCTION TO THE ANAPHE/LHC++ SOFTWARE SUITE INTRODUCTION TO THE ANAPHE/LHC++ SOFTWARE SUITE Andreas Pfeiffer CERN, Geneva, Switzerland Abstract The Anaphe/LHC++ project is an ongoing effort to provide an Object-Oriented software environment for

More information

Physics Analysis Software Framework for Belle II

Physics Analysis Software Framework for Belle II Physics Analysis Software Framework for Belle II Marko Starič Belle Belle II collaboration Jožef Stefan Institute, Ljubljana CHEP 2015 M. Starič (IJS) Physics Analysis Software Okinawa, 13-17 April 2015

More information

Continuous performance monitoring. Vassil Vassilev

Continuous performance monitoring. Vassil Vassilev Continuous performance monitoring Vassil Vassilev Motivation Enabling performance optimization contributions (often external) to ROOT Making sure these contributions are sustainable (i.e. once the money

More information

A 10-minute introduction to. Molfow+ A test-particle Monte Carlo simulator for UHV systems

A 10-minute introduction to. Molfow+ A test-particle Monte Carlo simulator for UHV systems A 10-minute introduction to Molfow+ A test-particle Monte Carlo simulator for UHV systems 1 The basics First, let s learn the Molflow terminology and the interface in a few slides. Or, if you prefer learning

More information

Machine Learning for (fast) simulation

Machine Learning for (fast) simulation Machine Learning for (fast) simulation Sofia Vallecorsa for the GeantV team CERN, April 2017 1 Monte Carlo Simulation: Why Detailed simulation of subatomic particles is essential for data analysis, detector

More information

Matlab for FMRI Module 1: the basics Instructor: Luis Hernandez-Garcia

Matlab for FMRI Module 1: the basics Instructor: Luis Hernandez-Garcia Matlab for FMRI Module 1: the basics Instructor: Luis Hernandez-Garcia The goal for this tutorial is to make sure that you understand a few key concepts related to programming, and that you know the basics

More information

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

Recasting with. Eric Conte, Benjamin Fuks. (Re)interpreting the results of new physics searches at the LHC June CERN Recasting with Eric Conte, Benjamin Fuks (Re)interpreting the results of new physics searches at the LHC June 15-17 2016 @ CERN 1 Outlines 1. What is MadAnalysis 5? 2. Normal & expert mode 3. MadAnalysis

More information

Figure 2: download MuRun2010B.csv (This is data from the first LHC run, taken in 2010)

Figure 2: download MuRun2010B.csv (This is data from the first LHC run, taken in 2010) These are instructions for creating an invariant mass histogram using SCILAB and CERN s open data. This is meant to complement the instructions and tutorial for using Excel/OpenOffice to create the same

More information

Data Analysis Frameworks: Project 9

Data Analysis Frameworks: Project 9 Computational Data Analysis Frameworks: 03/04/2008 1 Creating a ROOT macro Executing a macro with ROOT (Fitting a distribution with Breit-Wigner and Polynomial) Modifying a macro and improving graph formatting

More information

ROOT Course. Vincenzo Vitale, Dip. Fisica and INFN Roma 2

ROOT Course. Vincenzo Vitale, Dip. Fisica and INFN Roma 2 ROOT Course Vincenzo Vitale, Dip. Fisica and INFN Roma 2 Introduction This is a basic introduction to ROOT. The purpose of the course is to provide a starting knowledge and some practical experiences on

More information

Python for Analytics. Python Fundamentals RSI Chapters 1 and 2

Python for Analytics. Python Fundamentals RSI Chapters 1 and 2 Python for Analytics Python Fundamentals RSI Chapters 1 and 2 Learning Objectives Theory: You should be able to explain... General programming terms like source code, interpreter, compiler, object code,

More information

Atlantis: Visualization Tool in Particle Physics

Atlantis: Visualization Tool in Particle Physics Atlantis: Visualization Tool in Particle Physics F.J.G.H. Crijns 2, H. Drevermann 1, J.G. Drohan 3, E. Jansen 2, P.F. Klok 2, N. Konstantinidis 3, Z. Maxa 3, D. Petrusca 1, G. Taylor 4, C. Timmermans 2

More information