User Tools

Site Tools


community:refhepsim_analysis

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
community:refhepsim_analysis [2015/10/17 12:34]
asc [Histograms and plots]
community:refhepsim_analysis [2016/04/28 15:24] (current)
asc [HepSim Analysis Primer]
Line 5: Line 5:
 For C++/ROOT, please refer [[asc:promc| ProMC web page]]. For C++/ROOT, please refer [[asc:promc| ProMC web page]].
  
-To ensure platform independence and a possibility to run programs using web browsers, validation programs are written in Jython, which is an implementation of the Python language on the Java platform.+To ensure platform independence and a possibility to run programs using web browsers [(Cross-platform validation and analysis environment for particle physics, S.V. Chekanov, I. Pogrebnyak, D. Wilbern, arXiv:1510.06638 http://arxiv.org/abs/1510.06638)], validation programs are written in Jython, which is an implementation of the Python language on the Java platform.
 Look at several links: Look at several links:
  
Line 17: Line 17:
   * "hs-ide file.py" command to launch the editor (from the hs-tools package)   * "hs-ide file.py" command to launch the editor (from the hs-tools package)
   * "hs-run file.py" command to run using a command-line ("batch mode", from the hs-tools package)   * "hs-run file.py" command to run using a command-line ("batch mode", from the hs-tools package)
 +  * [[http://atlaswww.hep.anl.gov/asc/jas4pp/| Jas4pp]]
   * [[http://jwork.org/dmelt/ |DMelt  IDE]]    * [[http://jwork.org/dmelt/ |DMelt  IDE]] 
  
Line 203: Line 204:
                  print "pT of a leading jet =",jets[0].perp()," GeV"                   print "pT of a leading jet =",jets[0].perp()," GeV" 
 </code> </code>
-To build anti-kT jets, we use [[http://jwork.org/dmelt/api/doc.php/hephysics/jet/JetN2|JetN2 clustering algorithm]] implemented in Java. It is a similar to FastJet N*N algorithm and typically shows +To build anti-kT jets, we use [[http://jwork.org/dmelt/api/doc.php/hephysics/jet/JetN2|JetN2 clustering algorithm]] implemented in Java. 
 +The description of this algorithm is given in [[http://arxiv.org/abs/1510.06638]]. 
 + It is a similar to FastJet N*N algorithm and typically shows 
 a performance similar to the C++ analogue. Tests indicate that the JetN2 clustering algorithm is about twice slower that C++, but by a factor 20 faster than the traditional N^3 jet clustering algorithms. You can find benchmarking results in [[https://github.com/chekanov/hepjet/|HepJet]] github repository. a performance similar to the C++ analogue. Tests indicate that the JetN2 clustering algorithm is about twice slower that C++, but by a factor 20 faster than the traditional N^3 jet clustering algorithms. You can find benchmarking results in [[https://github.com/chekanov/hepjet/|HepJet]] github repository.
 Look at a typical example of jet clustering in the [[http://atlaswww.hep.anl.gov/hepsim/code.php?item=88&code=qcd_pythia8_ptbins_jets.py| qcd_pythia8_ptbins_jets.py code]]. Look at a typical example of jet clustering in the [[http://atlaswww.hep.anl.gov/hepsim/code.php?item=88&code=qcd_pythia8_ptbins_jets.py| qcd_pythia8_ptbins_jets.py code]].
Line 262: Line 265:
 stored inside ProMC data files: stored inside ProMC data files:
  
-==== Histograms and plots ====+===== Histograms and plots =====
  
   * [[http://jwork.org/dmelt/api/doc.php/jhplot/HPlot|HPlot]] - canvas to show X-Y data and histograms in 2D   * [[http://jwork.org/dmelt/api/doc.php/jhplot/HPlot|HPlot]] - canvas to show X-Y data and histograms in 2D
Line 271: Line 274:
  
 See also other math and graphics classes in the [[http://jwork.org/dmelt/api/doc.php/jhplot/package-summary | jhplot package]].  See also other math and graphics classes in the [[http://jwork.org/dmelt/api/doc.php/jhplot/package-summary | jhplot package]]. 
-==== Lorentz particles and Jets ====+===== Lorentz particles and Jets =====
  
   * [[http://jwork.org/dmelt/api/doc.php/hephysics/hepsim/PromcUtil|PromcUtil]] convenient method to fill arrays with particles from ProMC files   * [[http://jwork.org/dmelt/api/doc.php/hephysics/hepsim/PromcUtil|PromcUtil]] convenient method to fill arrays with particles from ProMC files
Line 277: Line 280:
   * [[http://jwork.org/dmelt/api/doc.php/hephysics/jet/FastParticle|FastParticle]] a HEP particles with precomputed Et2,Eta,Phi for jet algorithms.    * [[http://jwork.org/dmelt/api/doc.php/hephysics/jet/FastParticle|FastParticle]] a HEP particles with precomputed Et2,Eta,Phi for jet algorithms. 
   * [[http://java.freehep.org/freehep-physics/apidocs/hep/physics/vec/package-summary.html|Physics vectors]] typical HEP physics vectors the Lorentz transformations   * [[http://java.freehep.org/freehep-physics/apidocs/hep/physics/vec/package-summary.html|Physics vectors]] typical HEP physics vectors the Lorentz transformations
-  * [[http://jwork.org/dmlt/api/doc.php/hephysics/jet/JetN2|JetN2]] recommended kt-type jet clustering ng algorithms (kT, anti-kT, CA) implemented in Java using N^2 approach, similar to the FastJet algorithm. Recommended for hadron collisions+  * [[http://jwork.org/dmelt/api/doc.php/hephysics/jet/JetN2|JetN2]] recommended kt-type jet clustering ng algorithms (kT, anti-kT, CA) implemented in Java using N^2 approach, similar to the FastJet algorithm. Recommended for hadron collisions
   * [[http://jwork.org/dmelt/api/doc.php/hephysics/jet/SCJet|SCJet]] traditional kt-type jet clustering algorithms (kT, anti-kT) for pp implemented in Java using N^3 approach (slow)    * [[http://jwork.org/dmelt/api/doc.php/hephysics/jet/SCJet|SCJet]] traditional kt-type jet clustering algorithms (kT, anti-kT) for pp implemented in Java using N^3 approach (slow) 
   * [[http://java.freehep.org/freehep-physics/apidocs/hep/physics/jet/package-summary.html|Jets and event shapes]] traditional jet algorithms and event shapes for e+e- (Geneva, Jade, Durham jets)    * [[http://java.freehep.org/freehep-physics/apidocs/hep/physics/jet/package-summary.html|Jets and event shapes]] traditional jet algorithms and event shapes for e+e- (Geneva, Jade, Durham jets) 
Line 288: Line 291:
 [[http://jwork.org/dmelt/api/doc.php/hephysics/jet/KTjet | KTjet]] class.  [[http://jwork.org/dmelt/api/doc.php/hephysics/jet/KTjet | KTjet]] class. 
  
-==== Working with ProMC files ====+===== Working with ProMC files =====
  
 Also, look at the ProMC Java API that is used to store data: Also, look at the ProMC Java API that is used to store data:
community/refhepsim_analysis.1445085297.txt.gz · Last modified: 2015/10/17 12:34 by asc