Differences

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

Link to this comparison view

Both sides previous revision Previous revision
hepsim:usage_truth [2020/05/21 18:31]
hepsim17
hepsim:usage_truth [2020/05/21 21:48] (current)
hepsim17
Line 5: Line 5:
 ====== ​ Plotting distributions ====== ====== ​ Plotting distributions ======
  
-[[http://​atlaswww.hep.anl.gov/​hepsim/​| HepSim repository]] can be used+[[https://​atlaswww.hep.anl.gov/​hepsim/​| HepSim repository]] can be used
 for plotting any distribution or differential cross section using truth-level (EVGEN) files. for plotting any distribution or differential cross section using truth-level (EVGEN) files.
 Many HepSim MC samples include *.py scripts to calculate differential cross sections. You can run Many HepSim MC samples include *.py scripts to calculate differential cross sections. You can run
Line 23: Line 23:
  
 <code bash> <code bash>
-wget http://​mc.hep.anl.gov/​asc/​hepsim/​events/​pp/​100tev/​ttbar_mg5/​macros/​ttbar_mg5.py+wget https://​mc.hep.anl.gov/​asc/​hepsim/​events/​pp/​100tev/​ttbar_mg5/​macros/​ttbar_mg5.py
 hs-run ttbar_mg5.py hs-run ttbar_mg5.py
 </​code>​ </​code>​
  
-Another approach is to use [[http://​atlaswww.hep.anl.gov/​asc/​jas4pp |Jas4pp]] or  [[http://jwork.org/dmelt/​|DataMelt]]. Such programs ​+Another approach is to use [[https://​atlaswww.hep.anl.gov/​asc/​jas4pp |Jas4pp]] or  [[http://datamelt.org/​|DataMelt]]. Such programs ​
 give more flexibility and more libraries for analysis. give more flexibility and more libraries for analysis.
-In this example, we will run a Python script that downloads data from URL into the computer memory ​ and runs it in a batch mode. First, you will need an analysis code from HepSim. Look at ttbar sample from Madgraph: [[http://​atlaswww.hep.anl.gov/​hepsim/​info.php?​item=15|ttbar_mg5]]. ​ Find the URL location of the analysis script ("​ttbar_mg5.py"​) located at the bottom of this page. Then copy the URL link of the file *.py using the right mouse button ("Copy URL Location"​). Let us make a calculation of differential ttbar cross section. ​+In this example, we will run a Python script that downloads data from URL into the computer memory ​ and runs it in a batch mode. First, you will need an analysis code from HepSim. Look at ttbar sample from Madgraph: [[https://​atlaswww.hep.anl.gov/​hepsim/​info.php?​item=15|ttbar_mg5]]. ​ Find the URL location of the analysis script ("​ttbar_mg5.py"​) located at the bottom of this page. Then copy the URL link of the file *.py using the right mouse button ("Copy URL Location"​). Let us make a calculation of differential ttbar cross section. ​
  
-Here is how to process the analysis using  [[http://​atlaswww.hep.anl.gov/​asc/​jas4pp | Jas4pp]]:+Here is how to process the analysis using  [[https://​atlaswww.hep.anl.gov/​asc/​jas4pp | Jas4pp]]:
  
 <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
 source ./setup.sh # takes 5 sec for first-time optimization source ./setup.sh # takes 5 sec for first-time optimization
-wget http://​mc.hep.anl.gov/​asc/​hepsim/​events/​pp/​100tev/​ttbar_mg5/​macros/​ttbar_mg5.py # get the HepSim script+wget https://​mc.hep.anl.gov/​asc/​hepsim/​events/​pp/​100tev/​ttbar_mg5/​macros/​ttbar_mg5.py # get the HepSim script
 fpad ttbar_mg5.py # process it in a batch mode. fpad ttbar_mg5.py # process it in a batch mode.
 </​code>​ </​code>​
Line 47: Line 47:
 <code bash> <code bash>
 wget -O dmelt.zip http://​jwork.org/​dmelt/​download/​current.php ​                       # get DataMelt wget -O dmelt.zip http://​jwork.org/​dmelt/​download/​current.php ​                       # get DataMelt
-wget http://​mc.hep.anl.gov/​asc/​hepsim/​events/​pp/​100tev/​ttbar_mg5/​macros/​ttbar_mg5.py #  analysis script+wget https://​mc.hep.anl.gov/​asc/​hepsim/​events/​pp/​100tev/​ttbar_mg5/​macros/​ttbar_mg5.py #  analysis script
 unzip dmelt.zip unzip dmelt.zip
 ./​dmelt/​dmelt_batch.sh ttbar_mg5.py ./​dmelt/​dmelt_batch.sh ttbar_mg5.py
Line 85: Line 85:
  
 <code bash> <code bash>
-wget http://​mc.hep.anl.gov/​asc/​hepsim/​events/​pp/​100tev/​ttbar_mg5/​macros/​ttbar_mg5.py # get analysis scrip                             +wget https://​mc.hep.anl.gov/​asc/​hepsim/​events/​pp/​100tev/​ttbar_mg5/​macros/​ttbar_mg5.py # get analysis scrip                             
-hs-get ​http://​mc.hep.anl.gov/​asc/​hepsim/​events/​pp/​100tev/​ttbar_mg5 ttbar_mg5 ​+hs-get ​https://​mc.hep.anl.gov/​asc/​hepsim/​events/​pp/​100tev/​ttbar_mg5 ttbar_mg5 ​
 ./​dmelt/​dmelt_batch.sh ttbar_mg5.py ttbar_mg5 10000 ./​dmelt/​dmelt_batch.sh ttbar_mg5.py ttbar_mg5 10000
 </​code>​ </​code>​
  
-Similarly, ​ you can use  [[http://​atlaswww.hep.anl.gov/​asc/​jas4pp | Jas4pp]].+Similarly, ​ you can use  [[https://​atlaswww.hep.anl.gov/​asc/​jas4pp | Jas4pp]].
  
 ====== ​ Running in a GUI mode ====== ​ ====== ​ Running in a GUI mode ====== ​
Line 142: Line 142:
 First, download any ProMC file, i.e. First, download any ProMC file, i.e.
 <code bash> <code bash>
-wget http://​mc.hep.anl.gov/​asc/​hepsim/​events/​pp/​100tev/​qcd_pythia8/​pythia100qcd_001.promc+wget https://​mc.hep.anl.gov/​asc/​hepsim/​events/​pp/​100tev/​qcd_pythia8/​pythia100qcd_001.promc
 </​code>​ </​code>​
  
Line 215: Line 215:
  
 <code bash> <code bash>
-hs-view ​http://​mc.hep.anl.gov/​asc/​hepsim/​events/​pp/​100tev/​gamma_mcfm/​gamma100tev_0000000.promc+hs-view ​https://​mc.hep.anl.gov/​asc/​hepsim/​events/​pp/​100tev/​gamma_mcfm/​gamma100tev_0000000.promc
 </​code>​ </​code>​
  
 or: or:
 <code bash> <code bash>
-wget http://​mc.hep.anl.gov/​asc/​hepsim/​events/​pp/​100tev/​gamma_mcfm/​gamma100tev_0000000.promc+wget https://​mc.hep.anl.gov/​asc/​hepsim/​events/​pp/​100tev/​gamma_mcfm/​gamma100tev_0000000.promc
 hs-view gamma100tev_0000000.promc hs-view gamma100tev_0000000.promc
 </​code>​ </​code>​
Line 236: Line 236:
 You can also open a script as: You can also open a script as:
 <code bash> <code bash>
-wget http://​mc.hep.anl.gov/​asc/​hepsim/​events/​pp/​8tev/​gamma_jetphox.py+wget https://​mc.hep.anl.gov/​asc/​hepsim/​events/​pp/​8tev/​gamma_jetphox.py
 ./dmelt.sh gamma_jetphox.py ./dmelt.sh gamma_jetphox.py
 </​code>​ </​code>​
Line 250: Line 250:
 <code bash> <code bash>
 mkdir Higgs; cd Higgs; mkdir Higgs; cd Higgs;
-wget http://​mc.hep.anl.gov/​asc/​hepsim/​events/​pp/​100tev/​higgsjet_gamgam_mcfm/​macros/​higgsjet_gamgam_mcfm.py+wget https://​mc.hep.anl.gov/​asc/​hepsim/​events/​pp/​100tev/​higgsjet_gamgam_mcfm/​macros/​higgsjet_gamgam_mcfm.py
 wget -O dmelt.zip http://​sourceforge.net/​projects/​dmelt/​files/​latest/​download wget -O dmelt.zip http://​sourceforge.net/​projects/​dmelt/​files/​latest/​download
 unzip dmelt.zip unzip dmelt.zip
Line 289: Line 289:
  
 <code bash> <code bash>
-wget http://​mc.hep.anl.gov/​asc/​hepsim/​events/​pp/​8tev/​gamma_jetphox/​ggd_mu1_45_2000_run0_atlas50.promc+wget https://​mc.hep.anl.gov/​asc/​hepsim/​events/​pp/​8tev/​gamma_jetphox/​ggd_mu1_45_2000_run0_atlas50.promc
 promc_proto ggd_mu1_45_2000_run0_atlas50.promc promc_proto ggd_mu1_45_2000_run0_atlas50.promc
 promc_code promc_code
Line 296: Line 296:
  
 This creates directories with the C++/​CPython/​Java analysis codes. ​ This creates directories with the C++/​CPython/​Java analysis codes. ​
-For a longer description,​ read the [[http://​atlaswww.hep.anl.gov/​asc/​promc/​ | ProMC manual]].+For a longer description,​ read the [[https://​atlaswww.hep.anl.gov/​asc/​promc/​ | ProMC manual]].
  
 For C++/ROOT, you can use {{:​hepsim:​promc_root_example.tgz| this C++/ROOT example package}}. For C++/ROOT, you can use {{:​hepsim:​promc_root_example.tgz| this C++/ROOT example package}}.
Line 304: Line 304:
 Use this Doxygen description to work with C++: Use this Doxygen description to work with C++:
  
-      * [[http://​atlaswww.hep.anl.gov/​asc/​promc/​doc/​cpp_promc/​html/​annotated.html | annotated classes]] - for complete MC event records +      * [[https://​atlaswww.hep.anl.gov/​asc/​promc/​doc/​cpp_promc/​html/​annotated.html | annotated classes]] - for complete MC event records 
-      * [[http://​atlaswww.hep.anl.gov/​asc/​promc/​doc/​cpp_pronlo/​html/​annotated.html | annotated classes]] - for NLO event records+      * [[https://​atlaswww.hep.anl.gov/​asc/​promc/​doc/​cpp_pronlo/​html/​annotated.html | annotated classes]] - for NLO event records
   ​   ​
  
Line 315: Line 315:
  
 <code bash> <code bash>
-    wget http://​atlaswww.hep.anl.gov/​asc/​hepsim/​soft/​hepsim-cpp.tgz -O - | tar -xz;+    wget https://​atlaswww.hep.anl.gov/​asc/​hepsim/​soft/​hepsim-cpp.tgz -O - | tar -xz;
     cd hepsim-cpp/;​     cd hepsim-cpp/;​
     make     make
Line 345: Line 345:
 <​hidden>​ <​hidden>​
 <code bash> <code bash>
-wget http://​atlaswww.hep.anl.gov/​asc/​promc/​download/​current.php -O ProMC.tgz+wget https://​atlaswww.hep.anl.gov/​asc/​promc/​download/​current.php -O ProMC.tgz
 tar -zvxf ProMC.tgz tar -zvxf ProMC.tgz
 cd examples/​promc2lcio cd examples/​promc2lcio
hepsim/usage_truth.txt · Last modified: 2020/05/21 21:48 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