{
  // macro reads in input file and outputs it's contents into another
  // file from within a maker.
  


  LegsRun* theRun = new LegsRun("ru",1);  // initializes run, opens 1 file with prefix "ru".  
  theRun->SetSkipMultipleTagHitsEvents(kTRUE);
  theRun->SetLoopOverMultipleTagHits(kFALSE);
  theRun->SetDefaultPart(1);

  LegsMakerSample2 maker2; // create maker
  
  
  // do some work here
  // at the end call:
  
  theRun->RunEnd(); // invoke RunEnd() functions of all declared makers available to theRun
}

// input file and output files are specified inside LegsMakerSample2
// see if output file shows up and contains correct output (same as in input file here).


ROOT page - Home page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.