Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
fcs:fccee:tutorial [2023/05/24 13:21] hepsim17 [Data streaming] |
fcs:fccee:tutorial [2023/05/24 14:06] (current) hepsim17 [Data streaming] |
||
---|---|---|---|
Line 74: | Line 74: | ||
Click the tab below to see the code. This code may look rather long, but it does a lot: It reads the truth-level events, reconstructs jets, and makes plots of the pT (differential cross section), Rapidity distribution and the invariant mass of the 2 jets. It also saves the image in SVG file and an XML file for examination: | Click the tab below to see the code. This code may look rather long, but it does a lot: It reads the truth-level events, reconstructs jets, and makes plots of the pT (differential cross section), Rapidity distribution and the invariant mass of the 2 jets. It also saves the image in SVG file and an XML file for examination: | ||
- | < | + | < |
- | < | + | < |
# Part of =HepMC= : https:// | # Part of =HepMC= : https:// | ||
# S.Chekanov (ANL) | # S.Chekanov (ANL) | ||
Line 215: | Line 215: | ||
One can also analyze truth-level files using data streaming, i.e. without downloading the actual input files. | One can also analyze truth-level files using data streaming, i.e. without downloading the actual input files. | ||
- | Click the code shown below, save it as " | + | This example shows data for Higgs to bbar at 240 GeV e+e-. |
+ | Click the code shown below, save it as " | ||
<hidden Click here to show the Python/ | <hidden Click here to show the Python/ | ||
Line 327: | Line 328: | ||
</ | </ | ||
</ | </ | ||
+ | |||
+ | If you run this code as Jython script inside Jas4pp, you will see a histogram updated in real time: | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | |||
+ | ===== Analysis of LCIO files ===== | ||
+ | |||
+ | Full example of how to analyse LCIO files is given in: https:// | ||
===== Preparation for fast simulation ===== | ===== Preparation for fast simulation ===== |