Using Pythia 8 on the UCD Linux server with ROOT

Slides:



Advertisements
Similar presentations
FAWP Fast Analysis With Pythia These notes will be updated as FAWP evolves Current version:
Advertisements

Cygwin Linux for Windows Desktop Paul Stuyvesant.
ANT: Another Nice Tool Ali Beyad October 1, 2003.
Compiling with Pythia 8.1 (HEP event generator) on local Linux servers
MC365 Ant. Today We Will Cover: Overview of Ant Installing Ant Using the Ant command line tool Various Ant commands available Using Ant in Eclipse.
Environment & tools Assistant Anssi Jääskeläinen Visiting hours: Tuesdays Room: 6606
M. Lefebvre25 October QCD Multijet Event Generation MLM prescription for the removal of event double counting M. Lefebvre University of Victoria.
G. Cowan Lectures on Statistical Data Analysis 1 Computing and Statistical Data Analysis Some slides about ROOT Interactive data analysis program and class.
Makefiles and ROOT Sean Brisbane 12/12/11. Introduction and purpose By the end of today you should know: – The basics of the g++ compiler; – How to write.
Solaris Software Packaging and Installation Paul Foster 14/11/2000.
1 SEEM3460 Tutorial Unix Introduction. 2 Introduction What is Unix? An operation system (OS), similar to Windows, MacOS X Why learn Unix? Greatest Software.
A crash course in njit’s Afs
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
1 Copyright 2006 Aplix Corporation. All rights reserved. May, 2006 Tokyo Jamboree #8 Cross-Development on Mac André Krützfeldt.
Donald Stark National Center for Atmospheric Research (NCAR) The Developmental Testbed Center (DTC) Wednesday 29 June, 2011 GSI Fundamentals (1): Setup.
BioPSE NCRR SCIRun: Getting Started Installation and Configuration J. Davison de St. Germain (801)
CIS*2450 Seminar I Makefiles Debugging/Design Approaches Exception Handling Library Revision Control Designed by: Terry Moreland Updated by: Tom Crabtree.
PTA Linux Series Copyright Professional Training Academy, CSIS, University of Limerick, 2006 © Workshop II Transferable Skills & Common Tasks Professional.
Trilinos 101: Getting Started with Trilinos November 7, :30-9:30 a.m. Mike Heroux Jim Willenbring.
Guidelines for Homework 6. Getting Started Homework 6 requires that you complete Homework 5. –All of HW5 must run on the GridFarm. –HW6 may run elsewhere.
1 SEEM3460 Tutorial Unix Introduction. 2 Introduction Unix-like system is everywhere Linux Android for smartphones Google Chrome OS for Chromebook Web.
Makefiles CISC/QCSE 810. BeamApp and Tests in C++ 5 source code files After any modification, changed source needs to be recompiled all object files need.
How to Install and Run Prepared by: Shubhra Kanti Karmaker Santu Lecturer CSE Department BUET.
Install Software. UNIX Shell The UNIX/LINUX shell is a program important part of a Unix system. interface between the user & UNIX kernel starts running.
Vim Editor and Unix Command gcc compiler Computer Networks.
(1) A Beginner’s Quick Start to SIMICS. (2) Disclaimer This is a quick start document to help users get set up quickly Does not replace the user guide.
Cygwin Linux for Windows Desktop Paul Stuyvesant.
MyBLAST standalone installation Lab of Systems Biology & Network Biology website Download link. 1.Click the Download link.
How to configure, build and install Trilinos November 2, :30-9:30 a.m. Jim Willenbring Mike Phenow.
Alexander Toropin Generator Services monthly meeting 6 June 2007 GENSER status.
21 Jan 2008KEK-LAPP meeting1 DIPHOX event generation “direct” process only an analysis of events processed by PYTHIA Shigeru Odaka KEK/IPNS.
Paris package: practical aspects Installation / presentation To run a simulation Analysis To add a new module to Paris Installation / presentation To run.
Track Short Course: TrackRT Installation Thomas Herring, MIT Room A
The centrality dependence of high p T π 0 production in d-Au collisions Abstract Michael Kordell II, Abhijit Majumder Wayne State University, Detroit,
IPT – Getting Started June Online Resources Project Website Requirements Server Preparation Installation Running IPT Installation Demo Upgrade/Reinstall.
MadGraph intro1 THE MADGRAPH HOMEPAGES: I have been using.
Z, W bosons: well calibrated probe in pp LHC energies: access to Z, W in pA and AA Electroweak bosons in dilepton channel: No final state modification.
Working with Hadoop. Requirement Virtual machine software –VM Ware –VirtualBox Virtual machine images –Download from Cloudera (Founded by leaders in the.
Install CB 1.8 on Ubuntu. Steps Followed Install Ubuntu (Ubuntu LTS) on Virtual machine – (VMware Workstation) (
How to configure, build and install Trilinos November 2, :30-9:30 a.m. Jim Willenbring.
20 October 2005 LCG Generator Services monthly meeting, CERN Validation of GENSER & News on GENSER Alexander Toropin LCG Generator Services monthly meeting.
 Prepared by: Eng. Maryam Adel Abdel-Hady
 CSC 215 : Procedural Programming with C C Compilers.
CLHEP Infrastructure Improvements CHEP 2004 Lynn Garren, FNAL and Andreas Pfeiffer, CERN.
Analysis Meeting, November 9-11, 2003 Manuel Calderón de la Barca Sánchez Heavy Flavor Working Group Heavy Flavor in ‘04: Prospects for J/ . Heavy.
1 April 2, Software Packaging and Releasing Best Practices William Cohen NCSU CSC 591W April 2, 2008.
Introduction to CMake, v. 2
Advanced Computing Facility Introduction
Makefiles CSSE 332 Operating Systems
FileSystem Lieven de Cock
bitcurator-access-webtools Quick Start Guide
SEEM3460 Tutorial Unix Introduction.
EE516: Embedded Software Project 1
Install external command line softwares
LCG Generator Services project
Algorithms Problem: Write pseudocode for a program that keeps asking the user to input integers until the user enters zero, and then determines and outputs.
Build and Package CSE 403 section, 2011 Feb 3, Hao Lu.
Getting started in Eclipse
University of Texas Rio Grande Valley Systems Administration CSCI 6175
OPS235: Week 1 Installing Linux ( Lab1: Investigations 1-4)
Lc+ Status Report Heavy Flavor Working Group
OPS235: Week 1 Installing Linux ( Lab1: Investigations 1-4)
Header files.
CMPSC 60: Week 4 Discussion
Geant4 Workshop 02 October 2002, CERN Hajime Yoshida
Software Setup & Validation
bitcurator-access-webtools Quick Start Guide
Preparation for Assignment 2
HW4: Concolic testing Busybox expr (due Nov 30 23:59)
HW4: Due Nov 22nd 23:59 Describe test cases to reach full path coverage of the triangle program by completing the path condition table below. Also,
Presentation transcript:

Using Pythia 8 on the UCD Linux server with ROOT Pythia Mini-Session Using Pythia 8 on the UCD Linux server with ROOT

Setting up: Getting code In your home directory, create a working directory for the Pythia installation mkdir pythia Download Pythia from the Pythia website. http://home.thep.lu.se/~torbjorn/Pythia.html Note: Pythia 8.108 tested and works. Later version tried and had problems, stick to 8.108 Zipped Tarball: pythia8108.tgz After unzipping and extracting tarball, should have a directory called “pythia8108” 1/13/2019 Manuel Calderón de la Barca Sánchez

Interlude before setup: Documentation Documentation area: pythia8108/htmldoc/ Web documentation: Open the file Welcome.html in browser PDF documentation: pythia8100.pdf Of intereset: “Study output” Pythia Classes to manipulate the generated particles, momenta, decays etc. “Setup Run Tasks” Setting up the collision and beam parameters Turning on the relevant processes processes (e.g. heavy quark production) Phase space cuts, couplings, scales 1/13/2019 Manuel Calderón de la Barca Sánchez

Manuel Calderón de la Barca Sánchez Compiling Pythia Read the README files! Basic installation: type ./configure type make The libraries are now built! 1/13/2019 Manuel Calderón de la Barca Sánchez

Running the first example go to the examples directory There are 27 programs already given as examples. Check the README file (in the examples area) Start with main01.cc Check that it works: Type: make main01 Type: ./main01.exe 1/13/2019 Manuel Calderón de la Barca Sánchez

Compiling: Makefile compilation Default: main00-main27 are compiled with: ../$(LIBDIRARCH)/libpythia8.a @mkdir -p ../$(BINDIR) $(CXX) $(CXXFLAGS) -I../$(INCDIR) $@.cc -o ../$(BINDIR)/$@.exe \ -L../$(LIBDIRARCH) -lpythia8 -llhapdfdummy @ln -fs ../$(BINDIR)/$@.exe $@.exe Where config.mk file is: SHELL = /bin/sh ARCH = Linux-gcc4 MYLCGPLATFORM = slc4_ia32_gcc34 SHAREDLIBS = no FC = gfortran CC = gcc FFLAGS = -O2 CFLAGS = -O2 CXXFLAGS = -O2 -ansi -pedantic -W -Wall -Wshadow FLIBS = -lgfortran -lgfortranbegin 1/13/2019 Manuel Calderón de la Barca Sánchez

Manuel Calderón de la Barca Sánchez To use ROOT: Changes I Remove “pedantic” compilation flag in config.mk file. Rtypes.h uses long long type, not supported by ISO C++. Compiler needs to know ROOT includes, compiling flags, library path Add following to Makefile ROOTINC=($ROOTSYS)/include ROOTCFLAGS = -pthread -m32 -I/nuclearsoft/root/include ROOTLIBS = -L/nuclearsoft/root/lib -lCore -lCint -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -pthread -lm -ldl -rdynamic CXXFLAGS += $(ROOTCFLAGS) 1/13/2019 Manuel Calderón de la Barca Sánchez

Manuel Calderón de la Barca Sánchez To use ROOT: Changes II Make use of main00 Makefile supports main00, but it is not given as example. Copy main01 to main00 and work from main00 Add specific instructions in Makefile for main00 main00 : \ ../$(LIBDIRARCH)/libpythia8.a @mkdir -p ../$(BINDIR) $(CXX) $(CXXFLAGS) -I../$(INCDIR) $@.cc -o ../$(BINDIR)/$@.exe \ -L../$(LIBDIRARCH) -lpythia8 -llhapdfdummy\ $(ROOTLIBS) @ln -fs ../$(BINDIR)/$@.exe $@.exe 1/13/2019 Manuel Calderón de la Barca Sánchez

A closer look at the first example main00 should now be a copy of main01 main01 did the following: Turned on all QCD Hard processes Sampled phase-space with pTHat > 20 Check web documentation Phase space cuts, cuts in 2 → 2 processes pTHatMin : The minimum invariant pT intializes Pythia for p+p collisions at 14 TeV creates a Pythia Histogram to save the output of the charged multiplicity Makes a loop to generate 100 events Inside loop: Generates the next event lists the first event Loops over all particles in the event record, counts all final state particles that are charged fills the multiplicity histogram for the event Prints the statistics of the event (cross section, e.g.) Prints the ascii histogram to the terminal 1/13/2019 Manuel Calderón de la Barca Sánchez

Modification to use ROOT histogram Includes: #include "TROOT.h" #include "TFile.h" #include "TH1.h" Add root histogram (instead of Pythia histogram) TH1D* multHist = new TH1D("multHist","Multiplicity",100,-0.5,99.5); Can also change pTHatMin to 1 for MinBias Fill histogram (instead of Pythia histogram) multHist->Fill(nCharged); Write output TFile* outFile = new TFile("pythiaOutputHistosTest.root","RECREATE"); multHist->Write(); outFile->Close(); 1/13/2019 Manuel Calderón de la Barca Sánchez