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 01:00]
hepsim17 [Using C++/ROOT with LCIO]
hepsim:usage_full [2017/04/04 15:37]
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>+<hidden Click here to show the code example>
 <code cpp> <code cpp>
 string input="data.slcio"; string input="data.slcio";
Line 128: Line 128:
            cout << "  Run : " << evt->getRunNumber() << " Detector: "      << evt->getDetectorName() <<  endl ;            cout << "  Run : " << evt->getRunNumber() << " Detector: "      << evt->getDetectorName() <<  endl ;
            // print stored EVGEN parameters            // print stored EVGEN parameters
 +           const LCParameters& params=evt->getParameters();
            StringVec floatKeys ;            StringVec floatKeys ;
            int nFloatParameters = params.getFloatKeys( floatKeys ).size() ;            int nFloatParameters = params.getFloatKeys( floatKeys ).size() ;