LCIO  02.17
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
lcio_parallel_read.cc File Reference
#include "lcio.h"
#include "IO/LCReader.h"
#include "UTIL/LCTOOLS.h"
#include "IMPL/LCEventImpl.h"
#include <cstdlib>
#include <mutex>
#include <future>
+ Include dependency graph for lcio_parallel_read.cc:

Go to the source code of this file.

Functions

void dumpEvent (EVENT::LCEvent *event)
 
int main (int argc, char **argv)
 Small utility to dump events in parallel from different files. More...
 

Variables

static std::vector< std::stringFILEN
 

Function Documentation

void dumpEvent ( EVENT::LCEvent event)
int main ( int  argc,
char **  argv 
)

Small utility to dump events in parallel from different files.

Definition at line 22 of file lcio_parallel_read.cc.

References std::async(), std::vector< T >::at(), dumpEvent(), std::endl(), std::exit(), lcReader, std::lock(), printMutex, std::vector< T >::push_back(), and std::vector< T >::size().

Variable Documentation

std::vector<std::string> FILEN
static

Definition at line 11 of file lcio_parallel_read.cc.