14 using namespace lcio ;
22 int main(
int argc,
char** argv ){
26 cout <<
" dump events in parallel from different input files" <<
endl <<
endl;
27 cout <<
" usage: lcio_parallel_read <input-file1> [[input-file2],...]" <<
endl ;
35 for(
int i=1 ; i <= nFiles ; i++) {
42 for(
unsigned int i=0 ; i < inputFiles.
size() ; i++) {
49 LCReader*
lcReader = factory.createLCReader() ;
50 lcReader->open( fileName ) ;
55 while ( (lcEvent = lcReader->readNextEvent()) ) {
68 int totalNEvents = 0 ;
70 for(
unsigned int i=0 ; i<futures.
size() ; i++ ) {
71 totalNEvents += futures.
at(i).get() ;
int main(int argc, char **argv)
Simple program that opens existing LCIO files and appends the records needed for direct access - if t...
The main event interface.
static std::vector< std::string > FILEN
void dumpEvent(EVENT::LCEvent *event)