LCIO  02.17
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions | Variables
simjob.cc File Reference
#include "lcio.h"
#include "IO/LCWriter.h"
#include "EVENT/LCIO.h"
#include "DATA/LCFloatVec.h"
#include "DATA/LCIntVec.h"
#include "IMPL/LCEventImpl.h"
#include "IMPL/LCRunHeaderImpl.h"
#include "IMPL/LCCollectionVec.h"
#include "IMPL/SimCalorimeterHitImpl.h"
#include "IMPL/SimTrackerHitImpl.h"
#include "IMPL/MCParticleImpl.h"
#include "IMPL/LCTOOLS.h"
#include "IMPL/TrackerRawDataImpl.h"
#include "IMPL/TrackerDataImpl.h"
#include "IMPL/TrackerPulseImpl.h"
#include "UTIL/LCRelationNavigator.h"
#include "UTIL/LCTime.h"
#include "UTIL/CellIDEncoder.h"
#include "UTIL/LCTypedVector.h"
#include "UTIL/LCSplitWriter.h"
#include "UTIL/BitSet32.h"
#include <cstdlib>
#include <iostream>
#include <sstream>
+ Include dependency graph for simjob.cc:

Go to the source code of this file.

Macros

#define WRITE_TRACKERRAWDATA   1
 
#define WRITE_VTXRAWHITS   1
 

Functions

int main (int argc, char **argv)
 Simple test program to demonstrate writing of data with lcio. More...
 

Variables

static const int NRUN = 10
 
static const int NEVENT = 10
 
static const int NMCPART = 10
 
static const int NHITS = 50
 
static string FILEN = "simjob.slcio"
 

Macro Definition Documentation

#define WRITE_TRACKERRAWDATA   1
#define WRITE_VTXRAWHITS   1

Function Documentation

int main ( int  argc,
char **  argv 
)

Simple test program to demonstrate writing of data with lcio.

Definition at line 53 of file simjob.cc.

References dumpEvent(), std::endl(), FILEN, UTIL::make_bitset32(), NEVENT, NHITS, NMCPART, NRUN, std::string::push_back(), std::vector< T >::push_back(), std::rand(), runHdr, and std::stringstream::str().

Variable Documentation

string FILEN = "simjob.slcio"
static

Definition at line 45 of file simjob.cc.

Referenced by main().

const int NEVENT = 10
static

Definition at line 41 of file simjob.cc.

Referenced by main().

const int NHITS = 50
static

Definition at line 43 of file simjob.cc.

Referenced by main().

const int NMCPART = 10
static

Definition at line 42 of file simjob.cc.

Referenced by main().

const int NRUN = 10
static

Definition at line 40 of file simjob.cc.

Referenced by main().