LCIO  02.17
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions | Variables
addRandomAccess.cc File Reference
#include "lcio.h"
#include "IO/LCWriter.h"
#include <iostream>
#include <sstream>
#include <cstdio>
#include <cstdlib>
#include <cstring>
+ Include dependency graph for addRandomAccess.cc:

Go to the source code of this file.

Macros

#define LCSIO_RANDOMACCESS_SIZE   112
 

Functions

int main (int argc, char **argv)
 Simple program that opens existing LCIO files and appends the records needed for direct access - if they don't exist. More...
 

Variables

static std::vector< std::stringFILEN
 

Macro Definition Documentation

#define LCSIO_RANDOMACCESS_SIZE   112

Definition at line 6 of file addRandomAccess.cc.

Referenced by main().

Function Documentation

int main ( int  argc,
char **  argv 
)

Simple program that opens existing LCIO files and appends the records needed for direct access - if they don't exist.

Definition at line 22 of file addRandomAccess.cc.

References std::string::c_str(), std::endl(), FILEN, LCSIO_RANDOMACCESS_SIZE, std::vector< T >::push_back(), and std::string::resize().

Variable Documentation

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

Definition at line 16 of file addRandomAccess.cc.

Referenced by main().