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
Next revision Both sides next revision
hepsim:usage_full [2017/04/03 00:59]
hepsim17 [Using C++/ROOT with LCIO]
hepsim:usage_full [2017/04/03 01:00]
hepsim17 [Using C++/ROOT with LCIO]
Line 117: Line 117:
 Your program to read SLCIO files can look as this: Your program to read SLCIO files can look as this:
  
 +<hidden Click here to show the code example>
 <code cpp> <code cpp>
 string input="data.slcio"; string input="data.slcio";
Line 126: Line 127:
       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 ;
-       
-       
-       
-       
-       
            // print stored EVGEN parameters            // print stored EVGEN parameters
            StringVec floatKeys ;            StringVec floatKeys ;
Line 167: Line 163:
   lcReader->close() ;   lcReader->close() ;
 </code> </code>
 +</hidden>
  
 This code example shows how to print float parameters from the EVGEN level (copied from the input ProMC). This code example shows how to print float parameters from the EVGEN level (copied from the input ProMC).