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

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 Example for an analysis job. More...
 

Variables

static std::vector< std::stringFILEN
 

Function Documentation

int main ( int  argc,
char **  argv 
)

Example for an analysis job.

No concrete implementations are needed for reading the data - just the EVENT interfaces. In a first loop we read the run information and then reopen the file(s) for event loop. See LCTOOLS::dumpEvent(const LCEvent* evt) ) for details on how to access the data in the LCEvent.

Definition at line 23 of file anajob.cc.

References dumpEvent(), std::endl(), std::exit(), std::getenv(), lcReader, std::vector< T >::push_back(), and runHdr.

Variable Documentation

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

Definition at line 10 of file anajob.cc.