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
Last revision Both sides next revision
asc:promc:introduction [2015/03/20 01:19]
asc
asc:promc:introduction [2017/03/22 11:28]
asc [Available conversions]
Line 82: Line 82:
  
 {{:asc:promc:sizereduction.png?500|}} {{:asc:promc:sizereduction.png?500|}}
- 
- 
- 
- 
- 
- 
- 
- 
- 
  
  
Line 165: Line 156:
 |   hepmc2promc <HEPMC input>  <ProMC output> "description"               | converts HepMC file to 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 | |   promc2hepmc <ProMC input>  <HepMC output>                | converts ProMC file to HEPMC file |
 +|   promc2hepevt <ProMC input>  <HepEVT output>                | converts ProMC file to HEPEVT file |
 +|   promc2stdhep <ProMC input>  <StdHep output>                | converts ProMC file to StdHep file |
 +|   promc2lcio <ProMC input>  <LCIO output>                    | converts ProMC file to LCIO file |
 +|   promc2root <ProMC input>  <ROOT output>                    | converts ProMC file to a ROOT tree  |
 |   stdhep2promc <StdHEP input>  <ProMC output>                | converts StdHEP file to ProMC file | |   stdhep2promc <StdHEP input>  <ProMC output>                | converts StdHEP file to ProMC file |
 +|   txt2promc <input TXT>  <ProMC output>                | converts a text file with MC records  to ProMC file |
 +|   lhe2promc <input LHE>  <ProMC output>                | converts a text LHE file with MC records  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 239:
 |   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 476:
 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 483:
   * [[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 526:
   * 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 656:
 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.txt · Last modified: 2017/03/22 11:29 by asc