
Pythia, ROOT, and Delphes Tutorial for FCC Software
Explore a comprehensive tutorial covering Pythia standalone, integrating with ROOT, and running Delphes for the FCC project. Learn about installation, configuration, event simulation, and analysis steps with detailed examples provided.
Download Presentation

Please find below an Image/Link to download the presentation.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.
You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.
E N D
Presentation Transcript
FCC software tutorial OUTLINE Pythia stand alone ROOT with PYTHIA8 Pythia with Delphes Examples PID 1 FCC tutorial, Pisa April 2021 F. Bedeschi, INFN-Pisa
PYTHIA Main site: http://home.thep.lu.se/~torbjorn/Pythia.html Installation in dir/ wget http://home.thep.lu.se/~torbjorn/pythia8/pythia8304.tgz tar xzvf pythia8304.tgz cd pythia8304 ./configure --enable-shared --prefix=dir/pythia8304 make install (warning: libpythia8.so is created and deleted!) export PYTHIA8=dir/pythia8304 export PYTHIA8DATA=$PYTHIA8/share/Pythia8/xmldoc 2 FCC tutorial, Pisa April 2021 F. Bedeschi, INFN-Pisa
root_build root_install && root_build -- -j4 cmake --build ROOT with Pythia8 Need recent version of ROOT 6 mkdir ROOT && cd ROOT git clone --branch v6-22-00-patches https://github.com/root- project/root.git root_src mkdir root_build root_install && cd root_build cmake -DCMAKE_INSTALL_PREFIX=$HOME/ROOT/root_install - DPYTHIA8_DIR=$PYTHIA8 - DPYTHIA8_INCLUDE_DIR=$PYTHIA8/include - DPYTHIA8_LIBRARY=$PYTHIA8/lib/libpythia8.so -Dbuiltin_xrootd=ON -Droofit=ON -Dpythia8=ON ../root_src cmake --build . -- install -j4 source ../root_install/bin/thisroot.sh .. GOOD LUCK (docker: rootproject/root-archlinux) 3 FCC tutorial, Pisa April 2021 F. Bedeschi, INFN-Pisa
Play with PYTHIA Run standalone Pythia8 from ROOT Run and write out events example Pytha configuration example: config_ee_zh_Hmumu.cmd Root>.L pythia_HmmWrite_example.c+ pythia_HmmWrite_example(Nev, Out.root ) Read back and analyze Root>.L pythia_HmmRead_example.c+ Root> HmmRead(Nev, Out.root ) 4 FCC tutorial, Pisa April 2021 F. Bedeschi, INFN-Pisa
DELPHES (1) Do not need to link ROOT with Pythia8 to run DELPHES Build DELPHES ($PYTHIA8 defined): git clone https://github.com/delphes/delphes.git cd delphes ./configure make HAS_PYTHIA8=true -j4 To rebuild after changes: make clean ./configure make HAS_PYTHIA8=true j4 5 FCC tutorial, Pisa April 2021 F. Bedeschi, INFN-Pisa
IDEA details Small magnet Yoke/ chambers Small yoke Yoke/ chambers Solenoid Tracking 150 mrad No material in front of luminometer Calorimetry 100 mrad DCH 6 ICHEP, Prague, July 2020 F. Bedeschi, INFN-Pisa
DELPHES (2) Run DELPHES with PYTHIA ./DelphesPythia8 cards/delphes_card_IDEA.tcl examples/Pythia8/ee_zh.cmnd Output.root Default collections: GenParticle, Track, Tower, Photon, Jet, MissingET, Electron, Muon, ScalarHT Descriptions in classes/DelphesClasses.h http://cp3.irmp.ucl.ac.be/downloads/RootTreeDescription.htm 7 FCC tutorial, Pisa April 2021 F. Bedeschi, INFN-Pisa
DELPHES (3) DELPHES analysis examples/Example6.C Track resolution and acceptance Root> .x examples/Example6.C( Output.root ) examples/ExamplePVtxFit.C Primary vertex fitter Root>.x examples/ExamplePVtxFit.C( Output.root ,Nevents) Examples/ExampleClCount.C dN/dx with cluster counting Root>.L libDelphes.so Root>.L examples/ExampleClCount.C+ Root>ExampleClCount(Nevents) 8 FCC tutorial, Pisa April 2021 F. Bedeschi, INFN-Pisa
key4hep Key4hep is new software stack for hep in preparation https://github.com/key4hep Still in fast development Handles both DELPHES and GEANT4 Most relevant for us is new EDM edm4hep DELPHES output can be translated into new data model https://github.com/key4hep/k4SimDelphes Worth looking into Ask an expert 9 FCC tutorial, Pisa April 2021 F. Bedeschi, INFN-Pisa
Helpful names DELPHES: Michele Selvaggi (CERN): creator of DELPHES Sylvie Braibant (BO): user/developer Key4hep: Clement Helsen (CERN): developer Patrizia Azzi (PD): user 10 FCC tutorial, Pisa April 2021 F. Bedeschi, INFN-Pisa