User Tools

Site Tools


asc:promc:introduction

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
asc:promc:introduction [2015/03/20 01:19]
asc
asc:promc:introduction [2017/03/22 11:29] (current)
asc [Available ProMC commands]
Line 82: Line 82:
  
 {{:asc:promc:sizereduction.png?500|}} {{:asc:promc:sizereduction.png?500|}}
- 
- 
- 
- 
- 
- 
- 
- 
- 
  
  
Line 163: Line 154:
 |   promc_code                       | generates source files using "proto" directory. C++ code is generated in the directory src/, while Java code in the directory java/src | |   promc_code                       | generates source files using "proto" directory. C++ code is generated in the directory src/, while Java code in the directory java/src |
 |   promc_log <file>                 | extracts the log file "logfile.txt" (if attached to the ProMC file) | |   promc_log <file>                 | extracts the log file "logfile.txt" (if attached to the ProMC file) |
-|   hepmc2promc <HEPMC input>  <ProMC output> "description"               | converts HepMC file to ProMC file | 
-|   promc2hepmc <ProMC input>  <HepMC output>                | converts ProMC file to HEPMC file | 
-|   stdhep2promc <StdHEP input>  <ProMC output>                | converts StdHEP file to ProMC file | 
 |   promc_split <ProMC file>  N   | splits a ProMC files into N files in the directory "out" | |   promc_split <ProMC file>  N   | splits a ProMC files into N files in the directory "out" |
  
Line 242: Line 230:
 |   stdhep2promc <StdHEP input>  <ProMC output>                | converts StdHEP file to ProMC file | |   stdhep2promc <StdHEP input>  <ProMC output>                | converts StdHEP file to ProMC file |
 |   promc2root <ProMC input>  <ProMC output>                | converts ProMC file to ROOT | |   promc2root <ProMC input>  <ProMC output>                | converts ProMC file to ROOT |
 +|   promc2stdhep <ProMC input>  <STDHEP output>                | converts ProMC file to STDHEP |
 +|   promc2lcio <ProMC input>  <LCIO output>                | converts ProMC file to LCIO |
 +|   lhe2promc <LHE input>  <ProMC output>                | converts LHEF (TXT) file with MC events to ProMC |
 +|   txt2promc <TXT input>  <ProMC output>                | converts TXT file with MC events to ProMC |
 +| java -cp .:browser_promc.jar hepsim.MixPileup pN signal.promc minbias.promc output.promc | Pileup mixer. Mix N random events using a Poisson distribution with signal events |
  
 Note that the conversion tools (hepmc2promc,promc2hepmc) are build during the installation (see the installation instruction). Note that the conversion tools (hepmc2promc,promc2hepmc) are build during the installation (see the installation instruction).
Line 474: Line 467:
 The Java API of the part which access info inside the ProMC files is [[http://atlaswww.hep.anl.gov/asc/promc/doc/api/index.html| here]]. But you only need a few classes if you use the default data layout shipped with the ProMC. The Java API of the part which access info inside the ProMC files is [[http://atlaswww.hep.anl.gov/asc/promc/doc/api/index.html| here]]. But you only need a few classes if you use the default data layout shipped with the ProMC.
  
 +  * [[http://atlaswww.hep.anl.gov/asc/promc/hepsim/doc/api/ | HepSim API]] for FileMC, FileNLO and browser.
   * [[http://atlaswww.hep.anl.gov/asc/promc/doc/api/promc/io/ProMCDescriptionFile.ProMCDescription.html| ProMCDescription]] - description   * [[http://atlaswww.hep.anl.gov/asc/promc/doc/api/promc/io/ProMCDescriptionFile.ProMCDescription.html| ProMCDescription]] - description
   * [[http://atlaswww.hep.anl.gov/asc/promc/doc/api/promc/io/ProMCHeaderFile.ProMCHeader.html|ProMCHeader]] header information (beginning of file)   * [[http://atlaswww.hep.anl.gov/asc/promc/doc/api/promc/io/ProMCHeaderFile.ProMCHeader.html|ProMCHeader]] header information (beginning of file)
Line 480: Line 474:
   * [[http://atlaswww.hep.anl.gov/asc/promc/doc/api/promc/io/ProMCStatFile.ProMCStat.html| ProMCStat]]  - statistics info (end of file)   * [[http://atlaswww.hep.anl.gov/asc/promc/doc/api/promc/io/ProMCStatFile.ProMCStat.html| ProMCStat]]  - statistics info (end of file)
  
-If you create a different data layout, you can generate Jabva API yourself.+If you create a different data layout, you can generate Java API yourself.
  
  
Line 523: Line 517:
   * Use [[http://root.cern.ch/ | ROOT ]] classes and methods if you read data in C++   * Use [[http://root.cern.ch/ | ROOT ]] classes and methods if you read data in C++
   * Use  [[http://root.cern.ch/ | ROOT ]] classes and methods if you read data in Python. Use PyROOT. You can also use any other visualization  framework in Python, such as [[http://matplotlib.org/|MatPlotLib]]   * Use  [[http://root.cern.ch/ | ROOT ]] classes and methods if you read data in Python. Use PyROOT. You can also use any other visualization  framework in Python, such as [[http://matplotlib.org/|MatPlotLib]]
-  * Use [[http://jwork.org/scavis ScaVis]] classes and methods if you read data using Java +  * Use [[http://jwork.org/dmelt/ |DataMelt]] classes and methods if you read data using Java 
-  * Use [[http://jwork.org/scavis ScaVis]] classes and methods if you read data using [[http://www.jython.org/| Jython]] (Python implemented in Java)+  * Use [[http://jwork.org/dmelt/ |DatMelt]] classes and methods if you read data using [[http://www.jython.org/| Jython]] (Python implemented in Java)
  
  
Line 653: Line 647:
 ProMC is a rewrite of an older package (CBook)  ProMC is a rewrite of an older package (CBook) 
 for the community supported [[http://jwork.org/jhepwork/|jHepWork]]. for the community supported [[http://jwork.org/jhepwork/|jHepWork]].
-Currently, this program has the name [[http://jwork.org/scavis/|SCaVis]].  The current ProMC version is based on HEvent record format [[http://jwork.org/scavis/examplesHEP/|Examples]] and zipious++ library which was first publicly available since  2008.  (S.C.).+Currently, this program has the name [[http://jwork.org/dmelt/|DataMelt]].  The current ProMC version is based on HEvent record format [[http://jwork.org/scavis/examplesHEP/|Examples]] and zipious++ library which was first publicly available since  2008.  (S.C.).
  
  
asc/promc/introduction.1426814398.txt.gz · Last modified: 2015/03/20 01:19 by asc