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
fcs:eic:intro [2017/04/03 00:53]
hepsim17 [Using C++]
fcs:eic:intro [2017/04/04 15:36] (current)
hepsim17 [Using C++]
Line 206: Line 206:
       if (nEvents==0) UTIL::LCTOOLS::dumpEvent( evt ) ;       if (nEvents==0) UTIL::LCTOOLS::dumpEvent( evt ) ;
            cout << "  Run : " << evt->getRunNumber() << " Detector: "      << evt->getDetectorName() <<  endl ;            cout << "  Run : " << evt->getRunNumber() << " Detector: "      << evt->getDetectorName() <<  endl ;
 +           
 +           const LCParameters& params=evt->getParameters();
            // print stored EVGEN parameters            // print stored EVGEN parameters
            StringVec floatKeys ;            StringVec floatKeys ;
Line 275: Line 277:
  
 Note that SLCIO files have two records representing truth level MC: MCParticle and MCInfo. MCInfo includes information on generated events. Note that SLCIO files have two records representing truth level MC: MCParticle and MCInfo. MCInfo includes information on generated events.
 +See the example how this record was created in [[https://github.com/Argonne-National-Laboratory/ProMC/blob/master/examples/promc2lcio/promc2lcio.java|promc2lcio.java]]
  
  --- //[[[email protected]|Sergei Chekanov]] 2016/09/19 07:06//  --- //[[[email protected]|Sergei Chekanov]] 2016/09/19 07:06//