Differences

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

Link to this comparison view

Both sides previous revision Previous revision
hepsim:jas4pp [2017/09/24 19:33]
hepsim17
hepsim:jas4pp [2020/05/21 21:38] (current)
hepsim17
Line 6: Line 6:
 ====== ​ Jas4pp description ====== ====== ​ Jas4pp description ======
  
-[[http://​atlaswww.hep.anl.gov/​asc/​jas4pp/​ | Jas4PP program]] is +[[https://​atlaswww.hep.anl.gov/​asc/​jas4pp/​ | Jas4PP program]] is 
 a data-analysis environment for detector and physics studies of future circular colliders. a data-analysis environment for detector and physics studies of future circular colliders.
-Jas4PP is a merge of several open-source Java projects, such as [[http://​www.lcsim.org|lcsim.org]] [(Simulator for the linear collider (SLIC): A tool for ILC detector simulations. N. Graf and  J. McCormick, http://​inspirehep.net/​record/​736286?​ln=en)],​ [[http://​lcio.desy.de/​ |LCIO event model]], [[http://​java.freehep.org/​|FreeHep]],​ [[http://jwork.org/dmelt|DMelt]] (community edition) and  [[http://​atlaswww.hep.anl.gov/​hepsim|hs-tools]] of HepSim. It also supports Java-implemented anti-KT jets. The package is designed to work using the Python language (it includes Jython 2.7, which is compatible with the 2.7 version of CPython), or using the standard Java coding. All HEP Jas plugins are included (and some of them were modified to work with DMelt).+Jas4PP is a merge of several open-source Java projects, such as [[http://​www.lcsim.org|lcsim.org]] [(Simulator for the linear collider (SLIC): A tool for ILC detector simulations. N. Graf and  J. McCormick, http://​inspirehep.net/​record/​736286?​ln=en)],​ [[http://​lcio.desy.de/​ |LCIO event model]], [[http://​java.freehep.org/​|FreeHep]],​ [[https://datamelt.org|DataMelt]] (community edition) and  [[http://​atlaswww.hep.anl.gov/​hepsim|hs-tools]] of HepSim. It also supports Java-implemented anti-KT jets. The package is designed to work using the Python language (it includes Jython 2.7, which is compatible with the 2.7 version of CPython), or using the standard Java coding. All HEP Jas plugins are included (and some of them were modified to work with DataMelt).
  
  
 The installation does not have external dependencies besides Java. Make sure that Oracle Java8 and above is installed (not OpenJDK). The installation does not have external dependencies besides Java. Make sure that Oracle Java8 and above is installed (not OpenJDK).
-You can download the Jas4pp program using the [[http://​atlaswww.hep.anl.gov/​asc/​jas4pp/​download/​|download page]].+You can download the Jas4pp program using the [[https://​atlaswww.hep.anl.gov/​asc/​jas4pp/​download/​|download page]].
 Then run these commands to install the package using Linux/Mac with the "​bash"​ shell: Then run these commands to install the package using Linux/Mac with the "​bash"​ shell:
  
 <code bash> <code bash>
-wget http://​atlaswww.hep.anl.gov/​asc/​jas4pp/​download/​current.php -O jas4pp.tgz+wget https://​atlaswww.hep.anl.gov/​asc/​jas4pp/​download/​current.php -O jas4pp.tgz
 tar -zvxf jas4pp.tgz tar -zvxf jas4pp.tgz
 cd jas4pp cd jas4pp
Line 45: Line 45:
   * Visualisation of reconstructed events using Wired4 display   * Visualisation of reconstructed events using Wired4 display
  
-You can find more details in [[http://​atlaswww.hep.anl.gov/​hepsim/​description.php|HepSim manual]].+You can find more details in [[https://​atlaswww.hep.anl.gov/​hepsim/​description.php|HepSim manual]].
  
  
Line 60: Line 60:
 fpad examples/​hepsim/​pythia6_zpole_tautau.py ​ # run over HepSim Monte Carlo data fpad examples/​hepsim/​pythia6_zpole_tautau.py ​ # run over HepSim Monte Carlo data
 </​code>​ </​code>​
-The last example from the [[http://​atlaswww.hep.anl.gov/​hepsim/​|HepSim web page]] prints the pT distribution of e, mu, taus.+The last example from the [[https://​atlaswww.hep.anl.gov/​hepsim/​|HepSim web page]] prints the pT distribution of e, mu, taus.
 You can also run these examples as "​fpad_edit file.py"​ or using the Jas-like environment (i.e. jaspp program). You can also run these examples as "​fpad_edit file.py"​ or using the Jas-like environment (i.e. jaspp program).
  
Line 201: Line 201:
 You can also run Jas4pp in a GUI mode. You can process scripts that read PROMC and LCIO files from these HepSim pages: You can also run Jas4pp in a GUI mode. You can process scripts that read PROMC and LCIO files from these HepSim pages:
  
-  - [[http://​atlaswww.hep.anl.gov/​hepsim/​macrolist.php|EVGEN validation scripts]] +  - [[https://​atlaswww.hep.anl.gov/​hepsim/​macrolist.php|EVGEN validation scripts]] 
-  - [[http://​atlaswww.hep.anl.gov/​hepsim/​macrolist_lcio.php|LCIO validation scripts]]+  - [[https://​atlaswww.hep.anl.gov/​hepsim/​macrolist_lcio.php|LCIO validation scripts]]
  
  
Line 231: Line 231:
 Here are a few most common classes: Here are a few most common classes:
  
-  * [[http://jwork.org/dmelt/​api/​doc.php/​jhplot/​HPlot|HPlot]] - canvas to show X-Y data and histograms in 2D +  * [[https://datamelt.org/​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|HPlot3D]] - canvas to show X-Y-Z data and histograms in 3D +  * [[https://datamelt.org/​api/​doc.php/​jhplot/​HPlot|HPlot3D]] - canvas to show X-Y-Z data and histograms in 3D 
-  * [[http://jwork.org/dmelt/​api/​doc.php/​jhplot/​H1D|H1D]] - 1D histogram +  * [[https://datamelt.org/​api/​doc.php/​jhplot/​H1D|H1D]] - 1D histogram 
-  * [[http://jwork.org/dmelt/​api/​doc.php/​jhplot/​H1D|H2D]] - 2D histogram +  * [[https://datamelt.org/​api/​doc.php/​jhplot/​H1D|H2D]] - 2D histogram 
-  * [[http://jwork.org/dmelt/​api/​doc.php/​jhplot/​P1D|P1D]] - X-Y container with support of 2-level errors+  * [[https://datamelt.org/​api/​doc.php/​jhplot/​P1D|P1D]] - X-Y container with support of 2-level errors
  
 The main canvas to show histograms [[http://​jwork.org/​dmelt/​api/​doc.php/​jhplot/​H1D|H1D]] and data points ​ [[http://​jwork.org/​dmelt/​api/​doc.php/​jhplot/​P1D|P1D]] ​ is [[http://​jwork.org/​dmelt/​api/​doc.php/​jhplot/​HPlot|HPlot]]. To process scripts in a background without a pop-up [[http://​jwork.org/​dmelt/​api/​doc.php/​jhplot/​HPlot|HPlot]],​ use method "​visible(False)",​ and set sys.exit(0) at the end of the scripts. ​ You can also use the JAIDA to make histograms (Histogram1D or Histogram2D). ​ The main canvas to show histograms [[http://​jwork.org/​dmelt/​api/​doc.php/​jhplot/​H1D|H1D]] and data points ​ [[http://​jwork.org/​dmelt/​api/​doc.php/​jhplot/​P1D|P1D]] ​ is [[http://​jwork.org/​dmelt/​api/​doc.php/​jhplot/​HPlot|HPlot]]. To process scripts in a background without a pop-up [[http://​jwork.org/​dmelt/​api/​doc.php/​jhplot/​HPlot|HPlot]],​ use method "​visible(False)",​ and set sys.exit(0) at the end of the scripts. ​ You can also use the JAIDA to make histograms (Histogram1D or Histogram2D). ​
-In addition, data are saved in the form of XML (with the extension "​.jdat"​) files. Look the manual [[http://jwork.org/dmelt/wikidoc/​doku.php?​id=man:​io:crossplatform|DatMelt IO]].+In addition, data are saved in the form of XML (with the extension "​.jdat"​) files. Look the manual [[https://handwiki.org/wiki/DMelt:Start]].
  
 ===== 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 +  * [[https://datamelt.org/​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/​particle/​LParticle|LParticle]] a HEP particle with the Lorentz transformations +  * [[https://datamelt.org/​api/​doc.php/​hephysics/​particle/​LParticle|LParticle]] a HEP particle with the Lorentz transformations 
-  * [[http://jwork.org/dmelt/​api/​doc.php/​hephysics/​jet/​FastParticle|FastParticle]] a HEP particles with precomputed Et2,Eta,Phi for jet algorithms. ​+  * [[https://datamelt.org/​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 +  * [[https://datamelt.org/​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) ​+  * [[https://datamelt.org/​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- from FreeHep (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- from FreeHep (Geneva, Jade, Durham jets) 
   ​   ​
Line 254: Line 254:
  
  
-You can build the standard kt-jets using [[http://jwork.org/dmelt/​api/​doc.php/​hephysics/​hepsim/​PromcUtil | PromcUtil]],​ followed by the  +You can build the standard kt-jets using [[http://datamelt.org/​api/​doc.php/​hephysics/​hepsim/​PromcUtil | PromcUtil]],​ followed by the  
-[[http://jwork.org/dmelt/​api/​doc.php/​hephysics/​jet/​KTjet | KTjet]] class. ​ +[[https://datamelt.org/​api/​doc.php/​hephysics/​jet/​KTjet | KTjet]] class. ​
- +
- +
- +
- +
  
  
Line 270: Line 265:
 </​code>​ </​code>​
 This will start a Jas3-like environment ​ with all needed plugins. ​ This will start a Jas3-like environment ​ with all needed plugins. ​
-Then copy the detector geometry file from the [[http://​atlaswww.hep.anl.gov/​hepsim/​soft/​detectors/​| detector repository]].+Then copy the detector geometry file from the [[https://​atlaswww.hep.anl.gov/​hepsim/​soft/​detectors/​| detector repository]].
 <code bash> <code bash>
-wget http://​atlaswww.hep.anl.gov/​hepsim/​soft/​detectors/​sidloi3.tgz -O - | tar -xz;+wget https://​atlaswww.hep.anl.gov/​hepsim/​soft/​detectors/​sidloi3.tgz -O - | tar -xz;
 </​code>​ </​code>​
 This will create a directory "​sidloi3"​. This detector corresponds to "​rfull001"​ tag used for the reconstruction of pythia6_zpole_ee (Z->​e+e-). ​ This will create a directory "​sidloi3"​. This detector corresponds to "​rfull001"​ tag used for the reconstruction of pythia6_zpole_ee (Z->​e+e-). ​
Line 297: Line 292:
  
 <code bash> <code bash>
-wget http://​mc.hep.anl.gov/​asc/​hepsim/​events/​misc/​pgun/​pgun_eta35_muon//​rfull009/​pgun_muon1024gev_001_pandora.slcio+wget https://​mc.hep.anl.gov/​asc/​hepsim/​events/​misc/​pgun/​pgun_eta35_muon//​rfull009/​pgun_muon1024gev_001_pandora.slcio
 ./jaspp pgun_muon1024gev_001_pandora.slcio ./jaspp pgun_muon1024gev_001_pandora.slcio
 </​code>​ </​code>​
Line 351: Line 346:
   * [[http://​jas.freehep.org/​jas3/​]] - JAS3   * [[http://​jas.freehep.org/​jas3/​]] - JAS3
   * [[http://​java.freehep.org/​]] - FreeHep   * [[http://​java.freehep.org/​]] - FreeHep
-  * [[http://jwork.org/dmelt]] - DMelt+  * [[http://datamelt.org]] - DataMelt
   * [[https://​confluence.slac.stanford.edu/​display/​ilc/​ILC+Detector+Simulation+FAQ]] - SLIC   * [[https://​confluence.slac.stanford.edu/​display/​ilc/​ILC+Detector+Simulation+FAQ]] - SLIC
   * [[https://​confluence.slac.stanford.edu/​display/​ilc/​LCSim+Tutorials]] - SLIC   * [[https://​confluence.slac.stanford.edu/​display/​ilc/​LCSim+Tutorials]] - SLIC
hepsim/jas4pp.txt · Last modified: 2020/05/21 21:38 by hepsim17
Back to top
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0